[: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.907/2.907, allocations: 320.9 MB / 327.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3364/3.243, allocations: 75.72 MB / 403.6 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/3.415, allocations: 73.39 MB / 477 MB, free: 7.074 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/4.507, allocations: 379.7 MB / 0.8366 GB, free: 132 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/4.508, allocations: 81.14 kB / 0.8367 GB, free: 131.9 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: 2102 * Number of variables: 2102 Notification: Performance of Generate backend data structure: time 5.205/9.712, allocations: 1.032 GB / 1.869 GB, free: 35.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/9.713, allocations: 9.547 kB / 1.869 GB, free: 35.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009654/9.722, allocations: 1.162 MB / 1.87 GB, free: 34.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04844/9.771, allocations: 11.77 MB / 1.881 GB, free: 26.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008966/9.772, allocations: 264 kB / 1.882 GB, free: 26.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003962/9.776, allocations: 487.9 kB / 1.882 GB, free: 26.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03245/9.808, allocations: 8.977 MB / 1.891 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0463/9.854, allocations: 10.4 MB / 1.901 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006192/9.855, allocations: 31.81 kB / 1.901 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004176/9.859, allocations: 19.91 kB / 1.901 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003329/9.86, allocations: 255.9 kB / 1.901 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6592/10.52, allocations: 49.46 MB / 1.95 GB, free: 80.07 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/10.53, allocations: 4.245 MB / 1.954 GB, free: 80.04 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01289/10.54, allocations: 5.071 MB / 1.959 GB, free: 79.98 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001716/10.54, allocations: 0.5108 MB / 1.959 GB, free: 79.61 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01011/10.56, allocations: 3.724 MB / 1.963 GB, free: 79.42 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=501): time 9.307e-06/10.56, allocations: 0 / 1.963 GB, free: 79.42 MB / 0.6512 GB Notification: Performance of matching and sorting (n=521): time 0.06937/10.62, allocations: 17.65 MB / 1.98 GB, free: 77.77 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/10.62, allocations: 242.8 kB / 1.98 GB, free: 77.54 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01621/10.64, allocations: 5.854 MB / 1.986 GB, free: 77.18 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001503/10.64, allocations: 31.48 kB / 1.986 GB, free: 77.14 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00563/10.65, allocations: 3.057 MB / 1.989 GB, free: 75.94 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.006545/10.65, allocations: 1.727 MB / 1.991 GB, free: 74.82 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007286/10.66, allocations: 0 / 1.991 GB, free: 74.82 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 0.0005181/10.66, allocations: 0.5642 MB / 1.991 GB, free: 74.5 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008657/10.66, allocations: 3.168 MB / 1.994 GB, free: 74.49 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/10.68, allocations: 5.025 MB / 1.999 GB, free: 72.31 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/10.69, allocations: 4.84 MB / 2.004 GB, free: 72.22 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.562e-05/10.69, allocations: 16.72 kB / 2.004 GB, free: 72.22 MB / 0.6512 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.03589/10.73, allocations: 9.33 MB / 2.013 GB, free: 71.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.01006/10.74, allocations: 27.42 MB / 2.04 GB, free: 59.15 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002715/10.74, allocations: 55.22 kB / 2.04 GB, free: 59.15 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/10.74, allocations: 101.1 kB / 2.04 GB, free: 59.15 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01298/10.75, allocations: 1.482 MB / 2.042 GB, free: 59.15 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001621/10.75, allocations: 124.2 kB / 2.042 GB, free: 59.15 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0133/10.76, allocations: 460.5 kB / 2.042 GB, free: 59.1 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00211/10.77, allocations: 297.1 kB / 2.042 GB, free: 59.1 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/10.77, allocations: 5.281 kB / 2.042 GB, free: 59.1 MB / 0.6668 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02828/10.79, allocations: 8.618 MB / 2.051 GB, free: 58.93 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/10.79, allocations: 54.44 kB / 2.051 GB, free: 58.93 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/10.79, allocations: 104 kB / 2.051 GB, free: 58.93 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01263/10.81, allocations: 1.448 MB / 2.052 GB, free: 58.93 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001544/10.81, allocations: 123.5 kB / 2.053 GB, free: 58.93 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/10.82, allocations: 420.1 kB / 2.053 GB, free: 58.88 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001977/10.82, allocations: 301.4 kB / 2.053 GB, free: 58.88 MB / 0.6668 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (797): * Single equations (assignments): 795 * 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.003029/10.82, allocations: 345.8 kB / 2.054 GB, free: 58.68 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003066/10.83, allocations: 0.6503 MB / 2.054 GB, free: 58.33 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03425/10.86, allocations: 9.419 MB / 2.063 GB, free: 57.86 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.593e-05/10.86, allocations: 62.69 kB / 2.063 GB, free: 57.86 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/10.86, allocations: 0 / 2.063 GB, free: 57.86 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02541/10.89, allocations: 7.84 MB / 2.071 GB, free: 57.45 MB / 0.6668 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0629/10.95, allocations: 18.48 MB / 2.089 GB, free: 55.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-05/10.95, allocations: 10 kB / 2.089 GB, free: 55.9 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01235/10.96, allocations: 0.961 MB / 2.09 GB, free: 55.9 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004683/10.97, allocations: 0.8858 MB / 2.091 GB, free: 55.74 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001742/10.97, allocations: 84.41 kB / 2.091 GB, free: 55.74 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/10.99, allocations: 12.06 MB / 2.103 GB, free: 61.37 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.139e-05/10.99, allocations: 14.5 kB / 2.103 GB, free: 61.37 MB / 0.6824 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03917/11.02, allocations: 15.01 MB / 2.117 GB, free: 58.06 MB / 0.6824 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04994/11.07, allocations: 20.31 MB / 2.137 GB, free: 49.88 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008228/11.08, allocations: 1.75 MB / 2.139 GB, free: 48.98 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004438/11.09, allocations: 33.42 kB / 2.139 GB, free: 48.98 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01568/11.1, allocations: 0.5286 MB / 2.14 GB, free: 48.93 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001625/11.11, allocations: 303.6 kB / 2.14 GB, free: 48.88 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001317/11.11, allocations: 202.8 kB / 2.14 GB, free: 48.84 MB / 0.6824 GB Notification: Performance of sort global known variables: time 0.01218/11.12, allocations: 4.498 MB / 2.144 GB, free: 47.22 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0276/11.15, allocations: 3.886 MB / 2.148 GB, free: 46.92 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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: 10 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,P.a,P.b,P.last,P.nextEvent) * Number of discrete states: 10 (P.last,P.nextEvent,P.b,P.a,$whenCondition2,TWat.last,TWat.nextEvent,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (497): * Single equations (assignments): 475 * 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.003701/11.15, allocations: 0.9244 MB / 2.149 GB, free: 46.73 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.03069/11.18, allocations: 12.21 MB / 2.161 GB, free: 42.79 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/11.18, allocations: 4.156 kB / 2.161 GB, free: 42.79 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.01198/11.19, allocations: 3.83 MB / 2.165 GB, free: 41.47 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03225/11.23, allocations: 3.455 MB / 2.168 GB, free: 39.68 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06002/11.29, allocations: 18.02 MB / 2.186 GB, free: 24.58 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01929/11.3, allocations: 7.081 MB / 2.193 GB, free: 19.26 MB / 0.6824 GB Notification: Performance of SimCode: time 1.883e-06/11.3, allocations: 0 / 2.193 GB, free: 19.26 MB / 0.6824 GB