Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.817/1.817, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009345/0.0009345, allocations: 192.8 kB / 487 MB, free: 5.301 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.171/1.171, allocations: 221.3 MB / 0.7819 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008286/0.0008286, allocations: 94.25 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4086/0.4094, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.6105, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.703/3.314, allocations: 1.791 GB / 2.996 GB, free: 61.89 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/3.314, allocations: 111.2 kB / 2.996 GB, free: 61.79 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: 812 * Number of variables: 812 Notification: Performance of Generate backend data structure: time 0.6956/4.01, allocations: 157.7 MB / 3.15 GB, free: 365.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/4.01, allocations: 8.562 kB / 3.15 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004625/4.014, allocations: 0.7948 MB / 3.151 GB, free: 365.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/4.019, allocations: 2.141 MB / 3.153 GB, free: 363.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/4.019, allocations: 102.8 kB / 3.153 GB, free: 363.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004965/4.019, allocations: 173.9 kB / 3.153 GB, free: 363.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006866/4.026, allocations: 3.581 MB / 3.157 GB, free: 361.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005038/4.031, allocations: 3.932 MB / 3.16 GB, free: 357.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.195e-05/4.031, allocations: 11.83 kB / 3.16 GB, free: 357.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/4.032, allocations: 4 kB / 3.16 GB, free: 357.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/4.032, allocations: 178 kB / 3.161 GB, free: 357.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/4.048, allocations: 17.9 MB / 3.178 GB, free: 338.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/4.05, allocations: 1.634 MB / 3.18 GB, free: 336.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008742/4.051, allocations: 0.919 MB / 3.181 GB, free: 335.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/4.051, allocations: 134 kB / 3.181 GB, free: 335.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/4.052, allocations: 1.034 MB / 3.182 GB, free: 334.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=147): time 3.666e-06/4.052, allocations: 0 / 3.182 GB, free: 334.5 MB / 1.151 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