Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.346/1.346, allocations: 285.5 MB / 292.8 MB, free: 9.781 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.000926/0.000926, allocations: 177.3 kB / 361.1 MB, free: 344 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.014/1.014, allocations: 205.1 MB / 0.6195 GB, free: 2.801 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007774/0.0007774, allocations: 85.72 kB / 0.7326 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3417/0.3425, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.481, allocations: 115.3 MB / 0.9637 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.352/3.833, allocations: 2.44 GB / 3.403 GB, free: 313.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/3.833, allocations: 82.28 kB / 3.403 GB, free: 313.8 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 13.3/17.13, allocations: 5.162 GB / 8.565 GB, free: 46.78 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/17.13, allocations: 7.031 kB / 8.565 GB, free: 46.78 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02219/17.15, allocations: 3.686 MB / 8.569 GB, free: 46.02 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03689/17.19, allocations: 15.06 MB / 8.584 GB, free: 44.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006324/17.19, allocations: 452.7 kB / 8.584 GB, free: 44.11 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002897/17.19, allocations: 0.5482 MB / 8.585 GB, free: 44.11 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01863/17.21, allocations: 9.469 MB / 8.594 GB, free: 44.07 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/17.23, allocations: 9.939 MB / 8.604 GB, free: 43.02 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002551/17.23, allocations: 21.31 kB / 8.604 GB, free: 43.02 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/17.24, allocations: 12.56 kB / 8.604 GB, free: 43.02 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/17.24, allocations: 372.1 kB / 8.604 GB, free: 43 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06999/17.31, allocations: 51.45 MB / 8.654 GB, free: 20.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006788/17.31, allocations: 4.604 MB / 8.659 GB, free: 20.42 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005434/17.32, allocations: 4.034 MB / 8.663 GB, free: 20.36 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03217/17.35, allocations: 19.21 MB / 8.681 GB, free: 14.91 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005187/17.36, allocations: 3.812 MB / 8.685 GB, free: 14.71 MB / 1.151 GB Notification: Performance of pre-optimization done (n=604): time 9.427e-06/17.36, allocations: 0 / 8.685 GB, free: 14.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=653): time 0.04765/17.4, allocations: 19.88 MB / 8.705 GB, free: 11.59 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.399e-05/17.4, allocations: 383.7 kB / 8.705 GB, free: 11.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/17.42, allocations: 7.879 MB / 8.713 GB, free: 10.62 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/17.42, allocations: 46.95 kB / 8.713 GB, free: 10.59 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00386/17.42, allocations: 3.373 MB / 8.716 GB, free: 8.914 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004751/17.43, allocations: 2.139 MB / 8.718 GB, free: 7.492 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006546/17.43, allocations: 4.656 kB / 8.718 GB, free: 7.488 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003545/17.43, allocations: 0.5908 MB / 8.719 GB, free: 7.172 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004324/17.43, allocations: 3.103 MB / 8.722 GB, free: 7.156 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005288/17.44, allocations: 5.345 MB / 8.727 GB, free: 4.758 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007782/17.45, allocations: 4.328 MB / 8.731 GB, free: 4.648 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.732e-05/17.45, allocations: 18.23 kB / 8.731 GB, free: 4.648 MB / 1.151 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.02008/17.47, allocations: 11.21 MB / 8.742 GB, free: 3.828 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.006801/17.47, allocations: 26.7 MB / 8.768 GB, free: 8.488 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/17.47, allocations: 45.59 kB / 8.768 GB, free: 8.488 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/17.49, allocations: 4.036 MB / 8.772 GB, free: 8.402 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005164/17.49, allocations: 1.308 MB / 8.773 GB, free: 8.312 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/17.51, allocations: 13.8 MB / 8.787 GB, free: 3.457 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/17.52, allocations: 0.8265 MB / 8.788 GB, free: 3.395 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/17.52, allocations: 374.7 kB / 8.788 GB, free: 3.395 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/17.52, allocations: 4.031 kB / 8.788 GB, free: 3.395 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01927/17.54, allocations: 9.819 MB / 8.798 GB, free: 0.8711 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-05/17.54, allocations: 45.94 kB / 8.798 GB, free: 0.8711 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01148/17.55, allocations: 4.062 MB / 8.802 GB, free: 15.96 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/17.56, allocations: 1.286 MB / 8.803 GB, free: 15.83 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/17.58, allocations: 15.63 MB / 8.818 GB, free: 5.914 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/17.59, allocations: 0.7973 MB / 8.819 GB, free: 5.383 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/17.59, allocations: 370.9 kB / 8.819 GB, free: 5.062 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.002169/17.59, allocations: 313.8 kB / 8.82 GB, free: 4.758 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002791/17.59, allocations: 1.032 MB / 8.821 GB, free: 3.715 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.01573/17.61, allocations: 5.85 MB / 8.826 GB, free: 15.94 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl could not be translated to FMU