Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) [: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 8.0.0/package.mo): time 2.124/2.124, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, allocations: 177.3 kB / 360.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 87.47 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2428/0.2441, allocations: 121.4 MB / 0.8502 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.7924, allocations: 115.2 MB / 0.9627 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.904/5.696, allocations: 2.439 GB / 3.402 GB, free: 10.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/5.696, allocations: 89.64 kB / 3.402 GB, free: 10.48 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 23.19/28.89, allocations: 5.162 GB / 8.564 GB, free: 64.39 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/28.89, allocations: 10 kB / 8.564 GB, free: 64.39 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03777/28.93, allocations: 3.684 MB / 8.567 GB, free: 63.62 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06062/28.99, allocations: 15.07 MB / 8.582 GB, free: 61.81 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008459/28.99, allocations: 453.8 kB / 8.582 GB, free: 61.73 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003887/28.99, allocations: 0.552 MB / 8.583 GB, free: 61.72 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0322/29.03, allocations: 9.469 MB / 8.592 GB, free: 61.68 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03776/29.06, allocations: 9.935 MB / 8.602 GB, free: 60.64 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003582/29.06, allocations: 16.94 kB / 8.602 GB, free: 60.64 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002167/29.07, allocations: 12.16 kB / 8.602 GB, free: 60.64 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003436/29.07, allocations: 371.8 kB / 8.602 GB, free: 60.62 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.122/29.19, allocations: 51.45 MB / 8.653 GB, free: 38.17 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01366/29.2, allocations: 4.593 MB / 8.657 GB, free: 38.12 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01156/29.21, allocations: 4.037 MB / 8.661 GB, free: 38.06 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06248/29.28, allocations: 19.2 MB / 8.68 GB, free: 32.67 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01012/29.29, allocations: 3.816 MB / 8.683 GB, free: 32.47 MB / 1.167 GB Notification: Performance of pre-optimization done (n=604): time 1.074e-05/29.29, allocations: 0 / 8.683 GB, free: 32.47 MB / 1.167 GB Notification: Performance of matching and sorting (n=653): time 0.08817/29.37, allocations: 19.88 MB / 8.703 GB, free: 29.36 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/29.37, allocations: 383.4 kB / 8.703 GB, free: 28.98 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02399/29.4, allocations: 7.873 MB / 8.711 GB, free: 28.39 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002135/29.4, allocations: 48.58 kB / 8.711 GB, free: 28.36 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006124/29.41, allocations: 3.379 MB / 8.714 GB, free: 26.68 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007154/29.41, allocations: 2.144 MB / 8.716 GB, free: 25.25 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008362/29.42, allocations: 1.125 kB / 8.716 GB, free: 25.25 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005647/29.42, allocations: 0.5936 MB / 8.717 GB, free: 24.94 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008703/29.42, allocations: 3.101 MB / 8.72 GB, free: 24.92 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/29.44, allocations: 5.346 MB / 8.725 GB, free: 22.52 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/29.45, allocations: 4.331 MB / 8.729 GB, free: 22.41 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.338e-05/29.45, allocations: 14.41 kB / 8.729 GB, free: 22.41 MB / 1.167 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.04045/29.49, allocations: 11.2 MB / 8.74 GB, free: 21.61 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.009328/29.5, allocations: 26.7 MB / 8.766 GB, free: 26.29 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002558/29.5, allocations: 51.81 kB / 8.767 GB, free: 26.29 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02324/29.53, allocations: 4.042 MB / 8.77 GB, free: 26.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/29.54, allocations: 1.304 MB / 8.772 GB, free: 26.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03067/29.57, allocations: 13.8 MB / 8.785 GB, free: 21.39 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01966/29.59, allocations: 0.8227 MB / 8.786 GB, free: 21.33 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002518/29.59, allocations: 382.2 kB / 8.786 GB, free: 21.33 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/29.59, allocations: 3.094 kB / 8.786 GB, free: 21.33 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03588/29.63, allocations: 9.817 MB / 8.796 GB, free: 21.11 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002068/29.63, allocations: 48.88 kB / 8.796 GB, free: 21.11 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02405/29.65, allocations: 4.056 MB / 8.8 GB, free: 21.01 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0107/29.66, allocations: 1.28 MB / 8.801 GB, free: 21.01 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03473/29.7, allocations: 15.63 MB / 8.816 GB, free: 14.71 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01979/29.72, allocations: 0.7986 MB / 8.817 GB, free: 14.66 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002472/29.72, allocations: 367.1 kB / 8.818 GB, free: 14.66 MB / 1.198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[2].con2.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[3].con2.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] 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: 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 (736): * Single equations (assignments): 726 * 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 4,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00334/29.72, allocations: 313.1 kB / 8.818 GB, free: 14.51 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003936/29.73, allocations: 1.027 MB / 8.819 GB, free: 13.97 MB / 1.198 GB Error: Too many equations, over-determined system. The model has 740 equation(s) and 738 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02596/29.75, allocations: 5.651 MB / 8.824 GB, free: 13.73 MB / 1.198 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl could not be translated to FMU