Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",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 9.1.1-maint.9.1.x/package.mo): time 1.823/1.823, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009683/0.0009684, allocations: 181.3 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008299/0.0008299, allocations: 103.6 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4138/0.4146, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.6138, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.68/3.294, allocations: 1.789 GB / 2.994 GB, free: 67.94 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/3.294, allocations: 115.4 kB / 2.994 GB, free: 67.84 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 823 * Number of variables: 823 Notification: Performance of Generate backend data structure: time 0.7177/4.012, allocations: 168.5 MB / 3.159 GB, free: 357.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/4.012, allocations: 9.688 kB / 3.159 GB, free: 357.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/4.016, allocations: 0.8046 MB / 3.16 GB, free: 357.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/4.02, allocations: 2.283 MB / 3.162 GB, free: 356 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/4.02, allocations: 107.4 kB / 3.162 GB, free: 356 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004899/4.021, allocations: 189.4 kB / 3.162 GB, free: 356 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006494/4.027, allocations: 3.611 MB / 3.166 GB, free: 354.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005835/4.033, allocations: 4.015 MB / 3.17 GB, free: 351 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.497e-05/4.033, allocations: 7.938 kB / 3.17 GB, free: 351 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/4.034, allocations: 7.938 kB / 3.17 GB, free: 351 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/4.034, allocations: 185.9 kB / 3.17 GB, free: 350.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/4.05, allocations: 19.18 MB / 3.189 GB, free: 330.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/4.052, allocations: 1.687 MB / 3.19 GB, free: 328.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/4.053, allocations: 1.182 MB / 3.191 GB, free: 327.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/4.053, allocations: 130.2 kB / 3.191 GB, free: 327.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/4.055, allocations: 1.063 MB / 3.193 GB, free: 326.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=150): time 3.326e-06/4.055, allocations: 0 / 3.193 GB, free: 326.1 MB / 1.151 GB Error: Internal error It is not possible to select continues time states because Number of Equations 35 greater than number of States 34 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! Error: Internal error SimCode: The model Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine could not be translated to FMU