[: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 loadModel(Buildings): time 3.132/3.132, allocations: 404 MB / 410.9 MB, free: 2.125 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 1.411e-05/1.425e-05, allocations: 4 kB / 0.494 GB, free: 4.469 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4025, allocations: 92.77 MB / 0.5846 GB, free: 1.836 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7597/1.162, allocations: 399.1 MB / 0.9744 GB, free: 29.66 MB / 0.6803 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/1.162, allocations: 84.2 kB / 0.9744 GB, free: 29.62 MB / 0.6803 GB Notification: Performance of FrontEnd: time 9.506/10.67, allocations: 2.262 GB / 3.236 GB, free: 105.6 MB / 0.8053 GB Notification: Performance of Transformations before backend: time 0.001501/10.67, allocations: 259.8 kB / 3.237 GB, free: 105.5 MB / 0.8053 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1426 * Number of variables: 1426 Notification: Performance of Generate backend data structure: time 0.03968/10.71, allocations: 10.71 MB / 3.247 GB, free: 102.3 MB / 0.8053 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/10.71, allocations: 14.16 kB / 3.247 GB, free: 102.3 MB / 0.8053 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/10.72, allocations: 1.294 MB / 3.248 GB, free: 101.8 MB / 0.8053 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04439/10.76, allocations: 14.09 MB / 3.262 GB, free: 100.3 MB / 0.8053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/10.77, allocations: 184.2 kB / 3.262 GB, free: 100.3 MB / 0.8053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/10.77, allocations: 355.5 kB / 3.263 GB, free: 100.3 MB / 0.8053 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03485/10.8, allocations: 18.19 MB / 3.28 GB, free: 100.3 MB / 0.8053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03053/10.83, allocations: 12.98 MB / 3.293 GB, free: 99.23 MB / 0.8053 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002679/10.83, allocations: 27.08 kB / 3.293 GB, free: 99.23 MB / 0.8053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002248/10.84, allocations: 14.75 kB / 3.293 GB, free: 99.23 MB / 0.8053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/10.84, allocations: 140.5 kB / 3.293 GB, free: 99.23 MB / 0.8053 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.128/10.96, allocations: 63.59 MB / 3.355 GB, free: 77.27 MB / 0.8053 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/10.98, allocations: 8.589 MB / 3.364 GB, free: 77.2 MB / 0.8053 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01604/10.99, allocations: 9.598 MB / 3.373 GB, free: 75.53 MB / 0.8053 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04509/11.04, allocations: 25 MB / 3.398 GB, free: 56.11 MB / 0.8053 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01362/11.05, allocations: 8.47 MB / 3.406 GB, free: 49.77 MB / 0.8053 GB Notification: Performance of pre-optimization done (n=362): time 8.3e-06/11.05, allocations: 0 / 3.406 GB, free: 49.77 MB / 0.8053 GB Notification: Performance of matching and sorting (n=383): time 0.1104/11.16, allocations: 37.46 MB / 3.442 GB, free: 16.34 MB / 0.8053 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/11.16, allocations: 222.9 kB / 3.443 GB, free: 16.08 MB / 0.8053 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01925/11.18, allocations: 6.16 MB / 3.449 GB, free: 9.961 MB / 0.8053 GB Notification: Performance of collectPreVariables (initialization): time 0.002782/11.19, allocations: 29.7 kB / 3.449 GB, free: 9.926 MB / 0.8053 GB Notification: Performance of collectInitialEqns (initialization): time 0.005387/11.19, allocations: 2.416 MB / 3.451 GB, free: 7.469 MB / 0.8053 GB Notification: Performance of collectInitialBindings (initialization): time 0.00572/11.2, allocations: 1.301 MB / 3.452 GB, free: 6.148 MB / 0.8053 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/11.2, allocations: 4 kB / 3.452 GB, free: 6.145 MB / 0.8053 GB Notification: Performance of setup shared object (initialization): time 0.0003698/11.2, allocations: 0.5005 MB / 3.453 GB, free: 5.637 MB / 0.8053 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01246/11.21, allocations: 7.156 MB / 3.46 GB, free: 14.47 MB / 0.8209 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01591/11.23, allocations: 8.871 MB / 3.468 GB, free: 4.82 MB / 0.8209 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3315/11.56, allocations: 8.217 MB / 3.476 GB, free: 192.2 MB / 0.8209 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.272e-05/11.56, allocations: 18.33 kB / 3.476 GB, free: 192.2 MB / 0.8209 GB Notification: Performance of matching and sorting (n=626) (initialization): time 0.05761/11.62, allocations: 19.42 MB / 3.495 GB, free: 192.1 MB / 0.8209 GB Notification: Performance of prepare postOptimizeDAE: time 0.00422/11.62, allocations: 22.86 MB / 3.518 GB, free: 168.4 MB / 0.8209 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/11.62, allocations: 42 kB / 3.518 GB, free: 168.4 MB / 0.8209 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007679/11.63, allocations: 2.15 MB / 3.52 GB, free: 168.3 MB / 0.8209 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0122/11.64, allocations: 1.661 MB / 3.521 GB, free: 168.3 MB / 0.8209 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/11.66, allocations: 6.112 MB / 3.527 GB, free: 166.8 MB / 0.8209 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/11.68, allocations: 428.3 kB / 3.528 GB, free: 166.8 MB / 0.8209 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002644/11.68, allocations: 0.5711 MB / 3.528 GB, free: 166.8 MB / 0.8209 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/11.68, allocations: 3.312 kB / 3.528 GB, free: 166.8 MB / 0.8209 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03956/11.72, allocations: 17.29 MB / 3.545 GB, free: 166.6 MB / 0.8209 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/11.72, allocations: 47.86 kB / 3.545 GB, free: 166.6 MB / 0.8209 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00642/11.72, allocations: 1.695 MB / 3.547 GB, free: 166.5 MB / 0.8209 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/11.74, allocations: 1.652 MB / 3.549 GB, free: 166.5 MB / 0.8209 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/11.75, allocations: 8.266 MB / 3.557 GB, free: 163.5 MB / 0.8209 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01231/11.76, allocations: 366.6 kB / 3.557 GB, free: 163.5 MB / 0.8209 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002534/11.77, allocations: 0.5525 MB / 3.558 GB, free: 163.5 MB / 0.8209 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (572): * Single equations (assignments): 567 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.003352/11.77, allocations: 258 kB / 3.558 GB, free: 163.4 MB / 0.8209 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003211/11.77, allocations: 0.696 MB / 3.559 GB, free: 163.4 MB / 0.8209 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06397/11.84, allocations: 18.94 MB / 3.577 GB, free: 163 MB / 0.8209 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/11.84, allocations: 52.16 kB / 3.577 GB, free: 163 MB / 0.8209 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/11.84, allocations: 0 / 3.577 GB, free: 163 MB / 0.8209 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04153/11.88, allocations: 13.47 MB / 3.59 GB, free: 162.4 MB / 0.8209 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07576/11.95, allocations: 27.89 MB / 3.617 GB, free: 158.9 MB / 0.8209 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.739e-05/11.95, allocations: 10.53 kB / 3.617 GB, free: 158.9 MB / 0.8209 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006246/11.96, allocations: 0.5235 MB / 3.618 GB, free: 158.9 MB / 0.8209 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00815/11.97, allocations: 2.491 MB / 3.62 GB, free: 158.7 MB / 0.8209 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00136/11.97, allocations: 92.28 kB / 3.62 GB, free: 158.7 MB / 0.8209 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06126/12.03, allocations: 25.23 MB / 3.645 GB, free: 144.6 MB / 0.8209 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/12.03, allocations: 17 kB / 3.645 GB, free: 144.6 MB / 0.8209 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05716/12.09, allocations: 24.49 MB / 3.669 GB, free: 139.4 MB / 0.8209 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007491/12.1, allocations: 2.004 MB / 3.671 GB, free: 138.5 MB / 0.8209 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003528/12.1, allocations: 41.31 kB / 3.671 GB, free: 138.5 MB / 0.8209 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01049/12.11, allocations: 382.7 kB / 3.671 GB, free: 138.5 MB / 0.8209 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001611/12.11, allocations: 288.5 kB / 3.672 GB, free: 138.4 MB / 0.8209 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001252/12.11, allocations: 212.1 kB / 3.672 GB, free: 138.4 MB / 0.8209 GB Notification: Performance of sort global known variables: time 0.01032/12.12, allocations: 4.71 MB / 3.676 GB, free: 136.9 MB / 0.8209 GB Notification: Performance of remove unused functions: time 0.02381/12.15, allocations: 4.187 MB / 3.681 GB, free: 136.8 MB / 0.8209 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 24 {2 5,2 5,2 5,20 21,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003484/12.15, allocations: 1.196 MB / 3.682 GB, free: 136.6 MB / 0.8209 GB Notification: Performance of simCode: created initialization part: time 0.05849/12.21, allocations: 25.91 MB / 3.707 GB, free: 125.9 MB / 0.8209 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/12.21, allocations: 5.5 kB / 3.707 GB, free: 125.9 MB / 0.8209 GB Notification: Performance of simCode: created simulation system equations: time 0.02215/12.23, allocations: 7.981 MB / 3.715 GB, free: 118.8 MB / 0.8209 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02378/12.26, allocations: 3.955 MB / 3.719 GB, free: 115.9 MB / 0.8209 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05381/12.31, allocations: 19.23 MB / 3.737 GB, free: 99.14 MB / 0.8209 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01468/12.32, allocations: 6.42 MB / 3.744 GB, free: 94.46 MB / 0.8209 GB Notification: Performance of SimCode: time 1.438e-06/12.32, allocations: 2.156 kB / 3.744 GB, free: 94.46 MB / 0.8209 GB Notification: Performance of Templates: time 0.8395/13.16, allocations: 294.4 MB / 4.031 GB, free: 148.3 MB / 0.8209 GB