Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.ElectricGeneratorGroup.Tests.Test_Generator_SE.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: "" <> buildModelFMU(ThermoPower.PowerPlants.ElectricGeneratorGroup.Tests.Test_Generator_SE,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_ElectricGeneratorGroup_Tests_Test_Generator_SE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.ElectricGeneratorGroup.Tests.Test_Generator_SE,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_ElectricGeneratorGroup_Tests_Test_Generator_SE",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/Complex 3.2.3+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 184 kB / 8.138 MB, free: 2.223 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.038/1.038, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0008035/0.0008035, allocations: 99.94 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.303/0.303, allocations: 48.75 MB / 358.5 MB, free: 53.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09766/0.4007, allocations: 66.36 MB / 424.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.4961, allocations: 60.26 MB / 485.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.202/4.698, allocations: 2.95 GB / 3.424 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/4.698, allocations: 77.84 kB / 3.424 GB, free: 108.1 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/PowerPlants.mo:17228:11-17228:64:writable] Error: Variable powerConnection.f not found in scope ThermoPower.PowerPlants.ElectricGeneratorGroup.Components.OldElementsSwingEquation.Generator_SE$generator_SE. Error: Error occurred while flattening model ThermoPower.PowerPlants.ElectricGeneratorGroup.Tests.Test_Generator_SE Error: Internal error SimCode: The model ThermoPower.PowerPlants.ElectricGeneratorGroup.Tests.Test_Generator_SE could not be translated to FMU