Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.44/4.44, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.437e-05/6.447e-05, allocations: 4.781 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2544, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.505, allocations: 345.1 MB / 1.015 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/1.505, allocations: 87.38 kB / 1.015 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.03192/1.537, allocations: 8.059 MB / 1.023 GB, free: 1.004 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.773e-06/1.537, allocations: 3.938 kB / 1.023 GB, free: 1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.528e-06/1.537, allocations: 4 kB / 1.023 GB, free: 0.9961 MB / 0.8073 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.0004362/1.538, allocations: 341.9 kB / 1.023 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.538, allocations: 12.03 kB / 1.023 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/1.538, allocations: 34.56 kB / 1.023 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/1.538, allocations: 11.98 kB / 1.023 GB, free: 0.5547 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/1.538, allocations: 166.9 kB / 1.023 GB, free: 364 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.538, allocations: 4 kB / 1.023 GB, free: 360 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/1.538, allocations: 7.984 kB / 1.023 GB, free: 352 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/1.538, allocations: 71.94 kB / 1.023 GB, free: 272 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.538, allocations: 0 / 1.023 GB, free: 272 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/1.538, allocations: 3.125 kB / 1.023 GB, free: 272 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/1.538, allocations: 11.98 kB / 1.023 GB, free: 260 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.993e-05/1.538, allocations: 7.938 kB / 1.023 GB, free: 252 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/1.539, allocations: 469 kB / 1.024 GB, free: 15.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/1.54, allocations: 67.55 kB / 1.024 GB, free: 15.64 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/1.54, allocations: 25.95 kB / 1.024 GB, free: 15.61 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/1.54, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/1.54, allocations: 38.39 kB / 1.024 GB, free: 15.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/1.54, allocations: 4 kB / 1.024 GB, free: 15.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0007566/1.54, allocations: 288.5 kB / 1.024 GB, free: 15.25 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/1.541, allocations: 106.8 kB / 1.024 GB, free: 15.12 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/1.541, allocations: 100.4 kB / 1.025 GB, free: 15.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/1.541, allocations: 29.02 kB / 1.025 GB, free: 14.98 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/1.541, allocations: 88.06 kB / 1.025 GB, free: 14.89 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/1.541, allocations: 30.83 kB / 1.025 GB, free: 14.87 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/1.541, allocations: 3.5 kB / 1.025 GB, free: 14.87 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.541, allocations: 314.8 kB / 1.025 GB, free: 14.55 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/1.541, allocations: 11.19 kB / 1.025 GB, free: 14.54 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/1.541, allocations: 51.47 kB / 1.025 GB, free: 14.48 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.898e-05/1.541, allocations: 27.17 kB / 1.025 GB, free: 14.46 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.541, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002102/1.541, allocations: 87.86 kB / 1.025 GB, free: 14.38 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.541, allocations: 6.969 kB / 1.025 GB, free: 14.37 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.541, allocations: 4 kB / 1.025 GB, free: 14.37 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.541, allocations: 3.984 kB / 1.025 GB, free: 14.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/1.542, allocations: 32.05 kB / 1.025 GB, free: 14.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.542, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/1.542, allocations: 7.5 kB / 1.025 GB, free: 14.33 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/1.542, allocations: 7.953 kB / 1.025 GB, free: 14.32 MB / 0.823 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 9.315e-05/1.542, allocations: 108.7 kB / 1.025 GB, free: 14.21 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/1.542, allocations: 4 kB / 1.025 GB, free: 14.21 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/1.542, allocations: 6.562 kB / 1.025 GB, free: 14.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.542, allocations: 7.984 kB / 1.025 GB, free: 14.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.542, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.542, allocations: 4 kB / 1.025 GB, free: 14.19 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/1.543, allocations: 180.1 kB / 1.025 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.543, allocations: 4.062 kB / 1.025 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/1.543, allocations: 16 kB / 1.025 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/1.543, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/1.543, allocations: 6.688 kB / 1.026 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.543, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.543, allocations: 3.984 kB / 1.026 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/1.543, allocations: 351.3 kB / 1.026 GB, free: 13.59 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/1.543, allocations: 85.14 kB / 1.026 GB, free: 13.48 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/1.543, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/1.544, allocations: 7.688 kB / 1.026 GB, free: 13.48 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/1.544, allocations: 7.953 kB / 1.026 GB, free: 13.47 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/1.544, allocations: 4 kB / 1.026 GB, free: 13.47 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.554e-05/1.544, allocations: 83.27 kB / 1.026 GB, free: 13.39 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.81e-07/1.544, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000488/1.544, allocations: 19.38 kB / 1.026 GB, free: 13.37 MB / 0.823 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.0007472/1.545, allocations: 1.033 MB / 1.027 GB, free: 12.32 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001526/1.545, allocations: 39.38 kB / 1.027 GB, free: 12.29 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.545, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.406e-05/1.545, allocations: 22.94 kB / 1.027 GB, free: 12.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/1.546, allocations: 8.25 kB / 1.027 GB, free: 12.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/1.547, allocations: 326.9 kB / 1.027 GB, free: 11.91 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/1.547, allocations: 0.6887 MB / 1.028 GB, free: 11.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.892e-05/1.547, allocations: 11.98 kB / 1.028 GB, free: 11.19 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/1.547, allocations: 18.86 kB / 1.028 GB, free: 11.17 MB / 0.823 GB Notification: Performance of SimCode: time 1.042e-06/1.547, allocations: 0 / 1.028 GB, free: 11.17 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/1.569, allocations: 1.436 MB / 1.03 GB, free: 9.832 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003471/1.57, allocations: 191.4 kB / 1.03 GB, free: 9.609 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.983, allocations: 3.938 kB / 1.03 GB, free: 9.605 MB / 0.823 GB