Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,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.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,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.DataCenterContinuousTimeControl") [: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.18/1.18, allocations: 249.4 MB / 256.7 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 189.1 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9993/0.9993, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0007759/0.000776, allocations: 99.19 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.029e-06/5.05e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1292, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.53/3.659, allocations: 2.557 GB / 3.442 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/3.659, allocations: 87.95 kB / 3.442 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 13.11/16.77, allocations: 5.016 GB / 8.458 GB, free: 52.7 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.001349/16.77, allocations: 332.4 kB / 8.458 GB, free: 52.65 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: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.02726/16.8, allocations: 11.74 MB / 8.469 GB, free: 47.57 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/16.8, allocations: 9.625 kB / 8.469 GB, free: 47.57 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02108/16.82, allocations: 3.678 MB / 8.473 GB, free: 46.81 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03154/16.85, allocations: 15.07 MB / 8.488 GB, free: 45 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/16.85, allocations: 466.2 kB / 8.488 GB, free: 44.91 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/16.85, allocations: 0.5438 MB / 8.489 GB, free: 44.91 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01441/16.87, allocations: 9.484 MB / 8.498 GB, free: 44.87 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/16.88, allocations: 9.946 MB / 8.508 GB, free: 43.82 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/16.88, allocations: 22.39 kB / 8.508 GB, free: 43.82 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008357/16.88, allocations: 13.94 kB / 8.508 GB, free: 43.82 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002216/16.88, allocations: 369.5 kB / 8.508 GB, free: 43.8 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06464/16.95, allocations: 51.5 MB / 8.558 GB, free: 21.32 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009351/16.96, allocations: 6.868 MB / 8.565 GB, free: 21.05 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004816/16.96, allocations: 3.973 MB / 8.569 GB, free: 20.98 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02687/16.99, allocations: 16.24 MB / 8.585 GB, free: 15.58 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00532/17, allocations: 3.819 MB / 8.588 GB, free: 15.39 MB / 1.089 GB Notification: Performance of pre-optimization done (n=604): time 9.378e-06/17, allocations: 2.969 kB / 8.588 GB, free: 15.39 MB / 1.089 GB Notification: Performance of matching and sorting (n=608): time 0.04199/17.04, allocations: 16.63 MB / 8.605 GB, free: 12.34 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/17.04, allocations: 386 kB / 8.605 GB, free: 27.96 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01609/17.05, allocations: 7.902 MB / 8.613 GB, free: 27.38 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001548/17.06, allocations: 44.77 kB / 8.613 GB, free: 27.34 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.004575/17.06, allocations: 3.397 MB / 8.616 GB, free: 25.66 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.005011/17.06, allocations: 1.986 MB / 8.618 GB, free: 24.34 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005186/17.07, allocations: 4.469 kB / 8.618 GB, free: 24.34 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0003785/17.07, allocations: 0.5749 MB / 8.619 GB, free: 24.02 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003943/17.07, allocations: 2.858 MB / 8.621 GB, free: 24 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/17.07, allocations: 5.061 MB / 8.626 GB, free: 21.63 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007212/17.08, allocations: 4.028 MB / 8.63 GB, free: 21.53 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-05/17.08, allocations: 13.34 kB / 8.63 GB, free: 21.53 MB / 1.104 GB Notification: Performance of matching and sorting (n=907) (initialization): time 0.01797/17.1, allocations: 9.358 MB / 8.64 GB, free: 20.75 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.006642/17.11, allocations: 26.31 MB / 8.665 GB, free: 9.82 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.821e-05/17.11, allocations: 43.5 kB / 8.665 GB, free: 9.82 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/17.11, allocations: 0.61 MB / 8.666 GB, free: 9.773 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007992/17.12, allocations: 1.728 MB / 8.668 GB, free: 9.773 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006694/17.12, allocations: 8.08 MB / 8.675 GB, free: 3.348 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/17.13, allocations: 0.8129 MB / 8.676 GB, free: 3.281 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008854/17.14, allocations: 368 kB / 8.677 GB, free: 3.281 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/17.14, allocations: 8.656 kB / 8.677 GB, free: 3.281 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0152/17.15, allocations: 8.083 MB / 8.684 GB, free: 3.055 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.269e-05/17.15, allocations: 46.41 kB / 8.685 GB, free: 3.055 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/17.15, allocations: 0.616 MB / 8.685 GB, free: 3.008 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006826/17.16, allocations: 1.692 MB / 8.687 GB, free: 3.008 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008762/17.17, allocations: 9.209 MB / 8.696 GB, free: 11.73 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/17.18, allocations: 0.7775 MB / 8.697 GB, free: 11.68 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000825/17.18, allocations: 361.1 kB / 8.697 GB, free: 11.68 MB / 1.135 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: 205 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,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.conPID.I.trigger_internal,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 854 * 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.001683/17.18, allocations: 314.8 kB / 8.697 GB, free: 11.54 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001946/17.18, allocations: 1.019 MB / 8.698 GB, free: 11 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 699 equation(s) and 697 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/17.2, allocations: 5.376 MB / 8.703 GB, free: 10.77 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.