Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",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 8.0.0/package.mo): time 2.155/2.155, allocations: 284.8 MB / 292.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001537, allocations: 185.2 kB / 360.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 0.6187 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001247, allocations: 87.91 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2498/0.2511, allocations: 121.4 MB / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.8155, allocations: 115.2 MB / 0.9628 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.666/5.481, allocations: 2.129 GB / 3.092 GB, free: 255.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003687/5.482, allocations: 108.4 kB / 3.092 GB, free: 255.3 MB / 0.9323 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.5468/6.029, allocations: 153.8 MB / 3.242 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/6.029, allocations: 8 kB / 3.242 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007281/6.036, allocations: 0.7915 MB / 3.243 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006703/6.043, allocations: 2.285 MB / 3.245 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/6.043, allocations: 96 kB / 3.246 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006496/6.044, allocations: 180 kB / 3.246 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009557/6.053, allocations: 3.612 MB / 3.249 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/6.064, allocations: 4.002 MB / 3.253 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.519e-05/6.064, allocations: 7.922 kB / 3.253 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/6.065, allocations: 7.906 kB / 3.253 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/6.065, allocations: 182 kB / 3.253 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/6.098, allocations: 19.14 MB / 3.272 GB, free: 84.79 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/6.102, allocations: 1.696 MB / 3.274 GB, free: 83.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002913/6.105, allocations: 1.169 MB / 3.275 GB, free: 81.93 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003295/6.105, allocations: 138.3 kB / 3.275 GB, free: 81.78 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002063/6.108, allocations: 1.059 MB / 3.276 GB, free: 80.68 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=150): time 4.128e-06/6.108, allocations: 0 / 3.276 GB, free: 80.68 MB / 0.9323 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! Error: Internal error SimCode: The model Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine could not be translated to FMU