Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.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) Ignoring simflag -noemit -lv=LOG_INIT_HOMOTOPY since it seems broken on HelloWorld Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithReferenceCalculationSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithReferenceCalculationSat",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.001117/0.001117, allocations: 183.3 kB / 7.464 MB, free: 472 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.2 MB / 213.1 MB, free: 2.137 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008922/0.000892, allocations: 96.31 kB / 261.1 MB, free: 1.387 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05887/0.05887, allocations: 14.04 MB / 323 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2857/0.3446, allocations: 58.74 MB / 381.8 MB, free: 88.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.461, allocations: 51.12 MB / 432.9 MB, free: 43.48 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.8492, allocations: 102.2 MB / 0.5225 GB, free: 18.64 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004773/0.8498, allocations: 89.97 kB / 0.5226 GB, free: 18.64 MB / 350.1 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$GEN$port. Error: Error occurred while flattening model PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat Error: Internal error SimCode: The model PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat could not be translated to FMU