Skip to content

Commit 8754c12

Browse files
committed
load Modelica
1 parent 9557d04 commit 8754c12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_FMIExport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ def __del__(self):
1212

1313
def testCauerLowPassAnalog(self):
1414
print("testing Cauer")
15-
mod = OMPython.ModelicaSystem(modelName="Modelica.Electrical.Analog.Examples.CauerLowPassAnalog")
15+
mod = OMPython.ModelicaSystem(modelName="Modelica.Electrical.Analog.Examples.CauerLowPassAnalog", lmodel="Modelica")
1616
self.tmp = mod.getWorkDirectory()
1717

1818
fmu = mod.convertMo2Fmu(fileNamePrefix="CauerLowPassAnalog")
1919
self.assertEqual(True, os.path.exists(fmu))
2020

2121
def testDrumBoiler(self):
2222
print("testing DrumBoiler")
23-
mod = OMPython.ModelicaSystem(modelName="Modelica.Fluid.Examples.DrumBoiler.DrumBoiler")
23+
mod = OMPython.ModelicaSystem(modelName="Modelica.Fluid.Examples.DrumBoiler.DrumBoiler", lmodel="Modelica")
2424
self.tmp = mod.getWorkDirectory()
2525

2626
fmu = mod.convertMo2Fmu(fileNamePrefix="DrumBoiler")

0 commit comments

Comments
 (0)