Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.103/2.103, allocations: 248.6 MB / 255.9 MB, free: 7.227 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.001728/0.001728, allocations: 175.5 kB / 315.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.1 MB / 0.5658 GB, free: 368 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.001297/0.001296, allocations: 98.69 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5768/0.5782, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.8665, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.963/7.83, allocations: 2.555 GB / 3.439 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/7.83, allocations: 90.77 kB / 3.439 GB, free: 138.9 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: 2243 * Number of variables: 2243 Notification: Performance of Generate backend data structure: time 27.62/35.45, allocations: 5.028 GB / 8.467 GB, free: 51.04 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/35.45, allocations: 7.719 kB / 8.467 GB, free: 51.04 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03989/35.49, allocations: 3.678 MB / 8.47 GB, free: 50.27 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07141/35.56, allocations: 15 MB / 8.485 GB, free: 48.46 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001263/35.56, allocations: 452 kB / 8.485 GB, free: 48.38 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0072/35.57, allocations: 0.5546 MB / 8.486 GB, free: 48.38 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05259/35.62, allocations: 9.454 MB / 8.495 GB, free: 48.33 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04622/35.67, allocations: 9.9 MB / 8.505 GB, free: 47.31 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007832/35.67, allocations: 19.34 kB / 8.505 GB, free: 47.31 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004578/35.67, allocations: 19.77 kB / 8.505 GB, free: 47.31 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005323/35.68, allocations: 365.9 kB / 8.505 GB, free: 47.29 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1622/35.84, allocations: 51.11 MB / 8.555 GB, free: 24.93 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02762/35.87, allocations: 6.872 MB / 8.562 GB, free: 24.61 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01279/35.88, allocations: 3.991 MB / 8.566 GB, free: 24.54 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0663/35.94, allocations: 16.25 MB / 8.582 GB, free: 19.05 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01803/35.96, allocations: 3.843 MB / 8.585 GB, free: 18.84 MB / 1.089 GB Notification: Performance of pre-optimization done (n=609): time 1.549e-05/35.96, allocations: 0 / 8.585 GB, free: 18.84 MB / 1.089 GB Notification: Performance of matching and sorting (n=651): time 0.1256/36.09, allocations: 21.39 MB / 8.606 GB, free: 14.4 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/36.09, allocations: 387.4 kB / 8.607 GB, free: 14.02 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03321/36.12, allocations: 7.85 MB / 8.614 GB, free: 13.44 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002458/36.12, allocations: 47.83 kB / 8.614 GB, free: 13.41 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.00807/36.13, allocations: 3.355 MB / 8.618 GB, free: 11.74 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.008726/36.14, allocations: 2.112 MB / 8.62 GB, free: 10.34 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002201/36.14, allocations: 2.625 kB / 8.62 GB, free: 10.34 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0008859/36.14, allocations: 0.5929 MB / 8.62 GB, free: 10.02 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01132/36.16, allocations: 3.074 MB / 8.623 GB, free: 10.01 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01774/36.17, allocations: 5.306 MB / 8.629 GB, free: 7.613 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02198/36.2, allocations: 4.289 MB / 8.633 GB, free: 7.508 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/36.2, allocations: 11.59 kB / 8.633 GB, free: 7.508 MB / 1.089 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.05324/36.25, allocations: 11.14 MB / 8.644 GB, free: 6.711 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01212/36.26, allocations: 26.61 MB / 8.67 GB, free: 11.38 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003368/36.26, allocations: 46.75 kB / 8.67 GB, free: 11.38 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03081/36.29, allocations: 4.047 MB / 8.674 GB, free: 11.3 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01204/36.3, allocations: 1.309 MB / 8.675 GB, free: 11.3 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04352/36.35, allocations: 13.78 MB / 8.688 GB, free: 6.496 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02353/36.37, allocations: 0.8342 MB / 8.689 GB, free: 6.434 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002723/36.37, allocations: 375.5 kB / 8.689 GB, free: 6.434 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/36.37, allocations: 4.062 kB / 8.689 GB, free: 6.434 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07814/36.45, allocations: 11 MB / 8.7 GB, free: 6.172 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002568/36.45, allocations: 47.95 kB / 8.7 GB, free: 6.172 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02772/36.48, allocations: 4.041 MB / 8.704 GB, free: 6.078 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01171/36.49, allocations: 1.28 MB / 8.705 GB, free: 5.992 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04598/36.54, allocations: 15.48 MB / 8.721 GB, free: 15.71 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02349/36.56, allocations: 0.7947 MB / 8.721 GB, free: 15.66 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003023/36.56, allocations: 366.4 kB / 8.722 GB, free: 15.66 MB / 1.135 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[2].con1.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: 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 (735): * Single equations (assignments): 725 * 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.005723/36.57, allocations: 317.6 kB / 8.722 GB, free: 15.43 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006207/36.58, allocations: 1.023 MB / 8.723 GB, free: 14.88 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 739 equation(s) and 737 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03128/36.61, allocations: 5.637 MB / 8.729 GB, free: 14.62 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl could not be translated to FMU