Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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_N,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.372/1.372, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001/0.001, allocations: 177.2 kB / 366.3 MB, free: 1.957 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.098/1.098, allocations: 205.1 MB / 0.6256 GB, free: 5.773 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.0008227/0.0008227, allocations: 88.27 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1937/0.1946, allocations: 122.4 MB / 0.8591 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.6672, allocations: 116.3 MB / 0.9727 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.155/3.822, allocations: 2.132 GB / 3.105 GB, free: 330.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/3.823, allocations: 112.6 kB / 3.105 GB, free: 330.3 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.2902/4.113, allocations: 149 MB / 3.251 GB, free: 179.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/4.113, allocations: 12 kB / 3.251 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/4.117, allocations: 0.7994 MB / 3.251 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/4.12, allocations: 2.134 MB / 3.253 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/4.12, allocations: 96 kB / 3.253 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003436/4.121, allocations: 176 kB / 3.254 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004629/4.125, allocations: 3.573 MB / 3.257 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004983/4.13, allocations: 3.924 MB / 3.261 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.249e-05/4.131, allocations: 7.844 kB / 3.261 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/4.131, allocations: 4 kB / 3.261 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/4.131, allocations: 185.9 kB / 3.261 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/4.147, allocations: 17.87 MB / 3.279 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/4.149, allocations: 1.636 MB / 3.28 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009259/4.15, allocations: 0.918 MB / 3.281 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/4.15, allocations: 138.3 kB / 3.281 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/4.151, allocations: 1.042 MB / 3.282 GB, free: 145.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 3.356e-06/4.151, allocations: 0 / 3.282 GB, free: 145.7 MB / 0.948 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