Running: ./testmodel.py --libraries=/home/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 (/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.222/2.222, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.001644/0.001644, allocations: 186.8 kB / 315.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.1 MB / 0.5658 GB, free: 388 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 86.64 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4835/0.4848, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.699, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.078/7.777, allocations: 2.557 GB / 3.441 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006017/7.778, allocations: 85.45 kB / 3.441 GB, free: 136.7 MB / 0.8698 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 27.76/35.54, allocations: 5.029 GB / 8.47 GB, free: 46.82 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/35.54, allocations: 10.67 kB / 8.47 GB, free: 46.82 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04301/35.58, allocations: 3.681 MB / 8.474 GB, free: 46.05 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07822/35.66, allocations: 15.1 MB / 8.488 GB, free: 44.23 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001616/35.66, allocations: 449 kB / 8.489 GB, free: 44.14 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00573/35.67, allocations: 0.5523 MB / 8.489 GB, free: 44.14 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04362/35.71, allocations: 9.491 MB / 8.499 GB, free: 44.1 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05385/35.77, allocations: 9.945 MB / 8.508 GB, free: 43.05 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007985/35.77, allocations: 25.94 kB / 8.508 GB, free: 43.05 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004341/35.77, allocations: 12.25 kB / 8.508 GB, free: 43.05 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005118/35.77, allocations: 369.7 kB / 8.509 GB, free: 43.03 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1652/35.94, allocations: 51.45 MB / 8.559 GB, free: 20.48 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02434/35.96, allocations: 6.883 MB / 8.566 GB, free: 20.16 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01757/35.98, allocations: 3.991 MB / 8.57 GB, free: 20.1 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07238/36.05, allocations: 16.21 MB / 8.585 GB, free: 14.66 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01857/36.07, allocations: 3.823 MB / 8.589 GB, free: 14.47 MB / 1.089 GB Notification: Performance of pre-optimization done (n=604): time 2.53e-05/36.07, allocations: 2.953 kB / 8.589 GB, free: 14.47 MB / 1.089 GB Notification: Performance of matching and sorting (n=646): time 0.1282/36.2, allocations: 19.74 MB / 8.608 GB, free: 11.34 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002327/36.2, allocations: 385.3 kB / 8.609 GB, free: 10.96 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02786/36.23, allocations: 7.906 MB / 8.617 GB, free: 10.37 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002488/36.23, allocations: 50.92 kB / 8.617 GB, free: 10.34 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.008234/36.24, allocations: 3.388 MB / 8.62 GB, free: 8.66 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.009793/36.25, allocations: 2.115 MB / 8.622 GB, free: 7.254 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/36.25, allocations: 3.312 kB / 8.622 GB, free: 7.254 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0008754/36.25, allocations: 0.5846 MB / 8.623 GB, free: 6.938 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01081/36.26, allocations: 3.084 MB / 8.626 GB, free: 6.922 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0138/36.28, allocations: 5.308 MB / 8.631 GB, free: 4.535 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01808/36.29, allocations: 4.292 MB / 8.635 GB, free: 4.434 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001919/36.29, allocations: 12.34 kB / 8.635 GB, free: 4.434 MB / 1.089 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.06022/36.35, allocations: 11.18 MB / 8.646 GB, free: 3.629 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01361/36.37, allocations: 26.32 MB / 8.672 GB, free: 8.691 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003292/36.37, allocations: 46.28 kB / 8.672 GB, free: 8.691 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02482/36.39, allocations: 4.039 MB / 8.676 GB, free: 8.609 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01231/36.41, allocations: 1.314 MB / 8.677 GB, free: 8.605 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03576/36.44, allocations: 13.78 MB / 8.69 GB, free: 3.766 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02216/36.46, allocations: 0.836 MB / 8.691 GB, free: 3.699 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002887/36.47, allocations: 375.6 kB / 8.691 GB, free: 3.699 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/36.47, allocations: 5.375 kB / 8.691 GB, free: 3.699 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0458/36.51, allocations: 9.874 MB / 8.701 GB, free: 3.234 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003726/36.51, allocations: 45.31 kB / 8.701 GB, free: 3.234 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02734/36.54, allocations: 4.041 MB / 8.705 GB, free: 3.145 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01598/36.56, allocations: 1.295 MB / 8.706 GB, free: 3.059 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04688/36.6, allocations: 15.48 MB / 8.721 GB, free: 11.84 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02099/36.62, allocations: 0.7994 MB / 8.722 GB, free: 11.78 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003195/36.63, allocations: 363.8 kB / 8.723 GB, free: 11.72 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.005409/36.63, allocations: 322 kB / 8.723 GB, free: 11.48 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006205/36.64, allocations: 1.037 MB / 8.724 GB, free: 10.93 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.03156/36.67, allocations: 5.644 MB / 8.729 GB, free: 7.715 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl could not be translated to FMU