Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 1.974/1.974, allocations: 253.1 MB / 260.4 MB, free: 0.5703 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.00163/0.001629, allocations: 183 kB / 319.6 MB, free: 7.676 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 2.061/2.061, allocations: 205.4 MB / 0.5704 GB, free: 25.64 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.001345/0.001345, allocations: 83.42 kB / 0.6746 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.654e-06/7.835e-06, allocations: 0 / 0.7843 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.5199, allocations: 106.2 MB / 0.888 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.423/6.943, allocations: 2.556 GB / 3.444 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/6.943, allocations: 85.84 kB / 3.444 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 23.8/30.74, allocations: 5.018 GB / 8.462 GB, free: 1.848 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.003102/30.74, allocations: 323.7 kB / 8.462 GB, free: 1.531 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: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.05598/30.8, allocations: 11.73 MB / 8.474 GB, free: 5.676 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/30.8, allocations: 8.031 kB / 8.474 GB, free: 5.668 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03978/30.84, allocations: 3.678 MB / 8.477 GB, free: 1.969 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07108/30.91, allocations: 15.09 MB / 8.492 GB, free: 2.777 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001182/30.91, allocations: 448.8 kB / 8.492 GB, free: 2.324 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005178/30.92, allocations: 0.5584 MB / 8.493 GB, free: 1.766 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.704/31.62, allocations: 9.487 MB / 8.502 GB, free: 106.1 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04254/31.66, allocations: 9.947 MB / 8.512 GB, free: 105.1 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005058/31.67, allocations: 22.03 kB / 8.512 GB, free: 105.1 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003513/31.67, allocations: 16.31 kB / 8.512 GB, free: 105.1 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003933/31.67, allocations: 371.6 kB / 8.512 GB, free: 105.1 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.135/31.8, allocations: 51.45 MB / 8.563 GB, free: 83.55 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/31.82, allocations: 6.886 MB / 8.569 GB, free: 83.29 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01181/31.84, allocations: 3.991 MB / 8.573 GB, free: 83.22 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05705/31.89, allocations: 16.21 MB / 8.589 GB, free: 77.95 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01277/31.91, allocations: 3.821 MB / 8.593 GB, free: 77.76 MB / 1.104 GB Notification: Performance of pre-optimization done (n=604): time 1.447e-05/31.91, allocations: 0 / 8.593 GB, free: 77.76 MB / 1.104 GB Notification: Performance of matching and sorting (n=646): time 0.1007/32.01, allocations: 19.74 MB / 8.612 GB, free: 74.96 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/32.01, allocations: 383.2 kB / 8.612 GB, free: 74.57 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02648/32.03, allocations: 7.903 MB / 8.62 GB, free: 74.02 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002419/32.04, allocations: 43.55 kB / 8.62 GB, free: 73.99 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.007575/32.04, allocations: 3.398 MB / 8.623 GB, free: 72.79 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.008128/32.05, allocations: 2.116 MB / 8.625 GB, free: 71.48 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/32.05, allocations: 0 / 8.625 GB, free: 71.48 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0008303/32.05, allocations: 0.5916 MB / 8.626 GB, free: 71.16 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01074/32.06, allocations: 3.086 MB / 8.629 GB, free: 71.14 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01314/32.08, allocations: 5.307 MB / 8.634 GB, free: 68.77 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/32.1, allocations: 4.295 MB / 8.638 GB, free: 68.66 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/32.1, allocations: 11.38 kB / 8.638 GB, free: 68.66 MB / 1.104 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.04845/32.14, allocations: 11.19 MB / 8.649 GB, free: 67.86 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.009879/32.15, allocations: 26.32 MB / 8.675 GB, free: 72.93 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002812/32.15, allocations: 47.52 kB / 8.675 GB, free: 72.93 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02403/32.18, allocations: 4.035 MB / 8.679 GB, free: 72.83 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01502/32.19, allocations: 1.316 MB / 8.68 GB, free: 72.83 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05332/32.25, allocations: 13.78 MB / 8.694 GB, free: 68.03 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03225/32.28, allocations: 0.8316 MB / 8.695 GB, free: 67.97 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00365/32.28, allocations: 376.4 kB / 8.695 GB, free: 67.97 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/32.28, allocations: 6 kB / 8.695 GB, free: 67.97 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07058/32.35, allocations: 9.867 MB / 8.705 GB, free: 67.73 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003687/32.36, allocations: 44.44 kB / 8.705 GB, free: 67.73 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05232/32.41, allocations: 4.042 MB / 8.709 GB, free: 67.64 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01523/32.42, allocations: 1.296 MB / 8.71 GB, free: 67.64 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0533/32.48, allocations: 15.48 MB / 8.725 GB, free: 61.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02334/32.5, allocations: 0.7949 MB / 8.726 GB, free: 61.35 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00266/32.5, allocations: 368.5 kB / 8.726 GB, free: 61.35 MB / 1.135 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[3].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[2].con1.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] cooCoi.ele[4].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: 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 (730): * Single equations (assignments): 720 * 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.00447/32.51, allocations: 319.9 kB / 8.726 GB, free: 61.21 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004602/32.51, allocations: 1.025 MB / 8.727 GB, free: 60.67 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 737 equation(s) and 735 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02929/32.54, allocations: 5.65 MB / 8.733 GB, free: 60.43 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.