Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000979/0.0009789, allocations: 181.1 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 0.5667 GB, free: 15.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008257/0.0008254, allocations: 86.42 kB / 0.671 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3591/0.36, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.5402, allocations: 106.3 MB / 0.8847 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.171/4.712, allocations: 2.249 GB / 3.133 GB, free: 149 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/4.712, allocations: 114.9 kB / 3.133 GB, free: 148.9 MB / 0.8698 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.6711/5.383, allocations: 153.8 MB / 3.284 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/5.383, allocations: 10.69 kB / 3.284 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004594/5.388, allocations: 0.8015 MB / 3.284 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/5.392, allocations: 2.287 MB / 3.287 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/5.392, allocations: 99.38 kB / 3.287 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005157/5.393, allocations: 177.1 kB / 3.287 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005525/5.398, allocations: 3.611 MB / 3.29 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005571/5.404, allocations: 3.998 MB / 3.294 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.002e-05/5.404, allocations: 10 kB / 3.294 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/5.404, allocations: 4.5 kB / 3.294 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/5.405, allocations: 184.7 kB / 3.294 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/5.425, allocations: 19.14 MB / 3.313 GB, free: 214 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/5.427, allocations: 1.686 MB / 3.315 GB, free: 214 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/5.429, allocations: 1.178 MB / 3.316 GB, free: 214 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/5.429, allocations: 134 kB / 3.316 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/5.43, allocations: 1.063 MB / 3.317 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=150): time 3.467e-06/5.43, allocations: 0 / 3.317 GB, free: 213.7 MB / 0.8698 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