I understand that replaceable classes currently do not work in OMEdit, as captured in issue #2079 on their trac.
What I don't understand and can't seem to find an answer for is, does this issue lie with OMEdit, or the underlying OM Compiler?
I have tried to run the sample model Modelica.Fluid.Examples.PumpingSystem from command line. I received the following error:messages = "Failed to build model: PumpingSystem"
Code used to run in command line:
myscript.mos:
loadModel(Modelica);
loadFile("PumpingSystem.mo");
simulate(PumpingSystem);
command line:
%OPENMODELICAHOME%\bin\omc myscript.mos
As a secondary, are there any open source modelica compilers that support replaceable classes, or do I need to use Dymola?