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"}) Notification: Performance of loadModel(Buildings): time 4.717/4.717, allocations: 404.1 MB / 411.3 MB, free: 420 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.646e-05, allocations: 0 / 0.4945 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6929/0.693, allocations: 92.68 MB / 0.585 GB, free: 2.312 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.853, allocations: 324.4 MB / 0.9019 GB, free: 38.55 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/1.854, allocations: 85.31 kB / 0.9019 GB, free: 38.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02918/1.883, allocations: 7.57 MB / 0.9093 GB, free: 32.44 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.933e-06/1.883, allocations: 0 / 0.9093 GB, free: 32.44 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.883, allocations: 0 / 0.9093 GB, free: 32.44 MB / 0.6511 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.0003605/1.883, allocations: 345.9 kB / 0.9097 GB, free: 32.06 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/1.883, allocations: 8.031 kB / 0.9097 GB, free: 32.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/1.883, allocations: 3.953 kB / 0.9097 GB, free: 32.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/1.883, allocations: 171 kB / 0.9098 GB, free: 31.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.762e-05/1.884, allocations: 25.7 kB / 0.9099 GB, free: 31.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/1.884, allocations: 0 / 0.9099 GB, free: 31.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.647e-05/1.884, allocations: 15.44 kB / 0.9099 GB, free: 31.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.943e-05/1.884, allocations: 41.62 kB / 0.9099 GB, free: 31.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.884, allocations: 0 / 0.9099 GB, free: 31.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/1.884, allocations: 0 / 0.9099 GB, free: 31.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/1.884, allocations: 3.953 kB / 0.9099 GB, free: 31.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/1.885, allocations: 0.574 MB / 0.9105 GB, free: 31.08 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.071e-05/1.885, allocations: 22.58 kB / 0.9105 GB, free: 31.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/1.885, allocations: 8.359 kB / 0.9105 GB, free: 31.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/1.885, allocations: 359.9 kB / 0.9108 GB, free: 30.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/1.885, allocations: 37.81 kB / 0.9109 GB, free: 30.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 2.184e-06/1.885, allocations: 0 / 0.9109 GB, free: 30.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0002794/1.885, allocations: 45.58 kB / 0.9109 GB, free: 30.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/1.885, allocations: 55.44 kB / 0.911 GB, free: 30.46 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.669e-05/1.885, allocations: 100.3 kB / 0.9111 GB, free: 30.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/1.885, allocations: 25.7 kB / 0.9111 GB, free: 30.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/1.885, allocations: 84.14 kB / 0.9112 GB, free: 30.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/1.885, allocations: 3.906 kB / 0.9112 GB, free: 30.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.885, allocations: 0 / 0.9112 GB, free: 30.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.912e-05/1.886, allocations: 316.1 kB / 0.9115 GB, free: 29.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/1.886, allocations: 4 kB / 0.9115 GB, free: 29.92 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/1.886, allocations: 17.72 kB / 0.9115 GB, free: 29.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/1.886, allocations: 27.66 kB / 0.9115 GB, free: 29.87 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.886, allocations: 0 / 0.9115 GB, free: 29.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000275/1.886, allocations: 57.61 kB / 0.9116 GB, free: 29.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.886, allocations: 8 kB / 0.9116 GB, free: 29.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.886, allocations: 0 / 0.9116 GB, free: 29.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.886, allocations: 0 / 0.9116 GB, free: 29.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.862e-05/1.886, allocations: 4 kB / 0.9116 GB, free: 29.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.886, allocations: 8.062 kB / 0.9116 GB, free: 29.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/1.886, allocations: 3.953 kB / 0.9116 GB, free: 29.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/1.886, allocations: 0 / 0.9116 GB, free: 29.79 MB / 0.6511 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.095e-05/1.886, allocations: 108.4 kB / 0.9117 GB, free: 29.68 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001774/1.887, allocations: 45.56 kB / 0.9118 GB, free: 29.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/1.887, allocations: 7.906 kB / 0.9118 GB, free: 29.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/1.887, allocations: 113.6 kB / 0.9119 GB, free: 29.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.77e-05/1.887, allocations: 191.7 kB / 0.9121 GB, free: 29.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.754e-05/1.887, allocations: 180.2 kB / 0.9122 GB, free: 29.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.499e-05/1.887, allocations: 176.3 kB / 0.9124 GB, free: 28.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/1.887, allocations: 381.8 kB / 0.9128 GB, free: 28.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/1.887, allocations: 108.9 kB / 0.9129 GB, free: 28.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/1.887, allocations: 112.5 kB / 0.913 GB, free: 28.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.6e-05/1.887, allocations: 176.3 kB / 0.9131 GB, free: 28.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/1.887, allocations: 188.2 kB / 0.9133 GB, free: 27.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.405e-05/1.887, allocations: 176.3 kB / 0.9135 GB, free: 27.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.668e-05/1.887, allocations: 176.3 kB / 0.9137 GB, free: 27.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.718e-05/1.888, allocations: 315.6 kB / 0.914 GB, free: 27.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/1.888, allocations: 182.4 kB / 0.9141 GB, free: 27.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/1.888, allocations: 184.2 kB / 0.9143 GB, free: 26.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/1.888, allocations: 101 kB / 0.9144 GB, free: 26.74 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/1.888, allocations: 184.2 kB / 0.9146 GB, free: 26.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/1.888, allocations: 108.9 kB / 0.9147 GB, free: 26.44 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.444e-05/1.888, allocations: 87.08 kB / 0.9148 GB, free: 26.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/1.888, allocations: 0 / 0.9148 GB, free: 26.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004239/1.888, allocations: 35.89 kB / 0.9148 GB, free: 26.32 MB / 0.6511 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.0004785/1.889, allocations: 0.8595 MB / 0.9156 GB, free: 25.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.383e-05/1.889, allocations: 15.92 kB / 0.9157 GB, free: 25.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.889, allocations: 128 / 0.9157 GB, free: 25.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/1.889, allocations: 7.938 kB / 0.9157 GB, free: 25.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/1.889, allocations: 0.5182 MB / 0.9162 GB, free: 24.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/1.89, allocations: 172.9 kB / 0.9163 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/1.89, allocations: 0.6806 MB / 0.917 GB, free: 23.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.054e-05/1.89, allocations: 11.94 kB / 0.917 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/1.89, allocations: 7.438 kB / 0.917 GB, free: 23.97 MB / 0.6511 GB Notification: Performance of SimCode: time 8.11e-07/1.89, allocations: 0 / 0.917 GB, free: 23.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04362/1.934, allocations: 1.434 MB / 0.9184 GB, free: 22.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002616/1.934, allocations: 202.6 kB / 0.9186 GB, free: 22.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.615/4.549, allocations: 0 / 0.9186 GB, free: 22.28 MB / 0.6511 GB