[: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.134/3.134, allocations: 403.9 MB / 410.9 MB, free: 2.152 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 8.846e-06/8.889e-06, allocations: 4 kB / 0.494 GB, free: 4.535 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3898, allocations: 92.76 MB / 0.5846 GB, free: 1.875 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4/4.39, allocations: 2.177 GB / 2.762 GB, free: 60.5 MB / 0.7741 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/4.39, allocations: 82.77 kB / 2.762 GB, free: 60.46 MB / 0.7741 GB Notification: Performance of FrontEnd: time 4.201/8.592, allocations: 1.003 GB / 3.765 GB, free: 119.1 MB / 0.7897 GB Notification: Performance of Transformations before backend: time 0.0002168/8.592, allocations: 49.73 kB / 3.765 GB, free: 119.1 MB / 0.7897 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005457/8.598, allocations: 2.156 MB / 3.767 GB, free: 118.3 MB / 0.7897 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/8.598, allocations: 7.781 kB / 3.767 GB, free: 118.3 MB / 0.7897 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006287/8.604, allocations: 0.6477 MB / 3.768 GB, free: 118.2 MB / 0.7897 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005135/8.609, allocations: 1.613 MB / 3.769 GB, free: 117.9 MB / 0.7897 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/8.609, allocations: 45.47 kB / 3.769 GB, free: 117.9 MB / 0.7897 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/8.61, allocations: 82.41 kB / 3.77 GB, free: 117.9 MB / 0.7897 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002954/8.613, allocations: 1.085 MB / 3.771 GB, free: 117.9 MB / 0.7897 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/8.616, allocations: 1.328 MB / 3.772 GB, free: 117.7 MB / 0.7897 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/8.616, allocations: 7.5 kB / 3.772 GB, free: 117.7 MB / 0.7897 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/8.616, allocations: 3.812 kB / 3.772 GB, free: 117.7 MB / 0.7897 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/8.616, allocations: 47.69 kB / 3.772 GB, free: 117.7 MB / 0.7897 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/8.627, allocations: 6.108 MB / 3.778 GB, free: 115 MB / 0.7897 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/8.629, allocations: 0.582 MB / 3.779 GB, free: 115 MB / 0.7897 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/8.629, allocations: 471 kB / 3.779 GB, free: 114.9 MB / 0.7897 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004516/8.63, allocations: 282.4 kB / 3.779 GB, free: 114.7 MB / 0.7897 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/8.631, allocations: 0.6642 MB / 3.78 GB, free: 114.5 MB / 0.7897 GB Notification: Performance of pre-optimization done (n=88): time 4.026e-06/8.631, allocations: 0 / 3.78 GB, free: 114.5 MB / 0.7897 GB Notification: Performance of matching and sorting (n=96): time 0.01491/8.646, allocations: 4.474 MB / 3.784 GB, free: 112.7 MB / 0.7897 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/8.646, allocations: 0.521 MB / 3.785 GB, free: 112.1 MB / 0.7897 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/8.648, allocations: 0.9454 MB / 3.786 GB, free: 111.9 MB / 0.7897 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/8.648, allocations: 31.7 kB / 3.786 GB, free: 111.9 MB / 0.7897 GB Notification: Performance of collectInitialEqns (initialization): time 0.000528/8.649, allocations: 0.5471 MB / 3.786 GB, free: 111.7 MB / 0.7897 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004532/8.649, allocations: 312.1 kB / 3.787 GB, free: 111.5 MB / 0.7897 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/8.649, allocations: 3.625 kB / 3.787 GB, free: 111.5 MB / 0.7897 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/8.65, allocations: 347.5 kB / 3.787 GB, free: 111.2 MB / 0.7897 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008176/8.65, allocations: 387.2 kB / 3.787 GB, free: 111.2 MB / 0.7897 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/8.651, allocations: 0.6863 MB / 3.788 GB, free: 110.9 MB / 0.7897 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.005554/8.657, allocations: 1.346 MB / 3.789 GB, free: 110.7 MB / 0.7897 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.134e-06/8.657, allocations: 0 / 3.789 GB, free: 110.7 MB / 0.7897 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006339/8.663, allocations: 1.622 MB / 3.791 GB, free: 110.6 MB / 0.7897 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003789/8.664, allocations: 1.787 MB / 3.793 GB, free: 108.8 MB / 0.7897 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/8.664, allocations: 3.812 kB / 3.793 GB, free: 108.8 MB / 0.7897 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/8.665, allocations: 373.6 kB / 3.793 GB, free: 108.7 MB / 0.7897 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/8.666, allocations: 184.2 kB / 3.793 GB, free: 108.7 MB / 0.7897 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008571/8.675, allocations: 6.192 MB / 3.799 GB, free: 104.5 MB / 0.7897 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/8.678, allocations: 116.2 kB / 3.799 GB, free: 104.5 MB / 0.7897 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/8.678, allocations: 45.44 kB / 3.799 GB, free: 104.5 MB / 0.7897 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/8.678, allocations: 3.188 kB / 3.799 GB, free: 104.5 MB / 0.7897 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004475/8.682, allocations: 1.415 MB / 3.801 GB, free: 104.3 MB / 0.7897 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/8.682, allocations: 5.969 kB / 3.801 GB, free: 104.3 MB / 0.7897 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/8.684, allocations: 361.8 kB / 3.801 GB, free: 104.3 MB / 0.7897 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/8.685, allocations: 164.7 kB / 3.801 GB, free: 104.3 MB / 0.7897 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009506/8.695, allocations: 7.023 MB / 3.808 GB, free: 99.36 MB / 0.7897 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/8.697, allocations: 86.16 kB / 3.808 GB, free: 99.35 MB / 0.7897 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/8.697, allocations: 51.45 kB / 3.808 GB, free: 99.35 MB / 0.7897 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 10,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000518/8.698, allocations: 169.1 kB / 3.808 GB, free: 99.21 MB / 0.7897 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004824/8.698, allocations: 159.9 kB / 3.808 GB, free: 99.13 MB / 0.7897 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005051/8.703, allocations: 1.292 MB / 3.81 GB, free: 99.04 MB / 0.7897 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/8.703, allocations: 11.88 kB / 3.81 GB, free: 99.04 MB / 0.7897 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/8.703, allocations: 0 / 3.81 GB, free: 99.04 MB / 0.7897 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004123/8.707, allocations: 1.162 MB / 3.811 GB, free: 98.84 MB / 0.7897 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009797/8.717, allocations: 3.395 MB / 3.814 GB, free: 97.95 MB / 0.7897 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/8.717, allocations: 3.469 kB / 3.814 GB, free: 97.95 MB / 0.7897 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/8.719, allocations: 180.2 kB / 3.814 GB, free: 97.95 MB / 0.7897 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005913/8.719, allocations: 150.7 kB / 3.815 GB, free: 97.93 MB / 0.7897 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/8.72, allocations: 18.67 kB / 3.815 GB, free: 97.93 MB / 0.7897 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006053/8.726, allocations: 3.241 MB / 3.818 GB, free: 95.47 MB / 0.7897 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.817e-06/8.726, allocations: 6.625 kB / 3.818 GB, free: 95.47 MB / 0.7897 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006374/8.732, allocations: 2.215 MB / 3.82 GB, free: 94.78 MB / 0.7897 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/8.733, allocations: 353.1 kB / 3.82 GB, free: 94.61 MB / 0.7897 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005857/8.734, allocations: 17.38 kB / 3.82 GB, free: 94.61 MB / 0.7897 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/8.736, allocations: 103.9 kB / 3.82 GB, free: 94.61 MB / 0.7897 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/8.736, allocations: 56.17 kB / 3.82 GB, free: 94.61 MB / 0.7897 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/8.737, allocations: 44.44 kB / 3.82 GB, free: 94.61 MB / 0.7897 GB Notification: Performance of sort global known variables: time 0.001558/8.738, allocations: 0.725 MB / 3.821 GB, free: 94.49 MB / 0.7897 GB Notification: Performance of remove unused functions: time 0.006109/8.744, allocations: 0.9376 MB / 3.822 GB, free: 94.48 MB / 0.7897 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004204/8.748, allocations: 2.579 MB / 3.825 GB, free: 93.67 MB / 0.7897 GB Notification: Performance of simCode: created initialization part: time 0.004721/8.753, allocations: 2.414 MB / 3.827 GB, free: 92.88 MB / 0.7897 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/8.753, allocations: 3.844 kB / 3.827 GB, free: 92.88 MB / 0.7897 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/8.755, allocations: 0.7396 MB / 3.828 GB, free: 92.64 MB / 0.7897 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/8.76, allocations: 0.6686 MB / 3.828 GB, free: 92.62 MB / 0.7897 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009097/8.769, allocations: 2.61 MB / 3.831 GB, free: 91.91 MB / 0.7897 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/8.771, allocations: 1.526 MB / 3.832 GB, free: 91.19 MB / 0.7897 GB Notification: Performance of SimCode: time 1.23e-06/8.771, allocations: 0 / 3.832 GB, free: 91.19 MB / 0.7897 GB Notification: Performance of Templates: time 0.1101/8.881, allocations: 50.49 MB / 3.882 GB, free: 89.5 MB / 0.7897 GB