Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.09/2.09, allocations: 253.1 MB / 260.4 MB, free: 7.434 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002317/0.002316, allocations: 189.2 kB / 319.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 0.5704 GB, free: 15.01 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001271/0.00127, allocations: 96.62 kB / 0.6746 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.686e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.21, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.402/6.612, allocations: 2.555 GB / 3.443 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/6.612, allocations: 79.66 kB / 3.443 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 24.63/31.24, allocations: 5.016 GB / 8.459 GB, free: 53.02 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003249/31.24, allocations: 326.8 kB / 8.46 GB, free: 52.97 MB / 1.089 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.05284/31.3, allocations: 11.8 MB / 8.471 GB, free: 47.8 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/31.3, allocations: 13.31 kB / 8.471 GB, free: 47.8 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03956/31.34, allocations: 3.667 MB / 8.475 GB, free: 47.04 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06729/31.4, allocations: 15 MB / 8.49 GB, free: 45.23 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/31.41, allocations: 452 kB / 8.49 GB, free: 45.15 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004878/31.41, allocations: 0.5542 MB / 8.491 GB, free: 45.14 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03833/31.45, allocations: 9.452 MB / 8.5 GB, free: 45.11 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04429/31.49, allocations: 9.897 MB / 8.509 GB, free: 44.08 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007041/31.49, allocations: 26.8 kB / 8.509 GB, free: 44.08 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00424/31.5, allocations: 13.06 kB / 8.509 GB, free: 44.08 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005016/31.5, allocations: 366.7 kB / 8.51 GB, free: 44.06 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1379/31.64, allocations: 51.11 MB / 8.56 GB, free: 21.71 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02088/31.66, allocations: 6.871 MB / 8.566 GB, free: 21.38 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.012/31.67, allocations: 3.999 MB / 8.57 GB, free: 21.3 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06034/31.73, allocations: 16.24 MB / 8.586 GB, free: 15.81 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01408/31.74, allocations: 3.844 MB / 8.59 GB, free: 15.61 MB / 1.089 GB Notification: Performance of pre-optimization done (n=609): time 1.656e-05/31.74, allocations: 1.406 kB / 8.59 GB, free: 15.61 MB / 1.089 GB Notification: Performance of matching and sorting (n=651): time 0.1342/31.88, allocations: 21.37 MB / 8.611 GB, free: 11.18 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002546/31.88, allocations: 389.5 kB / 8.611 GB, free: 10.79 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03646/31.92, allocations: 7.848 MB / 8.619 GB, free: 10.21 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002986/31.92, allocations: 49.23 kB / 8.619 GB, free: 10.18 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01049/31.93, allocations: 3.365 MB / 8.622 GB, free: 8.504 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.01233/31.94, allocations: 2.112 MB / 8.624 GB, free: 7.102 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002384/31.94, allocations: 1.219 kB / 8.624 GB, free: 7.102 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001133/31.94, allocations: 0.5927 MB / 8.625 GB, free: 6.781 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0144/31.96, allocations: 3.078 MB / 8.628 GB, free: 6.762 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01788/31.98, allocations: 5.317 MB / 8.633 GB, free: 4.363 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02549/32, allocations: 4.281 MB / 8.637 GB, free: 4.258 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/32, allocations: 14.94 kB / 8.637 GB, free: 4.258 MB / 1.089 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.0636/32.07, allocations: 11.13 MB / 8.648 GB, free: 3.465 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01345/32.08, allocations: 26.61 MB / 8.674 GB, free: 8.137 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002944/32.08, allocations: 44.81 kB / 8.674 GB, free: 8.137 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03051/32.11, allocations: 4.046 MB / 8.678 GB, free: 8.051 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01524/32.13, allocations: 1.308 MB / 8.679 GB, free: 8.051 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03938/32.17, allocations: 13.79 MB / 8.693 GB, free: 3.258 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02173/32.19, allocations: 0.8324 MB / 8.694 GB, free: 3.191 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002954/32.19, allocations: 382.2 kB / 8.694 GB, free: 3.191 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/32.19, allocations: 2.938 kB / 8.694 GB, free: 3.191 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07756/32.27, allocations: 10.99 MB / 8.705 GB, free: 2.754 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002132/32.27, allocations: 46.12 kB / 8.705 GB, free: 2.754 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02526/32.29, allocations: 4.052 MB / 8.709 GB, free: 2.66 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01219/32.31, allocations: 1.28 MB / 8.71 GB, free: 2.574 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04482/32.35, allocations: 15.48 MB / 8.725 GB, free: 12.29 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0207/32.37, allocations: 0.7875 MB / 8.726 GB, free: 12.23 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002981/32.37, allocations: 370.7 kB / 8.726 GB, free: 12.23 MB / 1.135 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[2].con1.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: 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 (735): * Single equations (assignments): 725 * 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 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005107/32.38, allocations: 322.1 kB / 8.727 GB, free: 12 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006402/32.39, allocations: 1.02 MB / 8.728 GB, free: 11.46 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 739 equation(s) and 737 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03244/32.42, allocations: 5.636 MB / 8.733 GB, free: 9.93 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.