Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad",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.16/4.16, allocations: 403.9 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2489/4.409, allocations: 95.03 MB / 0.4941 GB, free: 7.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/4.937, allocations: 92.68 MB / 0.5846 GB, free: 3.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.255/5.192, allocations: 121.4 MB / 0.7032 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004554/5.192, allocations: 95.92 kB / 0.7032 GB, free: 12.17 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.04872/5.241, allocations: 8.02 MB / 0.7111 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/5.241, allocations: 12 kB / 0.7111 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.723e-05/5.241, allocations: 75.28 kB / 0.7112 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/5.241, allocations: 246.2 kB / 0.7114 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/5.241, allocations: 154.6 kB / 0.7115 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/5.242, allocations: 150.6 kB / 0.7117 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.918e-05/5.242, allocations: 150.6 kB / 0.7118 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/5.242, allocations: 112.9 kB / 0.7119 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/5.242, allocations: 75.28 kB / 0.712 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/5.242, allocations: 150.6 kB / 0.7121 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.419e-05/5.242, allocations: 162.5 kB / 0.7123 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/5.242, allocations: 422.5 kB / 0.7127 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/5.243, allocations: 169.1 kB / 0.7129 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/5.243, allocations: 84.05 kB / 0.7129 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/5.243, allocations: 83.28 kB / 0.713 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/5.243, allocations: 109.8 kB / 0.7131 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/5.243, allocations: 0 / 0.7131 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001004/5.243, allocations: 25.7 kB / 0.7132 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/5.243, allocations: 136.5 kB / 0.7133 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/5.243, allocations: 89 kB / 0.7134 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/5.243, allocations: 29.7 kB / 0.7134 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/5.243, allocations: 84.14 kB / 0.7135 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/5.243, allocations: 0 / 0.7135 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-07/5.243, allocations: 0 / 0.7135 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001262/5.243, allocations: 310.8 kB / 0.7138 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-06/5.243, allocations: 0 / 0.7138 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/5.243, allocations: 22.56 kB / 0.7138 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/5.243, allocations: 81.7 kB / 0.7139 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.978e-05/5.243, allocations: 79.22 kB / 0.714 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.497e-05/5.244, allocations: 33.61 kB / 0.714 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/5.244, allocations: 6.812 kB / 0.714 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.76e-05/5.244, allocations: 79.28 kB / 0.7141 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.395e-05/5.244, allocations: 154.6 kB / 0.7142 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-05/5.244, allocations: 79.22 kB / 0.7143 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.677e-05/5.244, allocations: 158.6 kB / 0.7144 GB, free: 468 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/5.244, allocations: 83.27 kB / 0.7145 GB, free: 384 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/5.244, allocations: 87.09 kB / 0.7146 GB, free: 296 kB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001565/5.244, allocations: 255.3 kB / 0.7148 GB, free: 32 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/5.245, allocations: 108.9 kB / 0.715 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/5.245, allocations: 112.1 kB / 0.7151 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.657e-05/5.245, allocations: 184.3 kB / 0.7152 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8e-05/5.245, allocations: 180.3 kB / 0.7154 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-05/5.245, allocations: 184.2 kB / 0.7156 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/5.245, allocations: 377.8 kB / 0.7159 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.794e-05/5.245, allocations: 105 kB / 0.716 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/5.245, allocations: 109.2 kB / 0.7161 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.578e-05/5.245, allocations: 176.3 kB / 0.7163 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/5.246, allocations: 184.3 kB / 0.7165 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001251/5.246, allocations: 192.1 kB / 0.7167 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001216/5.246, allocations: 176.3 kB / 0.7168 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002376/5.246, allocations: 303.8 kB / 0.7171 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003491/5.246, allocations: 0.6759 MB / 0.7178 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/5.247, allocations: 186 kB / 0.718 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/5.247, allocations: 184.3 kB / 0.7181 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/5.247, allocations: 101 kB / 0.7182 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/5.247, allocations: 184.2 kB / 0.7184 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/5.247, allocations: 105 kB / 0.7185 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.499e-05/5.247, allocations: 79.28 kB / 0.7186 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001952/5.249, allocations: 111.8 kB / 0.7187 GB, free: 11.85 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00133/5.251, allocations: 427.9 kB / 0.7191 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.266e-05/5.251, allocations: 3.938 kB / 0.7191 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/5.251, allocations: 4 kB / 0.7191 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/5.251, allocations: 4 kB / 0.7191 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/5.251, allocations: 0.5297 MB / 0.7196 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/5.255, allocations: 0.7955 MB / 0.7204 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/5.256, allocations: 0.688 MB / 0.7211 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of SimCode: time 1.382e-06/5.256, allocations: 0 / 0.7211 GB, free: 9.395 MB / 0.6042 GB