Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.306/2.306, allocations: 253.1 MB / 260.4 MB, free: 0.5195 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 177.9 kB / 319.6 MB, free: 7.633 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 0.5704 GB, free: 25.61 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001366/0.001365, allocations: 89.64 kB / 0.6746 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/9.047e-06, allocations: 0 / 0.7843 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5566, allocations: 106.2 MB / 0.8881 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.782/6.338, allocations: 2.247 GB / 3.135 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004001/6.339, allocations: 107.2 kB / 3.136 GB, free: 213 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.6611/7, allocations: 150.5 MB / 3.283 GB, free: 73.44 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003849/7, allocations: 91.92 kB / 3.283 GB, free: 73.35 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.01084/7.011, allocations: 3.122 MB / 3.286 GB, free: 70.17 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/7.011, allocations: 11.97 kB / 3.286 GB, free: 70.16 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007589/7.019, allocations: 0.7954 MB / 3.287 GB, free: 69.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007324/7.026, allocations: 2.285 MB / 3.289 GB, free: 67.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/7.026, allocations: 96 kB / 3.289 GB, free: 66.93 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/7.027, allocations: 176 kB / 3.289 GB, free: 66.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0109/7.038, allocations: 3.616 MB / 3.293 GB, free: 63.13 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/7.051, allocations: 3.998 MB / 3.296 GB, free: 58.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/7.051, allocations: 8 kB / 3.296 GB, free: 58.97 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006618/7.052, allocations: 8 kB / 3.296 GB, free: 58.96 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003324/7.052, allocations: 185.9 kB / 3.297 GB, free: 58.78 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04137/7.094, allocations: 19.15 MB / 3.315 GB, free: 38.08 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/7.098, allocations: 1.692 MB / 3.317 GB, free: 36.39 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/7.101, allocations: 1.176 MB / 3.318 GB, free: 35.21 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/7.102, allocations: 134.3 kB / 3.318 GB, free: 35.06 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002379/7.104, allocations: 1.059 MB / 3.319 GB, free: 33.96 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=150): time 4.318e-06/7.104, allocations: 0 / 3.319 GB, free: 33.96 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!