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: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") [: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.32/1.32, allocations: 285.5 MB / 292.8 MB, free: 14.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 178.2 kB / 361.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.027/1.027, allocations: 205.1 MB / 0.6195 GB, free: 2.965 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008275/0.0008276, allocations: 85.56 kB / 0.7326 GB, free: 54.06 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 5.38e-06/5.42e-06, allocations: 0 / 0.851 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1717, allocations: 115.3 MB / 0.9637 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.497/3.669, allocations: 2.438 GB / 3.401 GB, free: 53.11 MB / 0.9356 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/3.669, allocations: 79.97 kB / 3.402 GB, free: 53.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 13.97/17.64, allocations: 5.149 GB / 8.55 GB, free: 6.051 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.001615/17.64, allocations: 335.5 kB / 8.551 GB, free: 5.723 MB / 1.139 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 0.03046/17.67, allocations: 11.78 MB / 8.562 GB, free: 9.805 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/17.67, allocations: 8.531 kB / 8.562 GB, free: 9.797 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02299/17.69, allocations: 3.671 MB / 8.566 GB, free: 6.105 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4719/18.16, allocations: 14.96 MB / 8.58 GB, free: 114.9 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004262/18.16, allocations: 452.6 kB / 8.581 GB, free: 114.8 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/18.16, allocations: 0.5538 MB / 8.581 GB, free: 114.8 MB / 1.154 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01476/18.18, allocations: 9.43 MB / 8.59 GB, free: 114.8 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/18.19, allocations: 9.888 MB / 8.6 GB, free: 113.7 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/18.19, allocations: 20.69 kB / 8.6 GB, free: 113.7 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008796/18.2, allocations: 14.22 kB / 8.6 GB, free: 113.7 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/18.2, allocations: 372.1 kB / 8.601 GB, free: 113.7 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06157/18.26, allocations: 51.11 MB / 8.65 GB, free: 91.84 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006048/18.26, allocations: 4.596 MB / 8.655 GB, free: 91.77 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004703/18.27, allocations: 4.037 MB / 8.659 GB, free: 91.7 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02907/18.3, allocations: 19.23 MB / 8.678 GB, free: 86.33 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004661/18.3, allocations: 3.832 MB / 8.681 GB, free: 86.13 MB / 1.154 GB Notification: Performance of pre-optimization done (n=609): time 7.023e-06/18.3, allocations: 0 / 8.681 GB, free: 86.13 MB / 1.154 GB Notification: Performance of matching and sorting (n=658): time 0.05171/18.35, allocations: 21.53 MB / 8.702 GB, free: 81.72 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/18.35, allocations: 384.8 kB / 8.703 GB, free: 81.34 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/18.37, allocations: 7.823 MB / 8.71 GB, free: 80.76 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001578/18.37, allocations: 49.06 kB / 8.71 GB, free: 80.73 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.003314/18.37, allocations: 3.338 MB / 8.714 GB, free: 79.07 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.005001/18.38, allocations: 2.145 MB / 8.716 GB, free: 77.66 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004797/18.38, allocations: 0 / 8.716 GB, free: 77.66 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000337/18.38, allocations: 0.5909 MB / 8.716 GB, free: 77.34 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00423/18.38, allocations: 3.096 MB / 8.719 GB, free: 77.32 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005192/18.39, allocations: 5.347 MB / 8.725 GB, free: 74.91 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007915/18.39, allocations: 4.322 MB / 8.729 GB, free: 74.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.032e-05/18.39, allocations: 15.25 kB / 8.729 GB, free: 74.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.02109/18.42, allocations: 11.21 MB / 8.74 GB, free: 74 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.007138/18.42, allocations: 26.99 MB / 8.766 GB, free: 78.28 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-05/18.42, allocations: 48.41 kB / 8.766 GB, free: 78.28 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01173/18.43, allocations: 4.047 MB / 8.77 GB, free: 78.19 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005834/18.44, allocations: 1.293 MB / 8.771 GB, free: 78.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/18.46, allocations: 13.8 MB / 8.785 GB, free: 73.39 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0114/18.47, allocations: 0.8266 MB / 8.786 GB, free: 73.32 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/18.47, allocations: 376.5 kB / 8.786 GB, free: 73.32 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 8.597e-06/18.47, allocations: 6.156 kB / 8.786 GB, free: 73.32 MB / 1.186 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01748/18.49, allocations: 9.812 MB / 8.796 GB, free: 73.1 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-05/18.49, allocations: 47.34 kB / 8.796 GB, free: 73.1 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/18.5, allocations: 4.042 MB / 8.8 GB, free: 73.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0055/18.5, allocations: 1.271 MB / 8.801 GB, free: 73.02 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/18.52, allocations: 15.64 MB / 8.816 GB, free: 66.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/18.53, allocations: 0.7911 MB / 8.817 GB, free: 66.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/18.54, allocations: 370.4 kB / 8.817 GB, free: 66.64 MB / 1.186 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.002812/18.54, allocations: 320.2 kB / 8.818 GB, free: 66.5 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003227/18.54, allocations: 1.023 MB / 8.819 GB, free: 65.96 MB / 1.186 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.01453/18.56, allocations: 5.646 MB / 8.824 GB, free: 65.73 MB / 1.186 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.