Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.379/4.379, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.273/4.652, allocations: 95.01 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/5.179, allocations: 92.67 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9405/6.12, allocations: 332.8 MB / 0.9095 GB, free: 97.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/6.12, allocations: 77.64 kB / 0.9096 GB, free: 97.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03312/6.153, allocations: 8.034 MB / 0.9174 GB, free: 91.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/6.154, allocations: 19.98 kB / 0.9175 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/6.154, allocations: 8 kB / 0.9175 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/6.154, allocations: 170.5 kB / 0.9176 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/6.154, allocations: 0 / 0.9176 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/6.154, allocations: 4 kB / 0.9176 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.743e-05/6.154, allocations: 8 kB / 0.9177 GB, free: 91.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/6.154, allocations: 67.38 kB / 0.9177 GB, free: 91.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/6.154, allocations: 0 / 0.9177 GB, free: 91.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/6.154, allocations: 8 kB / 0.9177 GB, free: 91.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/6.154, allocations: 3.906 kB / 0.9177 GB, free: 91.15 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/6.155, allocations: 434.5 kB / 0.9181 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/6.155, allocations: 74.72 kB / 0.9182 GB, free: 90.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/6.155, allocations: 18.64 kB / 0.9182 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/6.155, allocations: 0 / 0.9182 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/6.155, allocations: 38.19 kB / 0.9183 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.214e-06/6.155, allocations: 0 / 0.9183 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0007511/6.156, allocations: 281.8 kB / 0.9185 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/6.156, allocations: 102.8 kB / 0.9186 GB, free: 90.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/6.156, allocations: 97.11 kB / 0.9187 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/6.156, allocations: 25.7 kB / 0.9187 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/6.156, allocations: 95.97 kB / 0.9188 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/6.156, allocations: 19.09 kB / 0.9189 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-06/6.156, allocations: 0 / 0.9189 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.835e-05/6.156, allocations: 326.8 kB / 0.9192 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/6.157, allocations: 11.38 kB / 0.9192 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/6.157, allocations: 51.84 kB / 0.9192 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.848e-05/6.157, allocations: 19.67 kB / 0.9193 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/6.157, allocations: 4 kB / 0.9193 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001876/6.157, allocations: 77.36 kB / 0.9193 GB, free: 89.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/6.157, allocations: 7.938 kB / 0.9193 GB, free: 89.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/6.157, allocations: 0 / 0.9193 GB, free: 89.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/6.157, allocations: 4 kB / 0.9193 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/6.157, allocations: 16.06 kB / 0.9194 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/6.157, allocations: 7.906 kB / 0.9194 GB, free: 89.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/6.157, allocations: 7.984 kB / 0.9194 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/6.157, allocations: 8.125 kB / 0.9194 GB, free: 89.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.205e-05/6.157, allocations: 108.7 kB / 0.9195 GB, free: 89.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/6.158, allocations: 11.84 kB / 0.9195 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/6.158, allocations: 3.75 kB / 0.9195 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/6.158, allocations: 4 kB / 0.9195 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/6.158, allocations: 0 / 0.9195 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/6.158, allocations: 0 / 0.9195 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/6.158, allocations: 149.9 kB / 0.9196 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/6.158, allocations: 0 / 0.9196 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/6.158, allocations: 27.73 kB / 0.9197 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/6.158, allocations: 3.906 kB / 0.9197 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/6.158, allocations: 0 / 0.9197 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/6.158, allocations: 4 kB / 0.9197 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/6.158, allocations: 0 / 0.9197 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002526/6.159, allocations: 343.7 kB / 0.92 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003032/6.159, allocations: 0.7191 MB / 0.9207 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/6.159, allocations: 88.73 kB / 0.9208 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/6.159, allocations: 7.984 kB / 0.9208 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/6.16, allocations: 3.938 kB / 0.9208 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/6.16, allocations: 7.906 kB / 0.9208 GB, free: 87.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/6.16, allocations: 0 / 0.9208 GB, free: 87.74 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.049e-05/6.16, allocations: 83.27 kB / 0.9209 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001533/6.161, allocations: 15.81 kB / 0.9209 GB, free: 87.65 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001928/6.161, allocations: 115.2 kB / 0.921 GB, free: 87.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001535/6.162, allocations: 35.12 kB / 0.921 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/6.162, allocations: 4 kB / 0.9211 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.838e-05/6.162, allocations: 15.92 kB / 0.9211 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/6.162, allocations: 4 kB / 0.9211 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008164/6.163, allocations: 287.8 kB / 0.9213 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/6.163, allocations: 0.7036 MB / 0.922 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/6.163, allocations: 0 / 0.922 GB, free: 86.45 MB / 0.6823 GB