Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_maint.7.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 7.0.3-maint.7.0.x/package.mo): time 1.267/1.267, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 185.3 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008912/0.0008911, allocations: 70.48 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.492e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.482/3.646, allocations: 2.249 GB / 3.133 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/3.646, allocations: 103.9 kB / 3.133 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.312/3.958, allocations: 150.6 MB / 3.28 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002463/3.959, allocations: 91.92 kB / 3.28 GB, free: 1.172 MB / 0.8698 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.3036/4.262, allocations: 3.114 MB / 3.283 GB, free: 319.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/4.262, allocations: 7.812 kB / 3.283 GB, free: 319.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005039/4.268, allocations: 0.7985 MB / 3.284 GB, free: 318.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004576/4.272, allocations: 2.286 MB / 3.286 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/4.272, allocations: 97.94 kB / 3.287 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004984/4.273, allocations: 183.4 kB / 3.287 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005687/4.278, allocations: 3.61 MB / 3.29 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005783/4.284, allocations: 3.996 MB / 3.294 GB, free: 318.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.087e-05/4.284, allocations: 8.5 kB / 3.294 GB, free: 318.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/4.285, allocations: 9 kB / 3.294 GB, free: 318.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/4.285, allocations: 189.1 kB / 3.294 GB, free: 318.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02127/4.306, allocations: 19.13 MB / 3.313 GB, free: 307.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/4.308, allocations: 1.696 MB / 3.315 GB, free: 307.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/4.31, allocations: 1.174 MB / 3.316 GB, free: 307.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/4.31, allocations: 136 kB / 3.316 GB, free: 307.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/4.311, allocations: 1.056 MB / 3.317 GB, free: 307.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=150): time 3.878e-06/4.311, allocations: 0 / 3.317 GB, free: 307.6 MB / 0.8698 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!