Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.13/2.13, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001626/0.001626, allocations: 195.4 kB / 360.3 MB, free: 7.531 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.643/1.643, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001241/0.001241, allocations: 96.09 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2434/0.2446, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.791, allocations: 115.2 MB / 0.9627 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.91/5.701, allocations: 2.438 GB / 3.4 GB, free: 39.44 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/5.701, allocations: 83.28 kB / 3.4 GB, free: 39.4 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 22.41/28.11, allocations: 5.16 GB / 8.561 GB, free: 1.348 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/28.11, allocations: 8 kB / 8.561 GB, free: 1.34 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0399/28.15, allocations: 3.686 MB / 8.564 GB, free: 13.62 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.223/29.37, allocations: 14.97 MB / 8.579 GB, free: 140 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008852/29.37, allocations: 452.7 kB / 8.579 GB, free: 139.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004038/29.38, allocations: 0.5504 MB / 8.58 GB, free: 139.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0335/29.41, allocations: 9.438 MB / 8.589 GB, free: 139.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03699/29.45, allocations: 9.887 MB / 8.599 GB, free: 138.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004395/29.45, allocations: 16.69 kB / 8.599 GB, free: 138.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003012/29.45, allocations: 21.73 kB / 8.599 GB, free: 138.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003597/29.45, allocations: 366.8 kB / 8.599 GB, free: 138.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/29.57, allocations: 51.09 MB / 8.649 GB, free: 117.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/29.59, allocations: 4.604 MB / 8.653 GB, free: 117.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01082/29.6, allocations: 4.029 MB / 8.657 GB, free: 117.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06195/29.66, allocations: 19.24 MB / 8.676 GB, free: 112.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01196/29.67, allocations: 3.833 MB / 8.68 GB, free: 111.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=609): time 1.195e-05/29.67, allocations: 2.688 kB / 8.68 GB, free: 111.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=658): time 0.09691/29.77, allocations: 21.52 MB / 8.701 GB, free: 107.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/29.77, allocations: 387.1 kB / 8.701 GB, free: 107.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02333/29.79, allocations: 7.81 MB / 8.709 GB, free: 106.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002213/29.8, allocations: 51.5 kB / 8.709 GB, free: 106.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006619/29.8, allocations: 3.339 MB / 8.712 GB, free: 105.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007512/29.81, allocations: 2.141 MB / 8.714 GB, free: 104.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/29.81, allocations: 2.156 kB / 8.714 GB, free: 104.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000635/29.81, allocations: 0.5872 MB / 8.715 GB, free: 104.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009581/29.82, allocations: 3.099 MB / 8.718 GB, free: 104.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01199/29.83, allocations: 5.351 MB / 8.723 GB, free: 101.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02066/29.85, allocations: 4.325 MB / 8.727 GB, free: 101.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001501/29.85, allocations: 13.31 kB / 8.727 GB, free: 101.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.04362/29.9, allocations: 11.21 MB / 8.738 GB, free: 100.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005643/29.9, allocations: 26.99 MB / 8.765 GB, free: 73.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002882/29.9, allocations: 48.34 kB / 8.765 GB, free: 73.02 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02379/29.93, allocations: 4.047 MB / 8.769 GB, free: 72.93 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01118/29.94, allocations: 1.297 MB / 8.77 GB, free: 72.93 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02968/29.97, allocations: 13.8 MB / 8.783 GB, free: 68.14 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01991/29.99, allocations: 0.8279 MB / 8.784 GB, free: 68.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002515/29.99, allocations: 383.5 kB / 8.785 GB, free: 68.07 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/29.99, allocations: 3.875 kB / 8.785 GB, free: 68.07 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03432/30.03, allocations: 9.805 MB / 8.794 GB, free: 67.85 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/30.03, allocations: 45.88 kB / 8.794 GB, free: 67.85 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02392/30.05, allocations: 4.049 MB / 8.798 GB, free: 67.76 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/30.06, allocations: 1.272 MB / 8.799 GB, free: 67.76 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0333/30.09, allocations: 15.64 MB / 8.815 GB, free: 61.44 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01926/30.11, allocations: 0.7808 MB / 8.815 GB, free: 61.39 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002472/30.12, allocations: 368.4 kB / 8.816 GB, free: 61.39 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[4].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[3].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[2].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: 211 * 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.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$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 (741): * Single equations (assignments): 731 * 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.002827/30.12, allocations: 338.3 kB / 8.816 GB, free: 61.24 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003611/30.12, allocations: 1.022 MB / 8.817 GB, free: 60.7 MB / 1.167 GB Error: Too many equations, over-determined system. The model has 742 equation(s) and 740 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02509/30.15, allocations: 5.626 MB / 8.823 GB, free: 60.47 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl could not be translated to FMU