Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",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.1.4-maint.8.1.x/package.mo): time 1.388/1.388, allocations: 289.8 MB / 297 MB, free: 6.59 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.001025/0.001025, allocations: 181.2 kB / 366.3 MB, free: 1.938 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.089/1.089, allocations: 205.2 MB / 0.6256 GB, free: 5.781 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.0008617/0.0008617, allocations: 90.11 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2043/0.2052, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.6769, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.952/4.629, allocations: 2.439 GB / 3.411 GB, free: 327.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/4.629, allocations: 90.72 kB / 3.411 GB, free: 327.5 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: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 14.39/19.02, allocations: 5.158 GB / 8.57 GB, free: 7.336 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/19.02, allocations: 14.5 kB / 8.57 GB, free: 7.324 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02396/19.04, allocations: 3.679 MB / 8.573 GB, free: 3.625 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9452/19.99, allocations: 14.97 MB / 8.588 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005871/19.99, allocations: 452.8 kB / 8.588 GB, free: 120.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003195/19.99, allocations: 0.5451 MB / 8.589 GB, free: 120.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01746/20.01, allocations: 9.422 MB / 8.598 GB, free: 120.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/20.03, allocations: 9.89 MB / 8.608 GB, free: 119.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002068/20.03, allocations: 17.47 kB / 8.608 GB, free: 119.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000945/20.03, allocations: 15.94 kB / 8.608 GB, free: 119.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/20.03, allocations: 367.7 kB / 8.608 GB, free: 119.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07246/20.1, allocations: 51.16 MB / 8.658 GB, free: 97.32 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/20.11, allocations: 6.97 MB / 8.665 GB, free: 96.93 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006056/20.12, allocations: 3.985 MB / 8.669 GB, free: 96.85 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02905/20.15, allocations: 16.4 MB / 8.685 GB, free: 91.34 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005639/20.15, allocations: 3.846 MB / 8.688 GB, free: 91.13 MB / 1.167 GB Notification: Performance of pre-optimization done (n=608): time 9.618e-06/20.15, allocations: 0 / 8.688 GB, free: 91.13 MB / 1.167 GB Notification: Performance of matching and sorting (n=612): time 0.04962/20.2, allocations: 18.29 MB / 8.706 GB, free: 86.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/20.2, allocations: 383.7 kB / 8.707 GB, free: 86.42 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01479/20.22, allocations: 7.813 MB / 8.714 GB, free: 85.84 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001509/20.22, allocations: 48.17 kB / 8.714 GB, free: 85.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003949/20.22, allocations: 3.35 MB / 8.718 GB, free: 84.16 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00489/20.23, allocations: 1.984 MB / 8.72 GB, free: 82.84 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007737/20.23, allocations: 0 / 8.72 GB, free: 82.84 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004041/20.23, allocations: 0.5762 MB / 8.72 GB, free: 82.52 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004577/20.24, allocations: 2.863 MB / 8.723 GB, free: 82.51 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005906/20.24, allocations: 5.074 MB / 8.728 GB, free: 80.12 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008865/20.25, allocations: 4.023 MB / 8.732 GB, free: 80.01 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.638e-05/20.25, allocations: 15.09 kB / 8.732 GB, free: 80.01 MB / 1.167 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.02101/20.27, allocations: 9.364 MB / 8.741 GB, free: 79.23 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003583/20.27, allocations: 26.61 MB / 8.767 GB, free: 51.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.313e-05/20.27, allocations: 45.53 kB / 8.767 GB, free: 51.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/20.28, allocations: 0.6118 MB / 8.768 GB, free: 51.87 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008058/20.29, allocations: 1.717 MB / 8.769 GB, free: 51.87 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006817/20.29, allocations: 8.08 MB / 8.777 GB, free: 45.44 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/20.3, allocations: 0.801 MB / 8.778 GB, free: 45.38 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/20.31, allocations: 375.1 kB / 8.778 GB, free: 45.38 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.902e-06/20.31, allocations: 3.062 kB / 8.778 GB, free: 45.38 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01872/20.32, allocations: 8.093 MB / 8.786 GB, free: 45.15 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/20.32, allocations: 45.88 kB / 8.786 GB, free: 45.15 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/20.33, allocations: 0.6174 MB / 8.787 GB, free: 45.11 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00764/20.34, allocations: 1.681 MB / 8.788 GB, free: 45.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008336/20.34, allocations: 9.214 MB / 8.797 GB, free: 53.83 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/20.36, allocations: 0.7747 MB / 8.798 GB, free: 53.77 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/20.36, allocations: 353.3 kB / 8.799 GB, free: 53.77 MB / 1.182 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: 208 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,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.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 858 * 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.002785/20.36, allocations: 320.5 kB / 8.799 GB, free: 53.63 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003814/20.36, allocations: 1.009 MB / 8.8 GB, free: 53.09 MB / 1.182 GB Error: Too many equations, over-determined system. The model has 700 equation(s) and 698 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/20.38, allocations: 5.378 MB / 8.805 GB, free: 52.87 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl could not be translated to FMU