Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.293/1.293, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008525/0.0008524, allocations: 181.3 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9975/0.9975, allocations: 205.1 MB / 0.6195 GB, free: 10.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007829/0.0007829, allocations: 101.1 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1693/0.1701, allocations: 121.4 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.5583, allocations: 115.3 MB / 0.9638 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.629/3.188, allocations: 2.131 GB / 3.095 GB, free: 2.207 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/3.188, allocations: 110 kB / 3.095 GB, free: 2.102 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.5483/3.736, allocations: 143.2 MB / 3.235 GB, free: 252.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/3.736, allocations: 8 kB / 3.235 GB, free: 252.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/3.741, allocations: 0.7955 MB / 3.236 GB, free: 251.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003513/3.744, allocations: 2.138 MB / 3.238 GB, free: 249.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.265e-05/3.744, allocations: 100 kB / 3.238 GB, free: 249 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/3.745, allocations: 176 kB / 3.238 GB, free: 248.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004651/3.749, allocations: 3.569 MB / 3.241 GB, free: 245.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005148/3.754, allocations: 3.932 MB / 3.245 GB, free: 241.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.157e-05/3.754, allocations: 7.906 kB / 3.245 GB, free: 241.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/3.755, allocations: 4 kB / 3.245 GB, free: 241.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/3.755, allocations: 177.9 kB / 3.245 GB, free: 241 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/3.77, allocations: 17.86 MB / 3.263 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/3.772, allocations: 1.633 MB / 3.265 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008759/3.773, allocations: 0.9258 MB / 3.265 GB, free: 219.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/3.773, allocations: 126.3 kB / 3.266 GB, free: 219 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/3.774, allocations: 1.042 MB / 3.267 GB, free: 217.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 4.328e-06/3.774, allocations: 3.984 kB / 3.267 GB, free: 217.9 MB / 0.948 GB Error: Internal error It is not possible to select continues time states because Number of Equations 33 greater than number of States 32 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! Error: Internal error SimCode: The model Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N could not be translated to FMU