Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.706/1.706, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009366/0.0009366, allocations: 185.2 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.067/1.067, allocations: 221.3 MB / 0.7819 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008424/0.0008424, allocations: 96.61 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.471e-06/5.581e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1676, allocations: 142.3 MB / 1.205 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.928/3.096, allocations: 2.268 GB / 3.473 GB, free: 360 kB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/3.096, allocations: 87.64 kB / 3.473 GB, free: 320 kB / 1.151 GB Notification: Performance of FrontEnd: time 12.53/15.63, allocations: 5.211 GB / 8.685 GB, free: 8.977 MB / 1.37 GB Notification: Performance of Transformations before backend: time 0.001177/15.63, allocations: 335.7 kB / 8.685 GB, free: 8.648 MB / 1.37 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.8668/16.49, allocations: 11.85 MB / 8.697 GB, free: 153.1 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/16.49, allocations: 6.25 kB / 8.697 GB, free: 153.1 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02194/16.52, allocations: 3.973 MB / 8.7 GB, free: 152.3 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03163/16.55, allocations: 15.24 MB / 8.715 GB, free: 151.1 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/16.55, allocations: 446.4 kB / 8.716 GB, free: 151 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001964/16.55, allocations: 0.544 MB / 8.716 GB, free: 151 MB / 1.37 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01402/16.56, allocations: 9.496 MB / 8.726 GB, free: 151 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/16.58, allocations: 9.935 MB / 8.735 GB, free: 150 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/16.58, allocations: 15.22 kB / 8.735 GB, free: 150 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008225/16.58, allocations: 18.47 kB / 8.735 GB, free: 150 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/16.58, allocations: 372 kB / 8.736 GB, free: 149.9 MB / 1.37 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05957/16.64, allocations: 52.12 MB / 8.787 GB, free: 127.4 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005584/16.64, allocations: 4.597 MB / 8.791 GB, free: 127.4 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004473/16.65, allocations: 4.039 MB / 8.795 GB, free: 127.3 MB / 1.37 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02755/16.68, allocations: 19.35 MB / 8.814 GB, free: 121.8 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004503/16.68, allocations: 3.859 MB / 8.818 GB, free: 121.6 MB / 1.37 GB Notification: Performance of pre-optimization done (n=609): time 7.084e-06/16.68, allocations: 5.75 kB / 8.818 GB, free: 121.6 MB / 1.37 GB Notification: Performance of matching and sorting (n=613): time 0.03785/16.72, allocations: 18.44 MB / 8.836 GB, free: 117.3 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/16.72, allocations: 381.3 kB / 8.836 GB, free: 116.9 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009597/16.73, allocations: 7.897 MB / 8.844 GB, free: 116.3 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.0008837/16.73, allocations: 44.33 kB / 8.844 GB, free: 116.3 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.002928/16.73, allocations: 3.345 MB / 8.847 GB, free: 114.6 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.004082/16.74, allocations: 1.995 MB / 8.849 GB, free: 113.3 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/16.74, allocations: 0 / 8.849 GB, free: 113.3 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0002533/16.74, allocations: 0.575 MB / 8.85 GB, free: 113 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/16.74, allocations: 2.88 MB / 8.852 GB, free: 113 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004416/16.75, allocations: 4.981 MB / 8.857 GB, free: 110.7 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00684/16.75, allocations: 4.023 MB / 8.861 GB, free: 110.6 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/16.75, allocations: 12.06 kB / 8.861 GB, free: 110.6 MB / 1.37 GB Notification: Performance of matching and sorting (n=913) (initialization): time 0.01596/16.77, allocations: 9.338 MB / 8.87 GB, free: 109.8 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.004544/16.77, allocations: 27.04 MB / 8.897 GB, free: 98.15 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.947e-05/16.77, allocations: 46.59 kB / 8.897 GB, free: 98.15 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/16.77, allocations: 0.6193 MB / 8.897 GB, free: 98.11 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007425/16.78, allocations: 1.703 MB / 8.899 GB, free: 98.11 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00634/16.79, allocations: 8.115 MB / 8.907 GB, free: 107.7 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/16.8, allocations: 0.8691 MB / 8.908 GB, free: 107.6 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006832/16.8, allocations: 371.8 kB / 8.908 GB, free: 107.6 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-06/16.8, allocations: 3.625 kB / 8.908 GB, free: 107.6 MB / 1.401 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01441/16.81, allocations: 8.056 MB / 8.916 GB, free: 107.4 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-05/16.81, allocations: 46.41 kB / 8.916 GB, free: 107.4 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/16.82, allocations: 0.6305 MB / 8.917 GB, free: 107.3 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006579/16.82, allocations: 1.666 MB / 8.918 GB, free: 107.3 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00814/16.83, allocations: 9.374 MB / 8.927 GB, free: 99.99 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00963/16.84, allocations: 0.8287 MB / 8.928 GB, free: 99.93 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007328/16.84, allocations: 360.6 kB / 8.929 GB, free: 99.93 MB / 1.401 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: 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 (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 4,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001452/16.84, allocations: 324.8 kB / 8.929 GB, free: 99.79 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002193/16.85, allocations: 1.019 MB / 8.93 GB, free: 99.25 MB / 1.401 GB Error: Too many equations, over-determined system. The model has 697 equation(s) and 695 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/16.86, allocations: 5.375 MB / 8.935 GB, free: 99.02 MB / 1.401 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.