Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") [: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.1.4-maint.8.1.x/package.mo): time 1.333/1.333, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.00096/0.00096, allocations: 173.3 kB / 366.3 MB, free: 1.961 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.983/0.983, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0007946/0.0007946, allocations: 80.69 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.681e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3796, allocations: 116.3 MB / 0.9726 GB, free: 67.98 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.924/3.304, allocations: 2.132 GB / 3.105 GB, free: 325.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/3.304, allocations: 111.5 kB / 3.105 GB, free: 325.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.2784/3.582, allocations: 145.9 MB / 3.247 GB, free: 178.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001853/3.583, allocations: 83.92 kB / 3.247 GB, free: 178.5 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.005254/3.588, allocations: 3.044 MB / 3.25 GB, free: 175.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/3.588, allocations: 8.031 kB / 3.25 GB, free: 175.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/3.592, allocations: 0.7994 MB / 3.251 GB, free: 174.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/3.595, allocations: 2.134 MB / 3.253 GB, free: 172.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/3.595, allocations: 99.98 kB / 3.253 GB, free: 172.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/3.596, allocations: 172 kB / 3.254 GB, free: 172.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004324/3.6, allocations: 3.569 MB / 3.257 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004629/3.605, allocations: 3.932 MB / 3.261 GB, free: 164.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.023e-05/3.605, allocations: 3.906 kB / 3.261 GB, free: 164.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/3.605, allocations: 4 kB / 3.261 GB, free: 164.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/3.605, allocations: 173.9 kB / 3.261 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/3.619, allocations: 17.87 MB / 3.278 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/3.621, allocations: 1.636 MB / 3.28 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008751/3.622, allocations: 0.9219 MB / 3.281 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/3.622, allocations: 126.4 kB / 3.281 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/3.623, allocations: 1.05 MB / 3.282 GB, free: 141.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 3.487e-06/3.623, allocations: 0 / 3.282 GB, free: 141.2 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!