Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.191/4.191, allocations: 404 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2753/4.466, allocations: 95 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/5.063, allocations: 92.69 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9952/6.058, allocations: 327.2 MB / 0.9041 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/6.059, allocations: 72.83 kB / 0.9042 GB, free: 100.1 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.07372/6.132, allocations: 16.28 MB / 0.92 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/6.132, allocations: 12 kB / 0.9201 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/6.138, allocations: 195.5 kB / 0.9202 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/6.138, allocations: 208.3 kB / 0.9204 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/6.139, allocations: 8 kB / 0.9205 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/6.139, allocations: 8 kB / 0.9205 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001019/6.14, allocations: 200.9 kB / 0.9207 GB, free: 85.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/6.14, allocations: 235.6 kB / 0.9209 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/6.14, allocations: 0 / 0.9209 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/6.141, allocations: 0 / 0.9209 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/6.141, allocations: 11.98 kB / 0.9209 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/6.144, allocations: 1.348 MB / 0.9222 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/6.145, allocations: 142.2 kB / 0.9223 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/6.145, allocations: 62.14 kB / 0.9224 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/6.145, allocations: 4 kB / 0.9224 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/6.145, allocations: 34 kB / 0.9224 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 4.649e-06/6.145, allocations: 0 / 0.9224 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0007907/6.146, allocations: 145.6 kB / 0.9226 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/6.146, allocations: 51.41 kB / 0.9226 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/6.146, allocations: 127.9 kB / 0.9227 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/6.146, allocations: 25.7 kB / 0.9228 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/6.146, allocations: 131.3 kB / 0.9229 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/6.146, allocations: 62.28 kB / 0.923 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/6.147, allocations: 0 / 0.923 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/6.147, allocations: 321 kB / 0.9233 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/6.147, allocations: 42.41 kB / 0.9233 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/6.147, allocations: 130.2 kB / 0.9234 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/6.147, allocations: 56.06 kB / 0.9235 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/6.147, allocations: 4 kB / 0.9235 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008137/6.148, allocations: 192.6 kB / 0.9237 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/6.148, allocations: 4 kB / 0.9237 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/6.148, allocations: 4 kB / 0.9237 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/6.148, allocations: 4 kB / 0.9237 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/6.15, allocations: 72.11 kB / 0.9237 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/6.15, allocations: 11.88 kB / 0.9238 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/6.15, allocations: 27.77 kB / 0.9238 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/6.151, allocations: 15.36 kB / 0.9238 GB, free: 82.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001723/6.151, allocations: 112.8 kB / 0.9239 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/6.151, allocations: 11.91 kB / 0.9239 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/6.152, allocations: 187.8 kB / 0.9241 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/6.152, allocations: 4 kB / 0.9241 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/6.152, allocations: 0 / 0.9241 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/6.152, allocations: 3.906 kB / 0.9241 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/6.153, allocations: 210.6 kB / 0.9243 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/6.153, allocations: 4 kB / 0.9243 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/6.154, allocations: 55.89 kB / 0.9244 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/6.154, allocations: 0 / 0.9244 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/6.154, allocations: 7.938 kB / 0.9244 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/6.154, allocations: 0 / 0.9244 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/6.154, allocations: 0 / 0.9244 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006943/6.154, allocations: 250.5 kB / 0.9246 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008005/6.155, allocations: 0.6344 MB / 0.9252 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/6.156, allocations: 108.2 kB / 0.9253 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/6.156, allocations: 4 kB / 0.9253 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/6.156, allocations: 7.984 kB / 0.9253 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/6.157, allocations: 7.984 kB / 0.9254 GB, free: 81.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/6.157, allocations: 15.23 kB / 0.9254 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001065/6.157, allocations: 95.5 kB / 0.9255 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002805/6.16, allocations: 63.89 kB / 0.9255 GB, free: 81.06 MB / 0.6823 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 (20): * Single equations (assignments): 20 * 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.0003785/6.16, allocations: 126.3 kB / 0.9256 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000684/6.161, allocations: 145.2 kB / 0.9258 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/6.161, allocations: 4 kB / 0.9258 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/6.161, allocations: 66.69 kB / 0.9258 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008569/6.162, allocations: 34.16 kB / 0.9259 GB, free: 80.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/6.164, allocations: 224.5 kB / 0.9261 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/6.164, allocations: 0.7468 MB / 0.9268 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/6.164, allocations: 4 kB / 0.9268 GB, free: 79.74 MB / 0.6823 GB