Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.281/4.281, allocations: 403.9 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2952/4.577, allocations: 95.01 MB / 0.4941 GB, free: 7.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/5.14, allocations: 92.69 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9911/6.132, allocations: 324.3 MB / 0.9013 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/6.132, allocations: 80.02 kB / 0.9014 GB, free: 106.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.03083/6.163, allocations: 7.668 MB / 0.9089 GB, free: 99.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/6.163, allocations: 8 kB / 0.9089 GB, free: 99.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/6.163, allocations: 7.938 kB / 0.9089 GB, free: 99.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/6.163, allocations: 167.1 kB / 0.9091 GB, free: 99.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/6.163, allocations: 33.55 kB / 0.9091 GB, free: 99.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/6.163, allocations: 4 kB / 0.9091 GB, free: 99.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.225e-05/6.163, allocations: 11.12 kB / 0.9091 GB, free: 99.69 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.581e-05/6.163, allocations: 33.69 kB / 0.9092 GB, free: 99.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/6.163, allocations: 4 kB / 0.9092 GB, free: 99.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/6.163, allocations: 0 / 0.9092 GB, free: 99.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/6.163, allocations: 0 / 0.9092 GB, free: 99.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/6.164, allocations: 0.5837 MB / 0.9097 GB, free: 98.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.772e-05/6.164, allocations: 18.52 kB / 0.9097 GB, free: 98.94 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/6.164, allocations: 8.922 kB / 0.9098 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/6.165, allocations: 367.8 kB / 0.9101 GB, free: 98.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/6.165, allocations: 30.56 kB / 0.9101 GB, free: 98.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/6.165, allocations: 4 kB / 0.9101 GB, free: 98.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.000317/6.165, allocations: 41.69 kB / 0.9102 GB, free: 98.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/6.165, allocations: 55.09 kB / 0.9102 GB, free: 98.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/6.165, allocations: 96.89 kB / 0.9103 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/6.165, allocations: 25.7 kB / 0.9103 GB, free: 98.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/6.165, allocations: 80.14 kB / 0.9104 GB, free: 98.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/6.165, allocations: 7.781 kB / 0.9104 GB, free: 98.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/6.165, allocations: 4 kB / 0.9104 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.526e-05/6.165, allocations: 314.9 kB / 0.9107 GB, free: 97.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/6.165, allocations: 0 / 0.9107 GB, free: 97.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/6.165, allocations: 21.64 kB / 0.9108 GB, free: 97.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/6.166, allocations: 23.48 kB / 0.9108 GB, free: 97.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/6.166, allocations: 0 / 0.9108 GB, free: 97.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003211/6.166, allocations: 56.67 kB / 0.9108 GB, free: 97.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/6.166, allocations: 11.97 kB / 0.9108 GB, free: 97.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/6.166, allocations: 3.984 kB / 0.9108 GB, free: 97.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/6.166, allocations: 4 kB / 0.9108 GB, free: 97.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/6.166, allocations: 4 kB / 0.9109 GB, free: 97.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/6.166, allocations: 3.938 kB / 0.9109 GB, free: 97.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/6.166, allocations: 0 / 0.9109 GB, free: 97.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/6.166, allocations: 4 kB / 0.9109 GB, free: 97.67 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.242e-05/6.166, allocations: 103.9 kB / 0.911 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/6.166, allocations: 7.844 kB / 0.911 GB, free: 97.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/6.167, allocations: 124.5 kB / 0.9111 GB, free: 97.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-05/6.167, allocations: 188.2 kB / 0.9113 GB, free: 97.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-05/6.167, allocations: 176.3 kB / 0.9114 GB, free: 97.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.423e-05/6.167, allocations: 180.2 kB / 0.9116 GB, free: 96.87 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/6.167, allocations: 397.4 kB / 0.912 GB, free: 96.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/6.167, allocations: 105.2 kB / 0.9121 GB, free: 96.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/6.167, allocations: 101 kB / 0.9122 GB, free: 96.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.866e-05/6.167, allocations: 186.6 kB / 0.9124 GB, free: 96.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/6.167, allocations: 180.3 kB / 0.9125 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-05/6.167, allocations: 176.3 kB / 0.9127 GB, free: 95.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.574e-05/6.167, allocations: 184.2 kB / 0.9129 GB, free: 95.49 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.609e-05/6.167, allocations: 307.7 kB / 0.9132 GB, free: 95.17 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001675/6.167, allocations: 0.6718 MB / 0.9138 GB, free: 94.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/6.168, allocations: 186.1 kB / 0.914 GB, free: 94.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/6.168, allocations: 187.7 kB / 0.9142 GB, free: 94.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/6.168, allocations: 101 kB / 0.9143 GB, free: 93.97 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/6.168, allocations: 184.2 kB / 0.9145 GB, free: 93.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/6.168, allocations: 104.9 kB / 0.9146 GB, free: 93.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.142e-05/6.168, allocations: 83.28 kB / 0.9146 GB, free: 93.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001468/6.169, allocations: 43.23 kB / 0.9147 GB, free: 93.56 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 (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.0003833/6.17, allocations: 234.1 kB / 0.9149 GB, free: 93.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.731e-05/6.17, allocations: 11.98 kB / 0.9149 GB, free: 93.31 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/6.17, allocations: 0 / 0.9149 GB, free: 93.31 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/6.17, allocations: 0 / 0.9149 GB, free: 93.31 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/6.17, allocations: 0.5257 MB / 0.9154 GB, free: 92.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/6.171, allocations: 131.4 kB / 0.9155 GB, free: 92.63 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/6.171, allocations: 0.6919 MB / 0.9162 GB, free: 91.91 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/6.171, allocations: 0 / 0.9162 GB, free: 91.91 MB / 0.6823 GB