Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.Simulators.SteamPlant_Sim1_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.PowerPlants.Simulators.SteamPlant_Sim1_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.Simulators.SteamPlant_Sim1_dp") translateModel(ThermoPower.PowerPlants.Simulators.SteamPlant_Sim1_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.Simulators.SteamPlant_Sim1_dp") [: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/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 190.3 kB / 8.139 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.111/1.111, allocations: 205.2 MB / 213.7 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008655/0.0008654, allocations: 98.12 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3283/0.3283, allocations: 48.75 MB / 358.4 MB, free: 53.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.561e-06/5.591e-06, allocations: 0 / 424.7 MB, free: 8.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 60.25 MB / 485 MB, free: 11.76 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo:496:5-496:66:writable] Error: Base class ThermoPower.Electrical.Network1portBase not found in scope ThermoPower.Electrical.NetworkGrid_Pmax. Error: Error occurred while flattening model ThermoPower.PowerPlants.Simulators.SteamPlant_Sim1_dp