Running: ./testmodel.py --libraries=/home/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 (/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",fmuType="me",version="2.0",platforms={"static"}) [: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.1/package.mo): time 2.4/2.4, allocations: 248.6 MB / 255.9 MB, free: 7.07 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.001602/0.001602, allocations: 186.7 kB / 315.1 MB, free: 4.254 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.995/1.995, allocations: 205.1 MB / 0.5658 GB, free: 296 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 91.33 kB / 0.67 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5132/0.5145, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.7423, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.905/6.648, allocations: 2.25 GB / 3.134 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/6.648, allocations: 103 kB / 3.134 GB, free: 117.5 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 1.111/7.759, allocations: 143.2 MB / 3.273 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/7.759, allocations: 11.75 kB / 3.273 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008531/7.767, allocations: 0.7975 MB / 3.274 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007704/7.775, allocations: 2.141 MB / 3.276 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/7.775, allocations: 96.94 kB / 3.276 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/7.777, allocations: 177.3 kB / 3.277 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01177/7.789, allocations: 3.572 MB / 3.28 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01645/7.805, allocations: 3.924 MB / 3.284 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/7.805, allocations: 14.72 kB / 3.284 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/7.806, allocations: 3.312 kB / 3.284 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00023/7.807, allocations: 175 kB / 3.284 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04784/7.854, allocations: 17.85 MB / 3.302 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004518/7.859, allocations: 1.632 MB / 3.303 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002995/7.862, allocations: 0.9156 MB / 3.304 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/7.863, allocations: 133.5 kB / 3.304 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002878/7.866, allocations: 1.036 MB / 3.305 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=147): time 8.025e-06/7.866, allocations: 0 / 3.305 GB, free: 221.5 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! Error: Internal error SimCode: The model Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N could not be translated to FMU