@@ -40,7 +40,7 @@ def model_firstorder(tmp_path, model_firstorder_content):
4040
4141def test_ModelicaSystem_loop (model_firstorder ):
4242 def worker ():
43- mod = OMPython .ModelicaSystem ()
43+ mod = OMPython .ModelicaSystemOMC ()
4444 mod .model (
4545 model_file = model_firstorder ,
4646 model_name = "M" ,
@@ -55,7 +55,7 @@ def test_setParameters():
5555 omc = OMPython .OMCSessionZMQ ()
5656 model_path_str = omc .sendExpression ("getInstallationDirectoryPath()" ) + "/share/doc/omc/testmodels"
5757 model_path = omc .omcpath (model_path_str )
58- mod = OMPython .ModelicaSystem ()
58+ mod = OMPython .ModelicaSystemOMC ()
5959 mod .model (
6060 model_file = model_path / "BouncingBall.mo" ,
6161 model_name = "BouncingBall" ,
@@ -90,7 +90,7 @@ def test_setSimulationOptions():
9090 omc = OMPython .OMCSessionZMQ ()
9191 model_path_str = omc .sendExpression ("getInstallationDirectoryPath()" ) + "/share/doc/omc/testmodels"
9292 model_path = omc .omcpath (model_path_str )
93- mod = OMPython .ModelicaSystem ()
93+ mod = OMPython .ModelicaSystemOMC ()
9494 mod .model (
9595 model_file = model_path / "BouncingBall.mo" ,
9696 model_name = "BouncingBall" ,
@@ -127,7 +127,7 @@ def test_relative_path(model_firstorder):
127127 model_relative = str (model_file )
128128 assert "/" not in model_relative
129129
130- mod = OMPython .ModelicaSystem ()
130+ mod = OMPython .ModelicaSystemOMC ()
131131 mod .model (
132132 model_file = model_relative ,
133133 model_name = "M" ,
@@ -140,7 +140,7 @@ def test_relative_path(model_firstorder):
140140def test_customBuildDirectory (tmp_path , model_firstorder ):
141141 tmpdir = tmp_path / "tmpdir1"
142142 tmpdir .mkdir ()
143- mod = OMPython .ModelicaSystem (work_directory = tmpdir )
143+ mod = OMPython .ModelicaSystemOMC (work_directory = tmpdir )
144144 mod .model (
145145 model_file = model_firstorder ,
146146 model_name = "M" ,
@@ -158,7 +158,7 @@ def test_getSolutions_docker(model_firstorder):
158158 omcp = OMPython .OMCSessionDocker (docker = "openmodelica/openmodelica:v1.25.0-minimal" )
159159 omc = OMPython .OMCSessionZMQ (omc_process = omcp )
160160
161- mod = OMPython .ModelicaSystem (
161+ mod = OMPython .ModelicaSystemOMC (
162162 session = omc .omc_process ,
163163 )
164164 mod .model (
@@ -170,7 +170,7 @@ def test_getSolutions_docker(model_firstorder):
170170
171171
172172def test_getSolutions (model_firstorder ):
173- mod = OMPython .ModelicaSystem ()
173+ mod = OMPython .ModelicaSystemOMC ()
174174 mod .model (
175175 model_file = model_firstorder ,
176176 model_name = "M" ,
@@ -218,7 +218,7 @@ def test_getters(tmp_path):
218218y = der(x);
219219end M_getters;
220220""" )
221- mod = OMPython .ModelicaSystem ()
221+ mod = OMPython .ModelicaSystemOMC ()
222222 mod .model (
223223 model_file = model_file ,
224224 model_name = "M_getters" ,
@@ -427,7 +427,7 @@ def test_simulate_inputs(tmp_path):
427427y = x;
428428end M_input;
429429""" )
430- mod = OMPython .ModelicaSystem ()
430+ mod = OMPython .ModelicaSystemOMC ()
431431 mod .model (
432432 model_file = model_file ,
433433 model_name = "M_input" ,
0 commit comments