[: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.245/3.245, allocations: 404 MB / 410.9 MB, free: 2.164 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 1.075e-05/1.09e-05, allocations: 4 kB / 0.494 GB, free: 4.535 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3757, allocations: 92.75 MB / 0.5846 GB, free: 1.84 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7019/1.078, allocations: 384.4 MB / 0.96 GB, free: 45.19 MB / 0.6803 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/1.078, allocations: 90.62 kB / 0.9601 GB, free: 45.14 MB / 0.6803 GB Notification: Performance of FrontEnd: time 9.434/10.51, allocations: 2.274 GB / 3.234 GB, free: 89.08 MB / 0.8053 GB Notification: Performance of Transformations before backend: time 0.001629/10.51, allocations: 256.7 kB / 3.234 GB, free: 89.04 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: 2186 * Number of variables: 2186 Notification: Performance of Generate backend data structure: time 0.02966/10.54, allocations: 8.254 MB / 3.242 GB, free: 86.1 MB / 0.8053 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/10.54, allocations: 12.28 kB / 3.242 GB, free: 86.09 MB / 0.8053 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008576/10.55, allocations: 1.192 MB / 3.243 GB, free: 85.54 MB / 0.8053 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03686/10.59, allocations: 12.06 MB / 3.255 GB, free: 84.36 MB / 0.8053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005359/10.59, allocations: 273.7 kB / 3.255 GB, free: 84.36 MB / 0.8053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00339/10.59, allocations: 0.4967 MB / 3.256 GB, free: 84.36 MB / 0.8053 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02601/10.62, allocations: 9.203 MB / 3.265 GB, free: 84.32 MB / 0.8053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03404/10.65, allocations: 10.73 MB / 3.275 GB, free: 82.77 MB / 0.8053 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005864/10.65, allocations: 30.03 kB / 3.275 GB, free: 82.77 MB / 0.8053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003154/10.66, allocations: 18.41 kB / 3.275 GB, free: 82.77 MB / 0.8053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002812/10.66, allocations: 264 kB / 3.275 GB, free: 82.77 MB / 0.8053 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08872/10.75, allocations: 50.28 MB / 3.325 GB, free: 58.93 MB / 0.8053 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008737/10.75, allocations: 4.304 MB / 3.329 GB, free: 58.84 MB / 0.8053 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01001/10.76, allocations: 5.108 MB / 3.334 GB, free: 58.74 MB / 0.8053 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/10.77, allocations: 0.5151 MB / 3.334 GB, free: 58.36 MB / 0.8053 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008697/10.77, allocations: 3.766 MB / 3.338 GB, free: 58.15 MB / 0.8053 GB Notification: Performance of pre-optimization done (n=507): time 1.208e-05/10.77, allocations: 2.906 kB / 3.338 GB, free: 58.15 MB / 0.8053 GB Notification: Performance of matching and sorting (n=527): time 0.06846/10.84, allocations: 20.16 MB / 3.358 GB, free: 53.75 MB / 0.8053 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/10.84, allocations: 247.5 kB / 3.358 GB, free: 53.52 MB / 0.8053 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01348/10.86, allocations: 5.86 MB / 3.364 GB, free: 53.11 MB / 0.8053 GB Notification: Performance of collectPreVariables (initialization): time 0.001197/10.86, allocations: 32.33 kB / 3.364 GB, free: 53.08 MB / 0.8053 GB Notification: Performance of collectInitialEqns (initialization): time 0.004849/10.86, allocations: 3.16 MB / 3.367 GB, free: 51.33 MB / 0.8053 GB Notification: Performance of collectInitialBindings (initialization): time 0.006116/10.87, allocations: 1.745 MB / 3.368 GB, free: 50.19 MB / 0.8053 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/10.87, allocations: 3.969 kB / 3.368 GB, free: 50.19 MB / 0.8053 GB Notification: Performance of setup shared object (initialization): time 0.0006404/10.87, allocations: 0.565 MB / 3.369 GB, free: 49.87 MB / 0.8053 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006973/10.88, allocations: 3.187 MB / 3.372 GB, free: 49.85 MB / 0.8053 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008401/10.89, allocations: 5.021 MB / 3.377 GB, free: 47.69 MB / 0.8053 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/10.9, allocations: 4.849 MB / 3.382 GB, free: 47.6 MB / 0.8053 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-05/10.9, allocations: 20.66 kB / 3.382 GB, free: 47.6 MB / 0.8053 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02573/10.92, allocations: 9.379 MB / 3.391 GB, free: 45.74 MB / 0.8053 GB Notification: Performance of prepare postOptimizeDAE: time 0.006633/10.93, allocations: 27.83 MB / 3.418 GB, free: 32.52 MB / 0.8209 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002366/10.93, allocations: 63.03 kB / 3.418 GB, free: 32.52 MB / 0.8209 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/10.93, allocations: 99.31 kB / 3.418 GB, free: 32.52 MB / 0.8209 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009183/10.94, allocations: 1.473 MB / 3.42 GB, free: 32.47 MB / 0.8209 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001404/10.94, allocations: 132.5 kB / 3.42 GB, free: 32.47 MB / 0.8209 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009665/10.95, allocations: 457 kB / 3.42 GB, free: 32.41 MB / 0.8209 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/10.95, allocations: 297.9 kB / 3.42 GB, free: 32.36 MB / 0.8209 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/10.95, allocations: 2.906 kB / 3.42 GB, free: 32.36 MB / 0.8209 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02274/10.98, allocations: 8.658 MB / 3.429 GB, free: 29.93 MB / 0.8209 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/10.98, allocations: 62.69 kB / 3.429 GB, free: 29.93 MB / 0.8209 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/10.98, allocations: 99.75 kB / 3.429 GB, free: 29.93 MB / 0.8209 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008895/10.98, allocations: 1.446 MB / 3.431 GB, free: 29.81 MB / 0.8209 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001397/10.98, allocations: 127.5 kB / 3.431 GB, free: 29.79 MB / 0.8209 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009205/10.99, allocations: 426.3 kB / 3.431 GB, free: 29.74 MB / 0.8209 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/11, allocations: 299.3 kB / 3.431 GB, free: 29.69 MB / 0.8209 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 261 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (799): * Single equations (assignments): 797 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002685/11, allocations: 360.5 kB / 3.432 GB, free: 29.36 MB / 0.8209 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002518/11, allocations: 0.656 MB / 3.432 GB, free: 29.02 MB / 0.8209 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02885/11.03, allocations: 9.511 MB / 3.442 GB, free: 25.26 MB / 0.8209 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.97e-05/11.03, allocations: 67.8 kB / 3.442 GB, free: 25.2 MB / 0.8209 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-05/11.03, allocations: 3.797 kB / 3.442 GB, free: 25.2 MB / 0.8209 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02074/11.05, allocations: 7.871 MB / 3.449 GB, free: 18.52 MB / 0.8209 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05362/11.1, allocations: 18.79 MB / 3.468 GB, free: 3.355 MB / 0.8209 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.362e-05/11.1, allocations: 8 kB / 3.468 GB, free: 3.348 MB / 0.8209 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006988/11.11, allocations: 0.9545 MB / 3.469 GB, free: 2.543 MB / 0.8209 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/11.11, allocations: 0.8868 MB / 3.47 GB, free: 1.762 MB / 0.8209 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001186/11.12, allocations: 86.8 kB / 3.47 GB, free: 1.695 MB / 0.8209 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/11.13, allocations: 12.07 MB / 3.481 GB, free: 5.547 MB / 0.8366 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-05/11.13, allocations: 15.84 kB / 3.481 GB, free: 5.531 MB / 0.8366 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3582/11.49, allocations: 15.18 MB / 3.496 GB, free: 177.6 MB / 0.8366 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006377/11.49, allocations: 1.719 MB / 3.498 GB, free: 177.5 MB / 0.8366 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002757/11.49, allocations: 44.19 kB / 3.498 GB, free: 177.5 MB / 0.8366 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008787/11.5, allocations: 0.5223 MB / 3.498 GB, free: 177.5 MB / 0.8366 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001209/11.5, allocations: 310.4 kB / 3.499 GB, free: 177.5 MB / 0.8366 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007646/11.51, allocations: 211.1 kB / 3.499 GB, free: 177.5 MB / 0.8366 GB Notification: Performance of sort global known variables: time 0.009982/11.52, allocations: 4.502 MB / 3.503 GB, free: 177.3 MB / 0.8366 GB Notification: Performance of remove unused functions: time 0.02022/11.54, allocations: 3.724 MB / 3.507 GB, free: 177.3 MB / 0.8366 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (499): * Single equations (assignments): 477 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003189/11.54, allocations: 0.9186 MB / 3.508 GB, free: 177.2 MB / 0.8366 GB Notification: Performance of simCode: created initialization part: time 0.02481/11.56, allocations: 12.29 MB / 3.52 GB, free: 176.9 MB / 0.8366 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/11.56, allocations: 0.6875 kB / 3.52 GB, free: 176.9 MB / 0.8366 GB Notification: Performance of simCode: created simulation system equations: time 0.008574/11.57, allocations: 3.886 MB / 3.524 GB, free: 176.8 MB / 0.8366 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02241/11.6, allocations: 3.462 MB / 3.527 GB, free: 176.8 MB / 0.8366 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05132/11.65, allocations: 18.31 MB / 3.545 GB, free: 173.7 MB / 0.8366 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0166/11.66, allocations: 7.191 MB / 3.552 GB, free: 172.8 MB / 0.8366 GB Notification: Performance of SimCode: time 1.04e-06/11.66, allocations: 0 / 3.552 GB, free: 172.8 MB / 0.8366 GB Notification: Performance of Templates: time 0.4295/12.09, allocations: 177 MB / 3.725 GB, free: 124.2 MB / 0.8366 GB