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_N.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_N,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.175/1.175, allocations: 249.4 MB / 256.7 MB, free: 15.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 187.5 kB / 316 MB, free: 7.246 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.391/1.391, allocations: 205.1 MB / 0.5667 GB, free: 23.66 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.0008429/0.000843, allocations: 79.41 kB / 0.671 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2274/0.2283, allocations: 112.5 MB / 0.7808 GB, free: 340 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.671, allocations: 106.3 MB / 0.8847 GB, free: 76.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.183/4.855, allocations: 2.249 GB / 3.134 GB, free: 275.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/4.855, allocations: 111.9 kB / 3.134 GB, free: 275.3 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.3/5.155, allocations: 143.2 MB / 3.274 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/5.155, allocations: 8 kB / 3.274 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/5.16, allocations: 0.7917 MB / 3.275 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004888/5.165, allocations: 2.13 MB / 3.277 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/5.165, allocations: 100 kB / 3.277 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009507/5.166, allocations: 179.9 kB / 3.277 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006555/5.173, allocations: 3.569 MB / 3.28 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00834/5.181, allocations: 3.929 MB / 3.284 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/5.181, allocations: 11.94 kB / 3.284 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006626/5.182, allocations: 7.984 kB / 3.284 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/5.182, allocations: 169.9 kB / 3.284 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02194/5.204, allocations: 17.87 MB / 3.302 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/5.206, allocations: 1.625 MB / 3.303 GB, free: 98.72 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/5.207, allocations: 0.9181 MB / 3.304 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/5.207, allocations: 126.3 kB / 3.304 GB, free: 97.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/5.209, allocations: 1.046 MB / 3.306 GB, free: 96.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=147): time 4.809e-06/5.209, allocations: 0 / 3.306 GB, free: 96.57 MB / 0.8698 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