Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 249.4 MB / 256.7 MB, free: 7.02 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.001074/0.001074, allocations: 180.8 kB / 316 MB, free: 3.547 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.165/1.165, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008444/0.0008443, allocations: 91.31 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3607/0.3616, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.5343, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.559/5.094, allocations: 2.556 GB / 3.44 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/5.094, allocations: 87.95 kB / 3.44 GB, free: 190.4 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: 2243 * Number of variables: 2243 Notification: Performance of Generate backend data structure: time 15.72/20.81, allocations: 5.026 GB / 8.466 GB, free: 47.36 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/20.81, allocations: 14.16 kB / 8.466 GB, free: 47.36 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02447/20.84, allocations: 3.665 MB / 8.47 GB, free: 46.6 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04019/20.88, allocations: 15 MB / 8.484 GB, free: 44.79 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007054/20.88, allocations: 447 kB / 8.485 GB, free: 44.71 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003658/20.88, allocations: 0.5438 MB / 8.485 GB, free: 44.7 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02588/20.91, allocations: 9.458 MB / 8.495 GB, free: 44.66 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03173/20.94, allocations: 9.9 MB / 8.504 GB, free: 43.64 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005131/20.94, allocations: 14.03 kB / 8.504 GB, free: 43.64 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003138/20.94, allocations: 21 kB / 8.504 GB, free: 43.63 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003207/20.94, allocations: 371.5 kB / 8.505 GB, free: 43.61 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09172/21.04, allocations: 51.14 MB / 8.555 GB, free: 21.3 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/21.05, allocations: 6.87 MB / 8.561 GB, free: 20.98 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005592/21.05, allocations: 3.971 MB / 8.565 GB, free: 20.91 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03115/21.08, allocations: 16.28 MB / 8.581 GB, free: 15.44 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005387/21.09, allocations: 3.842 MB / 8.585 GB, free: 15.23 MB / 1.089 GB Notification: Performance of pre-optimization done (n=609): time 8.636e-06/21.09, allocations: 0.75 kB / 8.585 GB, free: 15.23 MB / 1.089 GB Notification: Performance of matching and sorting (n=613): time 0.05045/21.14, allocations: 18.33 MB / 8.603 GB, free: 10.89 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/21.14, allocations: 379.9 kB / 8.603 GB, free: 10.5 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01541/21.16, allocations: 7.848 MB / 8.611 GB, free: 25.92 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001878/21.16, allocations: 52.34 kB / 8.611 GB, free: 25.89 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.004091/21.16, allocations: 3.362 MB / 8.614 GB, free: 24.22 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.005483/21.17, allocations: 1.994 MB / 8.616 GB, free: 22.89 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/21.17, allocations: 0 / 8.616 GB, free: 22.89 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0004997/21.17, allocations: 0.5759 MB / 8.617 GB, free: 22.58 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005136/21.17, allocations: 2.855 MB / 8.619 GB, free: 22.56 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007519/21.18, allocations: 5.065 MB / 8.624 GB, free: 20.18 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/21.19, allocations: 4.016 MB / 8.628 GB, free: 20.07 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.364e-05/21.19, allocations: 18.19 kB / 8.628 GB, free: 20.07 MB / 1.104 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.02643/21.22, allocations: 9.349 MB / 8.637 GB, free: 19.29 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.01003/21.23, allocations: 26.6 MB / 8.663 GB, free: 7.973 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002296/21.23, allocations: 45.56 kB / 8.663 GB, free: 7.973 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/21.23, allocations: 0.6114 MB / 8.664 GB, free: 7.926 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009573/21.24, allocations: 1.721 MB / 8.666 GB, free: 7.926 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008804/21.25, allocations: 8.086 MB / 8.674 GB, free: 1.5 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01651/21.27, allocations: 0.8131 MB / 8.674 GB, free: 1.434 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003191/21.27, allocations: 372.5 kB / 8.675 GB, free: 1.434 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/21.27, allocations: 2.438 kB / 8.675 GB, free: 1.434 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02976/21.3, allocations: 8.066 MB / 8.683 GB, free: 1.211 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002303/21.3, allocations: 49 kB / 8.683 GB, free: 1.211 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/21.3, allocations: 0.6188 MB / 8.683 GB, free: 1.164 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00871/21.31, allocations: 1.684 MB / 8.685 GB, free: 1.164 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/21.32, allocations: 9.199 MB / 8.694 GB, free: 9.895 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01382/21.34, allocations: 0.7729 MB / 8.695 GB, free: 9.836 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002288/21.34, allocations: 360.5 kB / 8.695 GB, free: 9.836 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: 208 * 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.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,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.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 (871): * Single equations (assignments): 859 * 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.003895/21.34, allocations: 321.4 kB / 8.695 GB, free: 9.695 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004117/21.35, allocations: 1.013 MB / 8.696 GB, free: 9.16 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 701 equation(s) and 699 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/21.36, allocations: 5.358 MB / 8.702 GB, free: 8.93 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl could not be translated to FMU