[: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.975/2.975, allocations: 320.9 MB / 327.9 MB, free: 5.559 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4455/3.42, allocations: 75.74 MB / 403.6 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/3.596, allocations: 73.39 MB / 477 MB, free: 7 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.441/9.036, allocations: 2.165 GB / 2.631 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004606/9.037, allocations: 98 kB / 2.631 GB, free: 4.922 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.6238/9.661, allocations: 91.19 MB / 2.72 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/9.661, allocations: 8 kB / 2.72 GB, free: 175 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007165/9.668, allocations: 437.7 kB / 2.72 GB, free: 174.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/9.671, allocations: 0.7454 MB / 2.721 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/9.671, allocations: 32 kB / 2.721 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/9.671, allocations: 67.89 kB / 2.721 GB, free: 173.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005418/9.677, allocations: 1.339 MB / 2.722 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/9.682, allocations: 1.127 MB / 2.723 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/9.682, allocations: 0 / 2.723 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/9.682, allocations: 4 kB / 2.723 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/9.682, allocations: 57.98 kB / 2.723 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/9.696, allocations: 3.984 MB / 2.727 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/9.7, allocations: 0.9658 MB / 2.728 GB, free: 166.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/9.701, allocations: 428.3 kB / 2.729 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/9.702, allocations: 0.5423 MB / 2.729 GB, free: 165 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/9.703, allocations: 0.5612 MB / 2.73 GB, free: 164.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=94): time 4.899e-06/9.703, allocations: 0 / 2.73 GB, free: 164.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.005449/9.709, allocations: 1.452 MB / 2.731 GB, free: 163 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/9.709, allocations: 218.4 kB / 2.731 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/9.711, allocations: 0.6992 MB / 2.732 GB, free: 162 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003463/9.711, allocations: 29.7 kB / 2.732 GB, free: 162 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/9.711, allocations: 399.9 kB / 2.732 GB, free: 161.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000477/9.712, allocations: 299.4 kB / 2.733 GB, free: 161.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/9.712, allocations: 4 kB / 2.733 GB, free: 161.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001944/9.712, allocations: 394.7 kB / 2.733 GB, free: 160.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/9.713, allocations: 361.9 kB / 2.733 GB, free: 160.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/9.715, allocations: 0.5167 MB / 2.734 GB, free: 160 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/9.717, allocations: 0.5298 MB / 2.734 GB, free: 159.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/9.717, allocations: 3.938 kB / 2.734 GB, free: 159.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00528/9.722, allocations: 1.229 MB / 2.736 GB, free: 158.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002631/9.723, allocations: 1.138 MB / 2.737 GB, free: 157 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/9.723, allocations: 4 kB / 2.737 GB, free: 157 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/9.724, allocations: 108.8 kB / 2.737 GB, free: 156.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/9.726, allocations: 219.7 kB / 2.737 GB, free: 156.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/9.727, allocations: 0.6576 MB / 2.738 GB, free: 156 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/9.729, allocations: 87.36 kB / 2.738 GB, free: 155.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/9.73, allocations: 44.03 kB / 2.738 GB, free: 155.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/9.73, allocations: 4 kB / 2.738 GB, free: 155.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003883/9.734, allocations: 0.982 MB / 2.739 GB, free: 154.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/9.734, allocations: 4 kB / 2.739 GB, free: 154.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/9.734, allocations: 8 kB / 2.739 GB, free: 154.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/9.736, allocations: 223.7 kB / 2.739 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/9.736, allocations: 7.938 kB / 2.739 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/9.738, allocations: 79.48 kB / 2.739 GB, free: 154.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/9.738, allocations: 43.97 kB / 2.739 GB, free: 154.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004036/9.738, allocations: 135.1 kB / 2.739 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/9.739, allocations: 94.88 kB / 2.739 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007107/9.746, allocations: 1.459 MB / 2.741 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/9.746, allocations: 11.91 kB / 2.741 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/9.746, allocations: 4 kB / 2.741 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/9.746, allocations: 7.969 kB / 2.741 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008805/9.755, allocations: 2.554 MB / 2.743 GB, free: 150.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/9.755, allocations: 4 kB / 2.743 GB, free: 150.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/9.757, allocations: 203.9 kB / 2.744 GB, free: 150 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/9.759, allocations: 184.7 kB / 2.744 GB, free: 149.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000275/9.759, allocations: 19.98 kB / 2.744 GB, free: 149.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/9.762, allocations: 1.686 MB / 2.745 GB, free: 148 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/9.762, allocations: 4 kB / 2.745 GB, free: 148 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005088/9.767, allocations: 1.499 MB / 2.747 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005097/9.773, allocations: 1.918 MB / 2.749 GB, free: 144.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/9.774, allocations: 351.4 kB / 2.749 GB, free: 144 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004978/9.774, allocations: 8 kB / 2.749 GB, free: 144 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002654/9.777, allocations: 75.91 kB / 2.749 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/9.778, allocations: 60.61 kB / 2.749 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/9.778, allocations: 43.97 kB / 2.749 GB, free: 143.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.00159/9.779, allocations: 0.5499 MB / 2.75 GB, free: 143.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.008017/9.787, allocations: 0.6037 MB / 2.75 GB, free: 142.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003453/9.791, allocations: 0.7113 MB / 2.751 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005972/9.797, allocations: 1.612 MB / 2.753 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/9.797, allocations: 128 / 2.753 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/9.799, allocations: 0.6176 MB / 2.753 GB, free: 139.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/9.801, allocations: 215.5 kB / 2.753 GB, free: 139.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/9.807, allocations: 1.728 MB / 2.755 GB, free: 137.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/9.808, allocations: 1.302 MB / 2.756 GB, free: 136.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.803e-06/9.809, allocations: 0 / 2.756 GB, free: 136.5 MB / 0.6198 GB