Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",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.25/1.25, allocations: 249.4 MB / 256.7 MB, free: 7.035 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.001052/0.001053, allocations: 181.2 kB / 316 MB, free: 3.559 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.164/1.164, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0008583/0.0008583, allocations: 94.25 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3605/0.3614, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.5344, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.631/5.166, allocations: 2.557 GB / 3.442 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/5.166, allocations: 86.45 kB / 3.442 GB, free: 144.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: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 15.57/20.74, allocations: 5.027 GB / 8.469 GB, free: 50.95 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/20.74, allocations: 8.906 kB / 8.469 GB, free: 50.95 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02491/20.77, allocations: 3.685 MB / 8.473 GB, free: 50.18 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04594/20.81, allocations: 15.08 MB / 8.488 GB, free: 48.37 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009009/20.81, allocations: 449.5 kB / 8.488 GB, free: 48.29 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004509/20.82, allocations: 0.5454 MB / 8.489 GB, free: 48.28 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02268/20.84, allocations: 9.493 MB / 8.498 GB, free: 48.24 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02595/20.87, allocations: 9.95 MB / 8.508 GB, free: 47.19 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002629/20.87, allocations: 21.34 kB / 8.508 GB, free: 47.19 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001315/20.87, allocations: 17.28 kB / 8.508 GB, free: 47.18 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002688/20.87, allocations: 366.1 kB / 8.508 GB, free: 47.16 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08535/20.95, allocations: 51.5 MB / 8.558 GB, free: 24.64 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/20.97, allocations: 6.872 MB / 8.565 GB, free: 24.36 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006244/20.97, allocations: 3.976 MB / 8.569 GB, free: 24.29 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03104/21, allocations: 16.25 MB / 8.585 GB, free: 18.88 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005794/21.01, allocations: 3.823 MB / 8.589 GB, free: 18.68 MB / 1.089 GB Notification: Performance of pre-optimization done (n=604): time 7.584e-06/21.01, allocations: 0 / 8.589 GB, free: 18.68 MB / 1.089 GB Notification: Performance of matching and sorting (n=608): time 0.04828/21.06, allocations: 16.65 MB / 8.605 GB, free: 15.64 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/21.06, allocations: 375.4 kB / 8.605 GB, free: 15.26 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/21.07, allocations: 7.911 MB / 8.613 GB, free: 14.67 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001789/21.07, allocations: 45.84 kB / 8.613 GB, free: 14.64 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.003931/21.08, allocations: 3.383 MB / 8.616 GB, free: 12.96 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.005433/21.08, allocations: 1.99 MB / 8.618 GB, free: 11.63 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005123/21.08, allocations: 0 / 8.618 GB, free: 11.63 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0004098/21.08, allocations: 0.5785 MB / 8.619 GB, free: 11.32 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00413/21.09, allocations: 2.857 MB / 8.622 GB, free: 11.3 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00538/21.09, allocations: 5.067 MB / 8.627 GB, free: 8.926 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00797/21.1, allocations: 4.019 MB / 8.63 GB, free: 8.824 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.366e-05/21.1, allocations: 18.91 kB / 8.63 GB, free: 8.82 MB / 1.089 GB Notification: Performance of matching and sorting (n=907) (initialization): time 0.01919/21.12, allocations: 9.352 MB / 8.64 GB, free: 8.039 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.006734/21.13, allocations: 26.31 MB / 8.665 GB, free: 13.11 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/21.13, allocations: 46.81 kB / 8.665 GB, free: 13.11 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/21.13, allocations: 0.6066 MB / 8.666 GB, free: 13.06 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009346/21.14, allocations: 1.728 MB / 8.668 GB, free: 13.06 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008577/21.15, allocations: 8.084 MB / 8.676 GB, free: 6.637 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0151/21.16, allocations: 0.8144 MB / 8.676 GB, free: 6.57 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001976/21.16, allocations: 365.8 kB / 8.677 GB, free: 6.57 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/21.16, allocations: 2.688 kB / 8.677 GB, free: 6.57 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01976/21.18, allocations: 8.083 MB / 8.685 GB, free: 6.258 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/21.18, allocations: 43.84 kB / 8.685 GB, free: 6.258 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/21.19, allocations: 0.6165 MB / 8.685 GB, free: 6.207 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007499/21.19, allocations: 1.703 MB / 8.687 GB, free: 6.105 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009876/21.2, allocations: 9.204 MB / 8.696 GB, free: 14.77 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/21.22, allocations: 0.7827 MB / 8.697 GB, free: 14.71 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002466/21.22, allocations: 353.7 kB / 8.697 GB, free: 14.71 MB / 1.135 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: wse.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,greaterThreshold.y,mCWFlo.u,triAndRes.conPID.I.trigger_internal,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 854 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 5 {1 3,3 9,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002727/21.22, allocations: 315.6 kB / 8.697 GB, free: 14.47 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003258/21.23, allocations: 1.015 MB / 8.698 GB, free: 13.93 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 699 equation(s) and 697 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/21.24, allocations: 5.377 MB / 8.704 GB, free: 13.67 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl could not be translated to FMU