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_N.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_N,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.184/2.184, allocations: 284.8 MB / 292.1 MB, free: 9.871 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.001574/0.001573, allocations: 171.8 kB / 360.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 0.6187 GB, free: 3.402 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 89.72 kB / 0.7317 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5141/0.5154, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.7118, allocations: 115.3 MB / 0.9628 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.644/5.356, allocations: 2.131 GB / 3.094 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/5.357, allocations: 108.6 kB / 3.094 GB, free: 107.8 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.8863/6.243, allocations: 143.2 MB / 3.234 GB, free: 268.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/6.243, allocations: 10.22 kB / 3.234 GB, free: 268.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007304/6.25, allocations: 0.7913 MB / 3.234 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006525/6.257, allocations: 2.133 MB / 3.237 GB, free: 267.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/6.257, allocations: 102.3 kB / 3.237 GB, free: 267.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008826/6.258, allocations: 174.4 kB / 3.237 GB, free: 267.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01024/6.268, allocations: 3.568 MB / 3.24 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/6.281, allocations: 3.924 MB / 3.244 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/6.281, allocations: 7.156 kB / 3.244 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004901/6.282, allocations: 11.78 kB / 3.244 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001951/6.282, allocations: 170 kB / 3.244 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/6.314, allocations: 17.86 MB / 3.262 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00381/6.318, allocations: 1.64 MB / 3.263 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/6.32, allocations: 0.914 MB / 3.264 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/6.32, allocations: 128.6 kB / 3.264 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002046/6.322, allocations: 1.042 MB / 3.265 GB, free: 257.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=147): time 4.759e-06/6.322, allocations: 0 / 3.265 GB, free: 257.4 MB / 0.9323 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