Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.316/1.316, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.0009615/0.0009616, allocations: 188 kB / 366.3 MB, free: 1.934 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0007919/0.0007919, allocations: 92.05 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.002e-06/6.112e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4053, allocations: 116.3 MB / 0.9726 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.008/3.413, allocations: 2.131 GB / 3.103 GB, free: 332.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/3.413, allocations: 116.2 kB / 3.103 GB, free: 332.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.2998/3.713, allocations: 155.8 MB / 3.255 GB, free: 175.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001808/3.713, allocations: 87.92 kB / 3.255 GB, free: 175.1 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.004804/3.718, allocations: 3.126 MB / 3.258 GB, free: 171.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/3.718, allocations: 8.031 kB / 3.259 GB, free: 171.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00404/3.722, allocations: 0.7954 MB / 3.259 GB, free: 171.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/3.726, allocations: 2.293 MB / 3.262 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/3.726, allocations: 100 kB / 3.262 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/3.727, allocations: 176 kB / 3.262 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004886/3.731, allocations: 3.612 MB / 3.265 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005001/3.736, allocations: 3.998 MB / 3.269 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.416e-05/3.737, allocations: 11.84 kB / 3.269 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002651/3.737, allocations: 4 kB / 3.269 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/3.737, allocations: 182 kB / 3.269 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/3.754, allocations: 19.16 MB / 3.288 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/3.755, allocations: 1.688 MB / 3.29 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/3.757, allocations: 1.173 MB / 3.291 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/3.757, allocations: 126.3 kB / 3.291 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/3.758, allocations: 1.063 MB / 3.292 GB, free: 135.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 3.267e-06/3.758, allocations: 3.938 kB / 3.292 GB, free: 135.7 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!