Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 4.122/4.122, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3058/4.428, allocations: 95 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/4.976, allocations: 92.68 MB / 0.5846 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/6.061, allocations: 416.7 MB / 0.9915 GB, free: 18.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/6.061, allocations: 94.27 kB / 0.9916 GB, free: 18.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 3.41/9.471, allocations: 0.6486 GB / 1.64 GB, free: 32.32 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/9.471, allocations: 12 kB / 1.64 GB, free: 32.3 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006427/9.477, allocations: 433.4 kB / 1.641 GB, free: 31.88 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0383/9.516, allocations: 8.241 MB / 1.649 GB, free: 23.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/9.516, allocations: 31.91 kB / 1.649 GB, free: 23.49 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/9.516, allocations: 56 kB / 1.649 GB, free: 23.43 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002379/9.519, allocations: 0.6521 MB / 1.649 GB, free: 22.78 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/9.521, allocations: 0.9469 MB / 1.65 GB, free: 21.75 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/9.521, allocations: 3.938 kB / 1.65 GB, free: 21.74 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/9.522, allocations: 4 kB / 1.65 GB, free: 21.74 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/9.522, allocations: 27.98 kB / 1.65 GB, free: 21.71 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/9.534, allocations: 5.639 MB / 1.656 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/9.535, allocations: 0.5105 MB / 1.656 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/9.536, allocations: 251.4 kB / 1.657 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00377/9.54, allocations: 1.678 MB / 1.658 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007653/9.541, allocations: 357.5 kB / 1.659 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 3.838e-06/9.541, allocations: 0 / 1.659 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=47): time 0.003066/9.544, allocations: 0.6533 MB / 1.659 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/9.544, allocations: 166.3 kB / 1.659 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/9.546, allocations: 0.9814 MB / 1.66 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002181/9.547, allocations: 33.69 kB / 1.66 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005616/9.547, allocations: 483.8 kB / 1.661 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/9.547, allocations: 145.8 kB / 1.661 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/9.547, allocations: 0 / 1.661 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/9.548, allocations: 337.9 kB / 1.661 GB, free: 9.938 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/9.548, allocations: 205.5 kB / 1.661 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/9.549, allocations: 0.5301 MB / 1.662 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/9.551, allocations: 349 kB / 1.662 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/9.551, allocations: 4 kB / 1.662 GB, free: 8.707 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003696/9.554, allocations: 0.8894 MB / 1.663 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008619/9.555, allocations: 3.797 MB / 1.667 GB, free: 3.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/9.555, allocations: 8 kB / 1.667 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/9.556, allocations: 77.69 kB / 1.667 GB, free: 3.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/9.558, allocations: 191.7 kB / 1.667 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/9.559, allocations: 1.155 MB / 1.668 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/9.561, allocations: 115.3 kB / 1.668 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/9.561, allocations: 51.98 kB / 1.668 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/9.561, allocations: 7.906 kB / 1.668 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002964/9.564, allocations: 0.6933 MB / 1.669 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/9.564, allocations: 8 kB / 1.669 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003836/9.565, allocations: 77.92 kB / 1.669 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/9.566, allocations: 183.8 kB / 1.669 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/9.568, allocations: 1.159 MB / 1.671 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/9.57, allocations: 95.58 kB / 1.671 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/9.57, allocations: 43.98 kB / 1.671 GB, free: 15.79 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: subSta.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 1 * 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 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005776/9.57, allocations: 178.2 kB / 1.671 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/9.571, allocations: 130.4 kB / 1.671 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/9.575, allocations: 0.7449 MB / 1.672 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/9.575, allocations: 4 kB / 1.672 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/9.575, allocations: 4 kB / 1.672 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/9.575, allocations: 3.984 kB / 1.672 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/9.579, allocations: 1.219 MB / 1.673 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/9.579, allocations: 4 kB / 1.673 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/9.58, allocations: 115.9 kB / 1.673 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/9.581, allocations: 61.69 kB / 1.673 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/9.581, allocations: 15.98 kB / 1.673 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/9.583, allocations: 1.151 MB / 1.674 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/9.583, allocations: 48 / 1.674 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003081/9.586, allocations: 0.7516 MB / 1.675 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003464/9.589, allocations: 1.194 MB / 1.676 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/9.59, allocations: 291.7 kB / 1.676 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004546/9.591, allocations: 7.984 kB / 1.676 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/9.593, allocations: 75.92 kB / 1.676 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/9.593, allocations: 35.84 kB / 1.676 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/9.593, allocations: 31.98 kB / 1.677 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.002342/9.596, allocations: 0.7448 MB / 1.677 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.007595/9.603, allocations: 0.9552 MB / 1.678 GB, free: 7.801 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003738/9.607, allocations: 0.9345 MB / 1.679 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003765/9.611, allocations: 1.019 MB / 1.68 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/9.611, allocations: 0 / 1.68 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/9.612, allocations: 322.1 kB / 1.68 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/9.617, allocations: 0.5149 MB / 1.681 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007253/9.625, allocations: 1.659 MB / 1.683 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/9.627, allocations: 1.364 MB / 1.684 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of SimCode: time 1.553e-06/9.627, allocations: 3.938 kB / 1.684 GB, free: 1.91 MB / 0.7761 GB