Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",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.298/1.298, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009414/0.0009414, allocations: 187.5 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9878/0.9878, allocations: 205.1 MB / 0.6195 GB, free: 10.28 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007976/0.0007973, allocations: 98.47 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.171/0.1718, allocations: 121.4 MB / 0.8511 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.5635, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.297/3.86, allocations: 2.438 GB / 3.402 GB, free: 309.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/3.861, allocations: 91.42 kB / 3.402 GB, free: 309.2 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: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 13.43/17.29, allocations: 5.161 GB / 8.562 GB, free: 53.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/17.29, allocations: 7.781 kB / 8.562 GB, free: 53.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/17.31, allocations: 3.681 MB / 8.566 GB, free: 52.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03242/17.35, allocations: 14.97 MB / 8.58 GB, free: 50.74 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005812/17.35, allocations: 448.2 kB / 8.581 GB, free: 50.66 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002645/17.35, allocations: 0.5493 MB / 8.581 GB, free: 50.65 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01669/17.37, allocations: 9.437 MB / 8.591 GB, free: 50.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/17.38, allocations: 9.889 MB / 8.6 GB, free: 49.59 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001813/17.38, allocations: 23.02 kB / 8.6 GB, free: 49.59 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008291/17.38, allocations: 17.78 kB / 8.6 GB, free: 49.59 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002202/17.38, allocations: 364.2 kB / 8.601 GB, free: 49.57 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06106/17.44, allocations: 51.11 MB / 8.651 GB, free: 27.25 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005909/17.45, allocations: 4.598 MB / 8.655 GB, free: 27.17 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004685/17.46, allocations: 4.034 MB / 8.659 GB, free: 27.11 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02916/17.48, allocations: 19.24 MB / 8.678 GB, free: 21.63 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004676/17.49, allocations: 3.828 MB / 8.681 GB, free: 21.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=609): time 8.235e-06/17.49, allocations: 0.5312 kB / 8.681 GB, free: 21.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=658): time 0.04605/17.54, allocations: 21.53 MB / 8.702 GB, free: 17 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/17.54, allocations: 384.4 kB / 8.703 GB, free: 16.62 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/17.55, allocations: 7.819 MB / 8.71 GB, free: 16.04 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009986/17.55, allocations: 46.52 kB / 8.711 GB, free: 16.01 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003072/17.55, allocations: 3.352 MB / 8.714 GB, free: 14.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004365/17.55, allocations: 2.136 MB / 8.716 GB, free: 12.92 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/17.55, allocations: 2.188 kB / 8.716 GB, free: 12.92 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002715/17.55, allocations: 0.5929 MB / 8.716 GB, free: 12.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004071/17.56, allocations: 3.096 MB / 8.72 GB, free: 12.59 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004903/17.56, allocations: 5.347 MB / 8.725 GB, free: 10.18 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007351/17.57, allocations: 4.319 MB / 8.729 GB, free: 10.07 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.358e-05/17.57, allocations: 17.31 kB / 8.729 GB, free: 10.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.01922/17.59, allocations: 11.23 MB / 8.74 GB, free: 9.262 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.006109/17.6, allocations: 26.99 MB / 8.766 GB, free: 13.54 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.777e-05/17.6, allocations: 48.88 kB / 8.766 GB, free: 13.54 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/17.61, allocations: 4.039 MB / 8.77 GB, free: 13.46 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005614/17.61, allocations: 1.292 MB / 8.772 GB, free: 13.46 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/17.63, allocations: 13.81 MB / 8.785 GB, free: 8.648 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/17.64, allocations: 0.8212 MB / 8.786 GB, free: 8.586 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009328/17.64, allocations: 383.5 kB / 8.786 GB, free: 8.586 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/17.64, allocations: 1.438 kB / 8.786 GB, free: 8.586 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01635/17.66, allocations: 9.808 MB / 8.796 GB, free: 8.363 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.511e-05/17.66, allocations: 46.59 kB / 8.796 GB, free: 8.363 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/17.67, allocations: 4.051 MB / 8.8 GB, free: 8.277 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00481/17.67, allocations: 1.268 MB / 8.801 GB, free: 8.277 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/17.69, allocations: 15.63 MB / 8.816 GB, free: 1.973 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/17.7, allocations: 0.792 MB / 8.817 GB, free: 1.91 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009625/17.7, allocations: 372.3 kB / 8.817 GB, free: 1.906 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[4].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[3].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[2].con2.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[1].con2.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] 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: 211 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$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.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 731 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {20 157,4 16,1 4,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001794/17.71, allocations: 331.4 kB / 8.818 GB, free: 1.754 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002116/17.71, allocations: 1.024 MB / 8.819 GB, free: 1.211 MB / 1.182 GB Error: Too many equations, over-determined system. The model has 742 equation(s) and 740 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/17.72, allocations: 5.646 MB / 8.824 GB, free: 0.9883 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl could not be translated to FMU