Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.284/4.284, allocations: 403.9 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.281/4.565, allocations: 95.02 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6072/5.173, allocations: 92.67 MB / 0.5846 GB, free: 3.281 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/6.433, allocations: 412.2 MB / 0.9871 GB, free: 20.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004249/6.434, allocations: 75.14 kB / 0.9872 GB, free: 20.06 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.6803/7.114, allocations: 84.6 MB / 1.07 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.514e-05/7.114, allocations: 16 kB / 1.07 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005007/7.115, allocations: 23.8 kB / 1.07 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/7.115, allocations: 206.9 kB / 1.07 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/7.115, allocations: 7.938 kB / 1.07 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/7.115, allocations: 15.94 kB / 1.07 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001475/7.117, allocations: 412.2 kB / 1.07 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008068/7.118, allocations: 220.6 kB / 1.071 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/7.118, allocations: 0 / 1.071 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/7.118, allocations: 4 kB / 1.071 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/7.118, allocations: 7.938 kB / 1.071 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/7.121, allocations: 1.004 MB / 1.072 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008266/7.122, allocations: 140 kB / 1.072 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/7.122, allocations: 48.86 kB / 1.072 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00394/7.126, allocations: 1.954 MB / 1.074 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/7.126, allocations: 42.47 kB / 1.074 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 4.038e-06/7.126, allocations: 0 / 1.074 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.001581/7.128, allocations: 125.5 kB / 1.074 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/7.128, allocations: 51.41 kB / 1.074 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/7.128, allocations: 145 kB / 1.074 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/7.128, allocations: 25.7 kB / 1.074 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/7.128, allocations: 143.7 kB / 1.074 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/7.128, allocations: 47.3 kB / 1.074 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/7.128, allocations: 4 kB / 1.074 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002323/7.129, allocations: 322.8 kB / 1.075 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/7.129, allocations: 28 kB / 1.075 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/7.129, allocations: 133.7 kB / 1.075 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/7.13, allocations: 80.84 kB / 1.075 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/7.13, allocations: 0 / 1.075 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001855/7.132, allocations: 211.5 kB / 1.075 GB, free: 3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/7.132, allocations: 4 kB / 1.075 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/7.132, allocations: 4 kB / 1.075 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.875e-05/7.132, allocations: 8 kB / 1.075 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/7.133, allocations: 55.91 kB / 1.075 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/7.133, allocations: 4 kB / 1.075 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/7.134, allocations: 23.73 kB / 1.075 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/7.134, allocations: 16 kB / 1.075 GB, free: 2.887 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0002317/7.134, allocations: 128.4 kB / 1.075 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/7.134, allocations: 15.89 kB / 1.075 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/7.136, allocations: 185.7 kB / 1.075 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/7.136, allocations: 7.938 kB / 1.075 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/7.136, allocations: 0 / 1.075 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/7.136, allocations: 0 / 1.075 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007087/7.137, allocations: 186 kB / 1.076 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/7.137, allocations: 4 kB / 1.076 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/7.137, allocations: 31.92 kB / 1.076 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/7.137, allocations: 4 kB / 1.076 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/7.137, allocations: 7.984 kB / 1.076 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/7.137, allocations: 4 kB / 1.076 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/7.137, allocations: 0 / 1.076 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001508/7.139, allocations: 229.3 kB / 1.076 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001831/7.141, allocations: 0.6247 MB / 1.077 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/7.141, allocations: 124.8 kB / 1.077 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/7.141, allocations: 0 / 1.077 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/7.142, allocations: 7.984 kB / 1.077 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/7.142, allocations: 7.938 kB / 1.077 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/7.142, allocations: 15.98 kB / 1.077 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001685/7.142, allocations: 102.3 kB / 1.077 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003508/7.146, allocations: 99.83 kB / 1.077 GB, free: 1.031 MB / 0.7448 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0009369/7.147, allocations: 229.3 kB / 1.077 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007076/7.147, allocations: 108.6 kB / 1.077 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/7.147, allocations: 0 / 1.077 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/7.148, allocations: 40.92 kB / 1.077 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/7.149, allocations: 36.47 kB / 1.077 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/7.15, allocations: 165.1 kB / 1.077 GB, free: 448 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007442/7.151, allocations: 0.7508 MB / 1.078 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of SimCode: time 1.402e-06/7.151, allocations: 4 kB / 1.078 GB, free: 15.66 MB / 0.7605 GB