[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.1. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(Buildings): time 2.859/2.859, allocations: 320.9 MB / 327.9 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3578/3.217, allocations: 75.7 MB / 403.6 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/3.399, allocations: 73.4 MB / 477 MB, free: 7.027 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.269/9.668, allocations: 2.482 GB / 2.948 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/9.669, allocations: 84.06 kB / 2.948 GB, free: 168.1 MB / 0.6198 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 23.54/33.21, allocations: 4.86 GB / 7.808 GB, free: 28.25 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/33.21, allocations: 8.188 kB / 7.808 GB, free: 28.25 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04497/33.26, allocations: 3.864 MB / 7.812 GB, free: 27.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07067/33.33, allocations: 15.53 MB / 7.827 GB, free: 25.33 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008929/33.33, allocations: 433.8 kB / 7.828 GB, free: 25.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004555/33.33, allocations: 0.5397 MB / 7.828 GB, free: 25.24 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03584/33.37, allocations: 9.201 MB / 7.837 GB, free: 25.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04246/33.41, allocations: 9.497 MB / 7.846 GB, free: 24.12 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000884/33.41, allocations: 17.97 kB / 7.846 GB, free: 24.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00549/33.42, allocations: 19.62 kB / 7.846 GB, free: 24.11 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00115/33.42, allocations: 351.8 kB / 7.847 GB, free: 24.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1655/33.59, allocations: 49.39 MB / 7.895 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/33.6, allocations: 4.23 MB / 7.899 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.18/34.78, allocations: 4.1 MB / 7.903 GB, free: 55.78 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06623/34.85, allocations: 15.74 MB / 7.918 GB, free: 50.31 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01824/34.87, allocations: 3.862 MB / 7.922 GB, free: 50.1 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=613): time 1.544e-05/34.87, allocations: 0 / 7.922 GB, free: 50.1 MB / 0.8699 GB Notification: Performance of matching and sorting (n=671): time 0.1224/34.99, allocations: 23.01 MB / 7.945 GB, free: 46.92 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/34.99, allocations: 334.8 kB / 7.945 GB, free: 46.6 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0243/35.01, allocations: 7.705 MB / 7.952 GB, free: 46.05 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.002519/35.02, allocations: 48.39 kB / 7.953 GB, free: 46.02 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.00654/35.02, allocations: 3.13 MB / 7.956 GB, free: 44.95 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.007158/35.03, allocations: 2.176 MB / 7.958 GB, free: 43.8 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002046/35.03, allocations: 2.406 kB / 7.958 GB, free: 43.8 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0008318/35.03, allocations: 0.5913 MB / 7.958 GB, free: 43.48 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0107/35.04, allocations: 3.412 MB / 7.962 GB, free: 43.47 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01311/35.06, allocations: 5.413 MB / 7.967 GB, free: 41.48 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01847/35.07, allocations: 4.653 MB / 7.971 GB, free: 41.38 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.971e-05/35.07, allocations: 8.875 kB / 7.971 GB, free: 41.38 MB / 0.8699 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.05732/35.13, allocations: 12.45 MB / 7.984 GB, free: 40.61 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 0.004384/35.14, allocations: 21.15 MB / 8.004 GB, free: 18.59 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002426/35.14, allocations: 34.09 kB / 8.004 GB, free: 18.59 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02557/35.16, allocations: 4.151 MB / 8.008 GB, free: 18.52 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01645/35.18, allocations: 1.264 MB / 8.01 GB, free: 18.52 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03774/35.22, allocations: 13.95 MB / 8.023 GB, free: 13.73 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02251/35.24, allocations: 0.9107 MB / 8.024 GB, free: 13.69 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00275/35.24, allocations: 425.2 kB / 8.025 GB, free: 13.68 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/35.24, allocations: 3.438 kB / 8.025 GB, free: 13.68 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04298/35.28, allocations: 10.71 MB / 8.035 GB, free: 13.46 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/35.28, allocations: 41.53 kB / 8.035 GB, free: 13.46 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0252/35.31, allocations: 4.066 MB / 8.039 GB, free: 13.38 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/35.32, allocations: 1.234 MB / 8.04 GB, free: 13.38 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03736/35.36, allocations: 15.57 MB / 8.055 GB, free: 23.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02181/35.38, allocations: 0.8273 MB / 8.056 GB, free: 23.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002914/35.38, allocations: 406 kB / 8.057 GB, free: 23.02 MB / 0.8855 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 cooCoi.ele[4].vol2.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real [4] cooCoi.ele[3].vol2.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real [4] cooCoi.ele[2].vol2.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real [4] cooCoi.ele[1].vol2.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 62 ($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,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.newActive,wseCon.off.newActive,wseCon.off.inport_fire,wseCon.off.outport_fire,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.enableFire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.newActive,wseCon.on.newActive,wseCon.on.inport_fire,wseCon.on.outport_fire,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.enableFire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.booToRea1.u,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTim1.tStart,weaData.conTim1.tStart,$PRE.weaData.conTim.tStart,weaData.conTim.tStart,greaterThreshold.y,mCWFlo.u,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,wseCon.off.node.resume,wseCon.off.node.suspend,wseCon.off.inPort[1].checkUnaryConnection,wseCon.T2.outPort.checkOneDelayedTransitionPerLoop,wseCon.off.outPort[1].checkOneDelayedTransitionPerLoop,wseCon.T1.outPort.checkOneDelayedTransitionPerLoop,wseCon.on.outPort[1].checkOneDelayedTransitionPerLoop,wseCon.on.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (716): * Single equations (assignments): 702 * Array equations: 1 * Algorithm blocks: 7 * 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 {19 143,4 16,1 6,3 10,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.004966/35.39, allocations: 325 kB / 8.057 GB, free: 22.88 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00491/35.39, allocations: 0.9901 MB / 8.058 GB, free: 22.35 MB / 0.8855 GB Error: Too many equations, over-determined system. The model has 782 equation(s) and 780 variable(s). Warning: Equation 585 (size: 2) $cse91 = Buildings.Fluid.Interfaces.ConservationEquation$chi$vol1$dynBal.Medium.setState_phX(expVesChi.p_start, chi.vol1.ports[1].h_outflow, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse92 Already solved: Equations used to solve those variables: Warning: Equation 591 (size: 2) $cse85 = Buildings.Fluid.Interfaces.ConservationEquation$pumCHW$vol$dynBal.Medium.setState_phX(expVesCHW.p_start, pumCHW.port_a.h_outflow, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse88 Already solved: Equations used to solve those variables: Warning: Equation 597 (size: 2) $cse79 = Buildings.Fluid.Interfaces.ConservationEquation$cooCoi$ele$vol1$dynBal.Medium.setState_phX(expVesCHW.p_start, cooCoi.ele[2].vol1.hOut_internal, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse84 Already solved: Equations used to solve those variables: Warning: Equation 609 (size: 2) $cse70 = Buildings.Fluid.Sensors.TemperatureTwoPort$cooCoi$temSen_1.Medium.setState_phX(cooCoi.port_a1.p, cooCoi.port_a1.h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse76 Already solved: Equations used to solve those variables: Warning: Equation 646 (size: 2) $cse53 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCW$preSou.Medium.setState_phX(cooTow.vol.p, pumCW.port_a.h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse60 Already solved: Equations used to solve those variables: Warning: Equation 683 (size: 2) $cse32 = Buildings.Fluid.Sensors.TemperatureTwoPort$TCHWEntChi.Medium.setState_phX(chi.vol2.p, TCHWEntChi.port_a.h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: wseCon.off.inport_fire Already solved: wseCon.T2.fire Equations used to solve those variables: Equation 153 (size: 1): wseCon.T2.fire = wseCon.T2.enableFire and time >= wseCon.T2.t_start + wseCon.T2.waitTime Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03133/35.42, allocations: 6.039 MB / 8.064 GB, free: 22.11 MB / 0.8855 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl could not be translated to FMU