Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.328/1.328, allocations: 285.5 MB / 292.8 MB, free: 9.855 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.0009138/0.0009139, allocations: 189.1 kB / 361.1 MB, free: 328 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.024/1.024, allocations: 205.1 MB / 0.6195 GB, free: 2.848 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.0007867/0.0007867, allocations: 84.91 kB / 0.7325 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3524/0.3532, allocations: 121.5 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.4962, allocations: 115.3 MB / 0.9638 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.973/3.47, allocations: 2.13 GB / 3.093 GB, free: 149 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/3.47, allocations: 111.9 kB / 3.093 GB, free: 148.9 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.5635/4.033, allocations: 153.8 MB / 3.244 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/4.033, allocations: 14.38 kB / 3.244 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/4.037, allocations: 0.8029 MB / 3.244 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/4.04, allocations: 2.286 MB / 3.247 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/4.04, allocations: 96.56 kB / 3.247 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/4.04, allocations: 186.5 kB / 3.247 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004265/4.045, allocations: 3.607 MB / 3.25 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004723/4.049, allocations: 3.997 MB / 3.254 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/4.049, allocations: 9.812 kB / 3.254 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/4.05, allocations: 3.875 kB / 3.254 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/4.05, allocations: 184.4 kB / 3.254 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/4.065, allocations: 19.14 MB / 3.273 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/4.067, allocations: 1.693 MB / 3.275 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/4.068, allocations: 1.185 MB / 3.276 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/4.068, allocations: 134.1 kB / 3.276 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/4.069, allocations: 1.05 MB / 3.277 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=150): time 3.126e-06/4.069, allocations: 0 / 3.277 GB, free: 239.1 MB / 0.9323 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