Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,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_latest_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 10.0.0-master/package.mo): time 1.695/1.695, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0009031/0.0009032, allocations: 175.9 kB / 490.8 MB, free: 1.887 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.066/1.066, allocations: 221.4 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007896/0.0007896, allocations: 91.48 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.562e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1649, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.289/2.454, allocations: 1.791 GB / 3.003 GB, free: 56.45 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/2.455, allocations: 109.9 kB / 3.003 GB, free: 56.39 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.604/3.059, allocations: 154.5 MB / 3.154 GB, free: 324.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001929/3.059, allocations: 84.41 kB / 3.154 GB, free: 324.6 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: 812 * Number of variables: 812 Notification: Performance of Generate backend data structure: time 0.004525/3.063, allocations: 3.086 MB / 3.157 GB, free: 322.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/3.063, allocations: 13.91 kB / 3.157 GB, free: 322.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/3.067, allocations: 0.7973 MB / 3.158 GB, free: 322.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/3.07, allocations: 2.142 MB / 3.16 GB, free: 321.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.163e-05/3.07, allocations: 98.59 kB / 3.16 GB, free: 321.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/3.071, allocations: 173.9 kB / 3.16 GB, free: 321.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004908/3.076, allocations: 3.575 MB / 3.164 GB, free: 321.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005563/3.081, allocations: 3.939 MB / 3.167 GB, free: 320 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.595e-05/3.081, allocations: 6.438 kB / 3.167 GB, free: 320 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/3.082, allocations: 4.688 kB / 3.167 GB, free: 320 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/3.082, allocations: 180.8 kB / 3.168 GB, free: 320 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/3.097, allocations: 17.89 MB / 3.185 GB, free: 304.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/3.098, allocations: 1.636 MB / 3.187 GB, free: 303.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008545/3.099, allocations: 0.9222 MB / 3.188 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/3.099, allocations: 132.5 kB / 3.188 GB, free: 302.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009926/3.1, allocations: 1.04 MB / 3.189 GB, free: 301.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=147): time 3.096e-06/3.1, allocations: 0 / 3.189 GB, free: 301.5 MB / 1.151 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!