Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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_N,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.787/1.787, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009534/0.0009536, allocations: 177.3 kB / 490.8 MB, free: 1.949 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.145/1.145, allocations: 221.3 MB / 0.7863 GB, free: 13.71 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.0007908/0.0007907, allocations: 94.05 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4157/0.4165, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.593, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.584/3.177, allocations: 1.791 GB / 3.003 GB, free: 62.86 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/3.177, allocations: 107 kB / 3.003 GB, free: 62.8 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.6829/3.86, allocations: 157.6 MB / 3.157 GB, free: 360.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/3.86, allocations: 8.844 kB / 3.157 GB, free: 360.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/3.865, allocations: 0.7953 MB / 3.158 GB, free: 359.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/3.868, allocations: 2.149 MB / 3.16 GB, free: 358.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/3.868, allocations: 97.78 kB / 3.16 GB, free: 358.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004074/3.869, allocations: 178.1 kB / 3.16 GB, free: 358.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005218/3.874, allocations: 3.575 MB / 3.164 GB, free: 356.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005915/3.88, allocations: 3.94 MB / 3.168 GB, free: 354.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.485e-05/3.88, allocations: 6.375 kB / 3.168 GB, free: 354.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/3.88, allocations: 4 kB / 3.168 GB, free: 354.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/3.88, allocations: 179.5 kB / 3.168 GB, free: 354.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01727/3.898, allocations: 17.89 MB / 3.185 GB, free: 337 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/3.899, allocations: 1.644 MB / 3.187 GB, free: 335.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008986/3.9, allocations: 0.9199 MB / 3.188 GB, free: 334.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/3.901, allocations: 133.9 kB / 3.188 GB, free: 334.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/3.902, allocations: 1.031 MB / 3.189 GB, free: 333.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=147): time 3.367e-06/3.902, allocations: 0 / 3.189 GB, free: 333.2 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