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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.312/2.312, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.002358/0.002358, allocations: 192.5 kB / 319.6 MB, free: 3.312 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 1.987/1.987, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001249/0.001249, allocations: 96.02 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.189e-05/1.234e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2365, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.695/5.931, allocations: 2.25 GB / 3.138 GB, free: 112 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/5.932, allocations: 100.8 kB / 3.138 GB, free: 112 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.9545/6.886, allocations: 140 MB / 3.275 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003916/6.887, allocations: 86.34 kB / 3.275 GB, free: 238.1 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.01181/6.899, allocations: 3.042 MB / 3.278 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/6.899, allocations: 10.92 kB / 3.278 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/6.912, allocations: 0.7893 MB / 3.279 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00951/6.922, allocations: 2.139 MB / 3.281 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/6.922, allocations: 102.3 kB / 3.281 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001635/6.924, allocations: 180.4 kB / 3.281 GB, free: 236 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01496/6.939, allocations: 3.569 MB / 3.285 GB, free: 236 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/6.955, allocations: 3.922 MB / 3.288 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001432/6.955, allocations: 8.484 kB / 3.288 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000762/6.956, allocations: 7.031 kB / 3.288 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/6.956, allocations: 176.5 kB / 3.289 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04583/7.002, allocations: 17.86 MB / 3.306 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006889/7.009, allocations: 1.632 MB / 3.308 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003143/7.012, allocations: 0.9159 MB / 3.309 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003454/7.012, allocations: 132.3 kB / 3.309 GB, free: 226 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002331/7.015, allocations: 1.035 MB / 3.31 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=147): time 5.5e-06/7.015, allocations: 3.781 kB / 3.31 GB, free: 225.8 MB / 0.8698 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!