Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.312/1.312, allocations: 289.8 MB / 297.1 MB, free: 6.566 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.0009365/0.0009366, allocations: 177.2 kB / 366.3 MB, free: 1.887 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.9797/0.9797, allocations: 205.1 MB / 0.6256 GB, free: 7.402 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.0008002/0.0008002, allocations: 83.42 kB / 0.7395 GB, free: 39.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.949e-06/4.969e-06, allocations: 0 / 0.859 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4086, allocations: 116.3 MB / 0.9725 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.129/3.537, allocations: 2.439 GB / 3.411 GB, free: 42.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/3.537, allocations: 91.95 kB / 3.411 GB, free: 42.61 MB / 0.948 GB Notification: Performance of FrontEnd: time 12.99/16.53, allocations: 5.146 GB / 8.558 GB, free: 46.09 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001085/16.53, allocations: 322.9 kB / 8.558 GB, free: 46.02 MB / 1.151 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.02297/16.55, allocations: 11.79 MB / 8.569 GB, free: 40.54 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/16.55, allocations: 9.375 kB / 8.569 GB, free: 40.54 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01891/16.57, allocations: 3.677 MB / 8.573 GB, free: 39.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02918/16.6, allocations: 14.97 MB / 8.588 GB, free: 33.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/16.6, allocations: 448.5 kB / 8.588 GB, free: 32.79 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/16.6, allocations: 0.5412 MB / 8.589 GB, free: 32.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01347/16.62, allocations: 9.429 MB / 8.598 GB, free: 23.78 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/16.63, allocations: 9.895 MB / 8.608 GB, free: 14.34 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001735/16.63, allocations: 19.78 kB / 8.608 GB, free: 14.32 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007751/16.63, allocations: 12 kB / 8.608 GB, free: 14.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002092/16.63, allocations: 372.6 kB / 8.608 GB, free: 13.94 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5091/17.14, allocations: 51.15 MB / 8.658 GB, free: 154.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008615/17.15, allocations: 6.972 MB / 8.665 GB, free: 154.4 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004386/17.15, allocations: 3.994 MB / 8.669 GB, free: 154.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02375/17.18, allocations: 16.37 MB / 8.685 GB, free: 149.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004599/17.18, allocations: 3.847 MB / 8.688 GB, free: 149 MB / 1.182 GB Notification: Performance of pre-optimization done (n=608): time 7.264e-06/17.18, allocations: 0 / 8.688 GB, free: 149 MB / 1.182 GB Notification: Performance of matching and sorting (n=612): time 0.03721/17.22, allocations: 18.29 MB / 8.706 GB, free: 145.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/17.22, allocations: 382.8 kB / 8.707 GB, free: 145.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009485/17.23, allocations: 7.815 MB / 8.714 GB, free: 144.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0007097/17.23, allocations: 42.89 kB / 8.714 GB, free: 144.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.003091/17.23, allocations: 3.349 MB / 8.717 GB, free: 143.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.004379/17.24, allocations: 1.992 MB / 8.719 GB, free: 142.7 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/17.24, allocations: 0 / 8.719 GB, free: 142.7 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002678/17.24, allocations: 0.575 MB / 8.72 GB, free: 142.4 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003813/17.24, allocations: 2.863 MB / 8.723 GB, free: 142.3 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004685/17.25, allocations: 5.077 MB / 8.728 GB, free: 140 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007268/17.25, allocations: 4.022 MB / 8.732 GB, free: 139.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/17.25, allocations: 12.81 kB / 8.732 GB, free: 139.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.0171/17.27, allocations: 9.369 MB / 8.741 GB, free: 139.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.003193/17.27, allocations: 26.6 MB / 8.767 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-05/17.27, allocations: 47.53 kB / 8.767 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/17.28, allocations: 0.6094 MB / 8.767 GB, free: 111.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007309/17.28, allocations: 1.721 MB / 8.769 GB, free: 111.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005931/17.29, allocations: 8.074 MB / 8.777 GB, free: 105.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/17.3, allocations: 0.8109 MB / 8.778 GB, free: 105.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006274/17.3, allocations: 366.2 kB / 8.778 GB, free: 105.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/17.3, allocations: 8.062 kB / 8.778 GB, free: 105.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01445/17.32, allocations: 8.092 MB / 8.786 GB, free: 105 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-05/17.32, allocations: 44.94 kB / 8.786 GB, free: 105 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/17.32, allocations: 0.6149 MB / 8.787 GB, free: 105 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006523/17.32, allocations: 1.682 MB / 8.788 GB, free: 105 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007112/17.33, allocations: 9.207 MB / 8.797 GB, free: 97.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009493/17.34, allocations: 0.7643 MB / 8.798 GB, free: 97.68 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005912/17.34, allocations: 361.2 kB / 8.798 GB, free: 97.68 MB / 1.182 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 (870): * Single equations (assignments): 858 * 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.001346/17.34, allocations: 322 kB / 8.799 GB, free: 97.56 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/17.34, allocations: 1.01 MB / 8.8 GB, free: 97.03 MB / 1.182 GB Error: Too many equations, over-determined system. The model has 700 equation(s) and 698 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/17.35, allocations: 5.376 MB / 8.805 GB, free: 96.8 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.