Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.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/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-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(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ",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.004468/0.004468, allocations: 178.3 kB / 7.454 MB, free: 1.93 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.664/1.664, allocations: 205.2 MB / 213 MB, free: 5.141 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 97.7 kB / 261.1 MB, free: 5.18 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05488/0.05489, allocations: 14.02 MB / 323 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1402/0.1951, allocations: 57.25 MB / 380.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.5383, allocations: 51.09 MB / 431.4 MB, free: 46.2 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.6491, allocations: 82.82 MB / 0.5021 GB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.6495, allocations: 79.95 kB / 0.5022 GB, free: 1.984 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/Electrical/BaseClasses/PortAC.mo:49:3-50:32:writable] Error: Variable S.re not found in scope PowerGrids.Electrical.BaseClasses.PortAC$load1$port. Error: Error occurred while flattening model PowerGrids.Electrical.Test.LoadImpedancePQ Error: Internal error SimCode: The model PowerGrids.Electrical.Test.LoadImpedancePQ could not be translated to FMU