Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_2_M_2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.0.0/package.mo", uses=false) Using package ScalableTestGrids with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.0.0/package.mo) 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(ScalableTestGrids.Models.Type1_N_2_M_2,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type1_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestGrids.Models.Type1_N_2_M_2,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type1_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33: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.001088/0.001088, allocations: 187.5 kB / 8.138 MB, free: 2.188 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.225/1.225, allocations: 205.2 MB / 213.7 MB, free: 13.92 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.0009919/0.0009919, allocations: 86.84 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05793/0.05793, allocations: 14.04 MB / 323.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.0.0/package.mo): time 0.02249/0.02249, allocations: 7.689 MB / 382.9 MB, free: 72.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1316/0.1541, allocations: 61.14 MB / 444 MB, free: 11.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.4506, allocations: 53.14 MB / 497.2 MB, free: 51.26 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.5863, allocations: 106.4 MB / 0.5894 GB, free: 1.422 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5866, allocations: 63.97 kB / 0.5895 GB, free: 1.359 MB / 378.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$BUS_GEN_EHV_1_1$port. Error: Error occurred while flattening model ScalableTestGrids.Models.Type1_N_2_M_2 Error: Internal error SimCode: The model ScalableTestGrids.Models.Type1_N_2_M_2 could not be translated to FMU