Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.097/2.097, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001571, allocations: 189.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 88.73 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.118e-05/1.122e-05, allocations: 4 kB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5312, allocations: 115.2 MB / 0.9628 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.759/5.29, allocations: 2.438 GB / 3.4 GB, free: 11.86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/5.291, allocations: 87.25 kB / 3.4 GB, free: 11.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 22.63/27.92, allocations: 5.148 GB / 8.549 GB, free: 69.43 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002769/27.93, allocations: 324.5 kB / 8.549 GB, free: 69.39 MB / 1.167 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.04811/27.97, allocations: 11.78 MB / 8.561 GB, free: 64.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/27.97, allocations: 10.06 kB / 8.561 GB, free: 64.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03769/28.01, allocations: 3.682 MB / 8.564 GB, free: 63.94 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06024/28.07, allocations: 14.98 MB / 8.579 GB, free: 62.14 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009133/28.07, allocations: 447.1 kB / 8.579 GB, free: 62.05 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004085/28.08, allocations: 0.5499 MB / 8.58 GB, free: 62.05 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03285/28.11, allocations: 9.43 MB / 8.589 GB, free: 62.01 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03752/28.15, allocations: 9.888 MB / 8.599 GB, free: 60.99 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004589/28.15, allocations: 20.16 kB / 8.599 GB, free: 60.99 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003196/28.15, allocations: 15.39 kB / 8.599 GB, free: 60.99 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003887/28.15, allocations: 366.6 kB / 8.599 GB, free: 60.97 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/28.27, allocations: 51.12 MB / 8.649 GB, free: 38.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/28.29, allocations: 4.601 MB / 8.653 GB, free: 38.62 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01115/28.3, allocations: 4.027 MB / 8.657 GB, free: 38.56 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05782/28.36, allocations: 19.24 MB / 8.676 GB, free: 33.09 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01059/28.37, allocations: 3.835 MB / 8.68 GB, free: 32.89 MB / 1.167 GB Notification: Performance of pre-optimization done (n=609): time 1.341e-05/28.37, allocations: 0 / 8.68 GB, free: 32.89 MB / 1.167 GB Notification: Performance of matching and sorting (n=658): time 0.09241/28.46, allocations: 21.52 MB / 8.701 GB, free: 28.48 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/28.46, allocations: 390.7 kB / 8.701 GB, free: 28.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02161/28.48, allocations: 7.815 MB / 8.709 GB, free: 27.52 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002081/28.48, allocations: 45.95 kB / 8.709 GB, free: 27.48 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005799/28.49, allocations: 3.353 MB / 8.712 GB, free: 25.82 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.006973/28.5, allocations: 2.137 MB / 8.714 GB, free: 24.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008406/28.5, allocations: 5.469 kB / 8.714 GB, free: 24.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005194/28.5, allocations: 0.59 MB / 8.715 GB, free: 24.08 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008267/28.51, allocations: 3.096 MB / 8.718 GB, free: 24.07 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01055/28.52, allocations: 5.353 MB / 8.723 GB, free: 21.64 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01503/28.53, allocations: 4.319 MB / 8.727 GB, free: 21.54 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.464e-05/28.53, allocations: 17.28 kB / 8.727 GB, free: 21.54 MB / 1.167 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.04069/28.57, allocations: 11.21 MB / 8.738 GB, free: 20.74 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.008247/28.58, allocations: 26.99 MB / 8.765 GB, free: 25.02 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002485/28.58, allocations: 48.34 kB / 8.765 GB, free: 25.02 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02216/28.6, allocations: 4.039 MB / 8.769 GB, free: 24.93 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01075/28.61, allocations: 1.293 MB / 8.77 GB, free: 24.93 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03031/28.64, allocations: 13.81 MB / 8.783 GB, free: 20.12 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01886/28.66, allocations: 0.8248 MB / 8.784 GB, free: 20.06 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002155/28.66, allocations: 378.4 kB / 8.785 GB, free: 20.06 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/28.66, allocations: 2.156 kB / 8.785 GB, free: 20.06 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03249/28.7, allocations: 9.817 MB / 8.794 GB, free: 19.84 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/28.7, allocations: 46.47 kB / 8.794 GB, free: 19.84 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02149/28.72, allocations: 4.049 MB / 8.798 GB, free: 19.75 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/28.73, allocations: 1.264 MB / 8.799 GB, free: 19.75 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03245/28.76, allocations: 15.63 MB / 8.815 GB, free: 13.45 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01881/28.78, allocations: 0.7902 MB / 8.815 GB, free: 13.39 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0024/28.78, allocations: 377.4 kB / 8.816 GB, free: 13.39 MB / 1.198 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.002778/28.79, allocations: 320.3 kB / 8.816 GB, free: 13.24 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003472/28.79, allocations: 1.027 MB / 8.817 GB, free: 12.7 MB / 1.198 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.02316/28.81, allocations: 5.634 MB / 8.823 GB, free: 12.47 MB / 1.198 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.