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: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_maint.7.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 7.0.3-maint.7.0.x/package.mo): time 1.152/1.152, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000984/0.0009839, allocations: 177.9 kB / 316 MB, free: 7.176 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.179/1.179, allocations: 205.1 MB / 0.5667 GB, free: 23.84 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.0008104/0.0008106, allocations: 78.3 kB / 0.671 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 6.573e-06/6.593e-06, allocations: 4 kB / 0.7807 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3317, allocations: 106.3 MB / 0.8845 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.595/3.927, allocations: 2.555 GB / 3.439 GB, free: 319.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/3.927, allocations: 90.53 kB / 3.439 GB, free: 319.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 12.96/16.89, allocations: 5.014 GB / 8.453 GB, free: 51.46 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001416/16.89, allocations: 323.5 kB / 8.454 GB, free: 51.41 MB / 1.073 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 0.02976/16.92, allocations: 11.79 MB / 8.465 GB, free: 46.06 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/16.92, allocations: 11.25 kB / 8.465 GB, free: 46.05 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/16.94, allocations: 3.669 MB / 8.469 GB, free: 45.18 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0341/16.97, allocations: 15 MB / 8.483 GB, free: 43.01 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004503/16.97, allocations: 450.9 kB / 8.484 GB, free: 42.93 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/16.98, allocations: 0.5446 MB / 8.484 GB, free: 42.92 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01572/16.99, allocations: 9.451 MB / 8.494 GB, free: 42.88 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/17.01, allocations: 9.894 MB / 8.503 GB, free: 41.8 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/17.01, allocations: 22.53 kB / 8.503 GB, free: 41.79 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008782/17.01, allocations: 11.66 kB / 8.503 GB, free: 41.79 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004104/17.01, allocations: 377 kB / 8.504 GB, free: 41.77 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06495/17.07, allocations: 51.15 MB / 8.554 GB, free: 15.25 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/17.08, allocations: 6.861 MB / 8.56 GB, free: 8.996 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005541/17.09, allocations: 3.973 MB / 8.564 GB, free: 5.316 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03244/17.12, allocations: 16.28 MB / 8.58 GB, free: 4.797 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006486/17.13, allocations: 3.849 MB / 8.584 GB, free: 0.8789 MB / 1.104 GB Notification: Performance of pre-optimization done (n=609): time 8.687e-06/17.13, allocations: 0 / 8.584 GB, free: 0.8789 MB / 1.104 GB Notification: Performance of matching and sorting (n=613): time 0.4804/17.61, allocations: 18.33 MB / 8.602 GB, free: 128.8 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/17.61, allocations: 382.3 kB / 8.602 GB, free: 128.4 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/17.62, allocations: 7.846 MB / 8.61 GB, free: 127.8 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001627/17.62, allocations: 50.47 kB / 8.61 GB, free: 127.8 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.004094/17.63, allocations: 3.347 MB / 8.613 GB, free: 126.7 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.005131/17.63, allocations: 1.988 MB / 8.615 GB, free: 125.6 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005393/17.63, allocations: 0 / 8.615 GB, free: 125.6 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0003669/17.63, allocations: 0.5828 MB / 8.616 GB, free: 125.3 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/17.64, allocations: 2.85 MB / 8.618 GB, free: 125.3 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004992/17.64, allocations: 5.074 MB / 8.623 GB, free: 122.9 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/17.65, allocations: 4.01 MB / 8.627 GB, free: 122.8 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-05/17.65, allocations: 11.31 kB / 8.627 GB, free: 122.8 MB / 1.104 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.01891/17.67, allocations: 9.348 MB / 8.636 GB, free: 122 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003493/17.67, allocations: 26.6 MB / 8.662 GB, free: 94.69 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.688e-05/17.67, allocations: 45.59 kB / 8.662 GB, free: 94.69 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/17.67, allocations: 0.6124 MB / 8.663 GB, free: 94.64 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008571/17.68, allocations: 1.722 MB / 8.665 GB, free: 94.64 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006088/17.69, allocations: 8.082 MB / 8.672 GB, free: 88.23 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/17.7, allocations: 0.8082 MB / 8.673 GB, free: 88.2 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/17.7, allocations: 373.4 kB / 8.674 GB, free: 88.2 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/17.7, allocations: 10.03 kB / 8.674 GB, free: 88.19 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02/17.72, allocations: 8.06 MB / 8.682 GB, free: 87.97 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/17.72, allocations: 55.19 kB / 8.682 GB, free: 87.97 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/17.73, allocations: 0.6189 MB / 8.682 GB, free: 87.92 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007988/17.73, allocations: 1.682 MB / 8.684 GB, free: 87.92 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007927/17.74, allocations: 9.198 MB / 8.693 GB, free: 80.68 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/17.75, allocations: 0.7764 MB / 8.694 GB, free: 80.64 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001571/17.76, allocations: 360.8 kB / 8.694 GB, free: 80.64 MB / 1.104 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.002626/17.76, allocations: 319 kB / 8.694 GB, free: 80.53 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002976/17.76, allocations: 1.012 MB / 8.695 GB, free: 80 MB / 1.104 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.01412/17.78, allocations: 5.368 MB / 8.7 GB, free: 79.77 MB / 1.104 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.