Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.793/1.793, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009287/0.0009287, allocations: 192.2 kB / 490.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.133/1.133, allocations: 221.3 MB / 0.7863 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008582/0.0008581, allocations: 95.05 kB / 0.9264 GB, free: 14.32 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4066/0.4075, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.5857, allocations: 143 MB / 1.212 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.503/3.089, allocations: 1.79 GB / 3.002 GB, free: 56.29 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/3.09, allocations: 111.9 kB / 3.002 GB, free: 56.18 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 823 * Number of variables: 823 Notification: Performance of Generate backend data structure: time 0.6865/3.776, allocations: 168.5 MB / 3.166 GB, free: 350.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/3.776, allocations: 9 kB / 3.166 GB, free: 350.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/3.78, allocations: 0.7992 MB / 3.167 GB, free: 349.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003503/3.783, allocations: 2.292 MB / 3.169 GB, free: 347.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/3.784, allocations: 103.9 kB / 3.169 GB, free: 347.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003632/3.784, allocations: 180 kB / 3.17 GB, free: 347 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004791/3.789, allocations: 3.616 MB / 3.173 GB, free: 343.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005182/3.794, allocations: 4.009 MB / 3.177 GB, free: 339.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.478e-05/3.794, allocations: 11.94 kB / 3.177 GB, free: 339.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/3.794, allocations: 4 kB / 3.177 GB, free: 339.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/3.794, allocations: 182 kB / 3.177 GB, free: 339 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01662/3.811, allocations: 19.18 MB / 3.196 GB, free: 318.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/3.813, allocations: 1.685 MB / 3.198 GB, free: 316.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/3.814, allocations: 1.178 MB / 3.199 GB, free: 315.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/3.815, allocations: 135.2 kB / 3.199 GB, free: 315.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/3.816, allocations: 1.063 MB / 3.2 GB, free: 314.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=150): time 3.206e-06/3.816, allocations: 0 / 3.2 GB, free: 314.3 MB / 1.151 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