Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.267/4.267, allocations: 432.8 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.427e-05, allocations: 4.297 kB / 0.5338 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2299, allocations: 98.73 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.311, allocations: 337.8 MB / 0.9601 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/1.311, allocations: 80.36 kB / 0.9602 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.031/1.342, allocations: 8.002 MB / 0.968 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/1.342, allocations: 0 / 0.968 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.342, allocations: 4 kB / 0.968 GB, free: 1.891 MB / 0.7136 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.0004409/1.343, allocations: 359.5 kB / 0.9683 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/1.343, allocations: 8.031 kB / 0.9683 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/1.343, allocations: 34.56 kB / 0.9684 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/1.343, allocations: 11.98 kB / 0.9684 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/1.343, allocations: 167 kB / 0.9685 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/1.343, allocations: 7.625 kB / 0.9686 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/1.343, allocations: 0 / 0.9686 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/1.344, allocations: 75.94 kB / 0.9686 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.344, allocations: 3.984 kB / 0.9686 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/1.344, allocations: 3.938 kB / 0.9686 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.344, allocations: 0 / 0.9686 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/1.344, allocations: 15.56 kB / 0.9687 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008232/1.345, allocations: 469.1 kB / 0.9691 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/1.345, allocations: 66.98 kB / 0.9692 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/1.345, allocations: 22.64 kB / 0.9692 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/1.345, allocations: 4 kB / 0.9692 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/1.345, allocations: 46.56 kB / 0.9692 GB, free: 456 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 2.465e-06/1.345, allocations: 0 / 0.9692 GB, free: 456 kB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0007762/1.346, allocations: 288 kB / 0.9695 GB, free: 132 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/1.346, allocations: 106.9 kB / 0.9696 GB, free: 0 / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/1.346, allocations: 104.5 kB / 0.9697 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/1.346, allocations: 29.7 kB / 0.9697 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/1.346, allocations: 83.64 kB / 0.9698 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/1.346, allocations: 30.92 kB / 0.9698 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-06/1.346, allocations: 0 / 0.9698 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.346, allocations: 318.3 kB / 0.9702 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/1.346, allocations: 15.38 kB / 0.9702 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.573e-05/1.346, allocations: 48.97 kB / 0.9702 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/1.346, allocations: 15.3 kB / 0.9702 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/1.347, allocations: 4 kB / 0.9702 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000209/1.347, allocations: 96.36 kB / 0.9703 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.347, allocations: 4 kB / 0.9703 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.347, allocations: 0 / 0.9703 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.347, allocations: 4 kB / 0.9703 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/1.347, allocations: 23.94 kB / 0.9704 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/1.347, allocations: 7.938 kB / 0.9704 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/1.347, allocations: 3.812 kB / 0.9704 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/1.347, allocations: 4 kB / 0.9704 GB, free: 15.21 MB / 0.7292 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.471e-05/1.347, allocations: 112.9 kB / 0.9705 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/1.347, allocations: 8.031 kB / 0.9705 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/1.347, allocations: 15.11 kB / 0.9705 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.347, allocations: 0 / 0.9705 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.347, allocations: 7.953 kB / 0.9705 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/1.347, allocations: 0 / 0.9705 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/1.348, allocations: 173 kB / 0.9707 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/1.348, allocations: 64 / 0.9707 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/1.348, allocations: 20 kB / 0.9707 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.348, allocations: 0 / 0.9707 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/1.348, allocations: 0 / 0.9707 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/1.348, allocations: 7.984 kB / 0.9707 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.348, allocations: 7.938 kB / 0.9707 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/1.349, allocations: 347.8 kB / 0.971 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/1.349, allocations: 85.14 kB / 0.9711 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/1.349, allocations: 3.953 kB / 0.9711 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/1.349, allocations: 11.31 kB / 0.9711 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/1.349, allocations: 0 / 0.9711 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/1.349, allocations: 7.984 kB / 0.9711 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.798e-05/1.349, allocations: 82.59 kB / 0.9712 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/1.349, allocations: 0 / 0.9712 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004756/1.35, allocations: 12 kB / 0.9712 GB, free: 14.26 MB / 0.7292 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.0007069/1.35, allocations: 1.027 MB / 0.9722 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001501/1.35, allocations: 38.75 kB / 0.9723 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.35, allocations: 4.062 kB / 0.9723 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/1.35, allocations: 19.88 kB / 0.9723 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/1.351, allocations: 4 kB / 0.9723 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/1.352, allocations: 336.2 kB / 0.9726 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/1.352, allocations: 0.6887 MB / 0.9733 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.256e-05/1.352, allocations: 7.781 kB / 0.9733 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/1.352, allocations: 18.92 kB / 0.9733 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of SimCode: time 7.92e-07/1.352, allocations: 4 kB / 0.9733 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/1.374, allocations: 1.444 MB / 0.9747 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003093/1.374, allocations: 190.3 kB / 0.9749 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/3.537, allocations: 4 kB / 0.9749 GB, free: 10.49 MB / 0.7292 GB