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.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") [: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.305/1.305, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009697/0.0009697, allocations: 185.2 kB / 361.1 MB, free: 7.086 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.9818/0.9818, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007631/0.0007631, allocations: 93.17 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.341e-06/5.44e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3943, allocations: 115.3 MB / 0.9637 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.659/3.054, allocations: 2.13 GB / 3.093 GB, free: 3.578 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/3.054, allocations: 108.8 kB / 3.093 GB, free: 3.473 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.5674/3.621, allocations: 150.6 MB / 3.24 GB, free: 246 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001745/3.622, allocations: 91.92 kB / 3.24 GB, free: 245.9 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.004532/3.626, allocations: 3.122 MB / 3.243 GB, free: 242.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/3.626, allocations: 8.031 kB / 3.243 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/3.63, allocations: 0.7954 MB / 3.244 GB, free: 241.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/3.633, allocations: 2.293 MB / 3.246 GB, free: 239.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/3.633, allocations: 104 kB / 3.247 GB, free: 239.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/3.634, allocations: 176 kB / 3.247 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004365/3.638, allocations: 3.612 MB / 3.25 GB, free: 235.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004844/3.643, allocations: 3.998 MB / 3.254 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/3.643, allocations: 3.984 kB / 3.254 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002679/3.643, allocations: 11.91 kB / 3.254 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/3.643, allocations: 178 kB / 3.254 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/3.658, allocations: 19.14 MB / 3.273 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/3.66, allocations: 1.684 MB / 3.275 GB, free: 209 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/3.662, allocations: 1.173 MB / 3.276 GB, free: 207.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/3.662, allocations: 138.3 kB / 3.276 GB, free: 207.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/3.663, allocations: 1.071 MB / 3.277 GB, free: 206.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 3.446e-06/3.663, allocations: 0 / 3.277 GB, free: 206.5 MB / 0.948 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!