Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.379/1.379, allocations: 289.8 MB / 297 MB, free: 6.586 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.0009435/0.0009435, allocations: 181.3 kB / 366.3 MB, free: 1.934 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.07/1.07, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.0007761/0.0007761, allocations: 81 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1948/0.1956, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.6252, allocations: 116.3 MB / 0.9727 GB, free: 68.1 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.489/4.114, allocations: 2.131 GB / 3.103 GB, free: 332 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/4.115, allocations: 107.9 kB / 3.103 GB, free: 331.9 MB / 0.948 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.3312/4.446, allocations: 159 MB / 3.259 GB, free: 171.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/4.446, allocations: 8 kB / 3.259 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004666/4.451, allocations: 0.7954 MB / 3.259 GB, free: 170.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/4.455, allocations: 2.285 MB / 3.262 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/4.455, allocations: 100 kB / 3.262 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003715/4.455, allocations: 187.9 kB / 3.262 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005095/4.461, allocations: 3.612 MB / 3.265 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/4.466, allocations: 3.998 MB / 3.269 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.937e-05/4.466, allocations: 11.84 kB / 3.269 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/4.466, allocations: 7.984 kB / 3.269 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/4.466, allocations: 182 kB / 3.27 GB, free: 160.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/4.484, allocations: 19.16 MB / 3.288 GB, free: 139.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/4.486, allocations: 1.688 MB / 3.29 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/4.487, allocations: 1.169 MB / 3.291 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/4.488, allocations: 134.3 kB / 3.291 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/4.489, allocations: 1.059 MB / 3.292 GB, free: 135.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 3.286e-06/4.489, allocations: 0 / 3.292 GB, free: 135.4 MB / 0.948 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