Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicTwoPhaseFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicTwoPhaseFlowPipe,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_HeatExchanger_TestDynamicTwoPhaseFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicTwoPhaseFlowPipe,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_HeatExchanger_TestDynamicTwoPhaseFlowPipe",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7021/0.7021, allocations: 149.6 MB / 156.9 MB, free: 10.66 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09475/0.7969, allocations: 35.93 MB / 192.8 MB, free: 1.598 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04816/0.8451, allocations: 31.99 MB / 224.8 MB, free: 1.75 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Units.mo:6:5-6:35:writable] Error: Base class Modelica.Icons.Package not found in scope ThermoSysPro.Units.SI. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Units.mo:2:1-1196:10:writable] Error: Class SI.Length not found in scope ThermoSysPro.Units. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:3:3-3:48:writable] Error: Class Units.SI.Length not found in scope ThermoSysPro.WaterSteam.HeatExchangers.DynamicTwoPhaseFlowPipe. Error: Error occurred while flattening model ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicTwoPhaseFlowPipe Error: Internal error SimCode: The model ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicTwoPhaseFlowPipe could not be translated to FMU