[: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.688/2.688, allocations: 320.9 MB / 327.9 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3275/3.015, allocations: 75.72 MB / 403.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/3.165, allocations: 73.4 MB / 477 MB, free: 7.027 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/4.183, allocations: 344.9 MB / 0.8026 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/4.184, allocations: 85.12 kB / 0.8027 GB, free: 165.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 4.556/8.74, allocations: 0.9118 GB / 1.715 GB, free: 71.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/8.74, allocations: 10.62 kB / 1.715 GB, free: 71.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006855/8.747, allocations: 0.6629 MB / 1.715 GB, free: 71.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005938/8.753, allocations: 1.329 MB / 1.717 GB, free: 70.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/8.753, allocations: 32.19 kB / 1.717 GB, free: 70.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/8.753, allocations: 72.25 kB / 1.717 GB, free: 70.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003109/8.756, allocations: 0.8842 MB / 1.717 GB, free: 70.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003391/8.76, allocations: 1.139 MB / 1.719 GB, free: 70.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/8.76, allocations: 5.188 kB / 1.719 GB, free: 70.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/8.76, allocations: 3.062 kB / 1.719 GB, free: 70.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/8.76, allocations: 41.55 kB / 1.719 GB, free: 70.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/8.775, allocations: 7.082 MB / 1.726 GB, free: 66.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/8.778, allocations: 0.8875 MB / 1.726 GB, free: 66.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/8.779, allocations: 437.5 kB / 1.727 GB, free: 66.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/8.78, allocations: 1.604 MB / 1.728 GB, free: 64.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/8.782, allocations: 0.6706 MB / 1.729 GB, free: 64.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=91): time 4.468e-06/8.782, allocations: 2.312 kB / 1.729 GB, free: 64.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91): time 0.006927/8.789, allocations: 1.359 MB / 1.73 GB, free: 64.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/8.789, allocations: 356 kB / 1.731 GB, free: 63.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/8.791, allocations: 0.8385 MB / 1.732 GB, free: 63.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000325/8.792, allocations: 29.33 kB / 1.732 GB, free: 63.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/8.792, allocations: 482.5 kB / 1.732 GB, free: 63.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005051/8.793, allocations: 298 kB / 1.732 GB, free: 63.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/8.793, allocations: 0 / 1.732 GB, free: 63.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001055/8.793, allocations: 354 kB / 1.733 GB, free: 62.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/8.794, allocations: 408.9 kB / 1.733 GB, free: 62.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/8.796, allocations: 0.7295 MB / 1.734 GB, free: 62.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/8.8, allocations: 0.7267 MB / 1.734 GB, free: 62.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/8.8, allocations: 6.906 kB / 1.734 GB, free: 62.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006274/8.807, allocations: 1.46 MB / 1.736 GB, free: 62.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004298/8.807, allocations: 2.039 MB / 1.738 GB, free: 60.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/8.807, allocations: 8.531 kB / 1.738 GB, free: 60.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.664e-05/8.807, allocations: 9.188 kB / 1.738 GB, free: 60.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/8.811, allocations: 332.7 kB / 1.738 GB, free: 60.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/8.811, allocations: 22.75 kB / 1.738 GB, free: 60.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004041/8.815, allocations: 283.9 kB / 1.739 GB, free: 60.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003917/8.815, allocations: 51.3 kB / 1.739 GB, free: 60.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/8.815, allocations: 3.719 kB / 1.739 GB, free: 60.19 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005369/8.821, allocations: 1.259 MB / 1.74 GB, free: 60.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/8.821, allocations: 10.66 kB / 1.74 GB, free: 60.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/8.821, allocations: 10.59 kB / 1.74 GB, free: 60.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/8.823, allocations: 304.7 kB / 1.74 GB, free: 60.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/8.824, allocations: 22.92 kB / 1.74 GB, free: 60.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003484/8.827, allocations: 242.2 kB / 1.74 GB, free: 60.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/8.827, allocations: 56.58 kB / 1.74 GB, free: 60.12 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 3 * 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.0004982/8.828, allocations: 234.7 kB / 1.741 GB, free: 59.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/8.828, allocations: 140.8 kB / 1.741 GB, free: 59.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007053/8.835, allocations: 1.979 MB / 1.743 GB, free: 59.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/8.835, allocations: 17.52 kB / 1.743 GB, free: 59.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/8.835, allocations: 0 / 1.743 GB, free: 59.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/8.835, allocations: 6.375 kB / 1.743 GB, free: 59.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/8.838, allocations: 1.136 MB / 1.744 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/8.838, allocations: 5.406 kB / 1.744 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/8.841, allocations: 251.1 kB / 1.744 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/8.841, allocations: 3.312 kB / 1.744 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/8.841, allocations: 32.12 kB / 1.744 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/8.841, allocations: 4.062 kB / 1.744 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/8.841, allocations: 7.781 kB / 1.744 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006907/8.848, allocations: 2.16 MB / 1.746 GB, free: 59.36 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009287/8.858, allocations: 3.304 MB / 1.749 GB, free: 58.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/8.858, allocations: 220.1 kB / 1.75 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006406/8.859, allocations: 13.94 kB / 1.75 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003338/8.862, allocations: 189.6 kB / 1.75 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/8.863, allocations: 55.94 kB / 1.75 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/8.863, allocations: 48.86 kB / 1.75 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.00158/8.865, allocations: 0.6613 MB / 1.751 GB, free: 58.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.007442/8.872, allocations: 1.09 MB / 1.752 GB, free: 58.39 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (heaHigPow.heaCoo.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.heaCoo.T,heaCooUnl.heaCoo.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent) * Number of discrete states: 15 (TSetHeat.last,TSetHeat.nextEvent,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.last,TSetCool.nextEvent,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 12 * 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 Backend phase and start with SimCode phase: time 0.002507/8.875, allocations: 0.9098 MB / 1.753 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004825/8.879, allocations: 1.81 MB / 1.754 GB, free: 57.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/8.879, allocations: 0 / 1.754 GB, free: 57.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/8.881, allocations: 0.6699 MB / 1.755 GB, free: 57.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004306/8.885, allocations: 432.9 kB / 1.755 GB, free: 57.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008155/8.894, allocations: 2.512 MB / 1.758 GB, free: 57.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/8.896, allocations: 1.457 MB / 1.759 GB, free: 56.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.593e-06/8.896, allocations: 0 / 1.759 GB, free: 56.57 MB / 0.6355 GB