Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.557/3.557, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.955e-05/4.955e-05, allocations: 8 kB / 436.7 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1834, allocations: 77.72 MB / 0.5023 GB, free: 4.473 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.405/1.588, allocations: 318.9 MB / 0.8137 GB, free: 189.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.589, allocations: 79.27 kB / 0.8138 GB, free: 189.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02763/1.616, allocations: 8.054 MB / 0.8217 GB, free: 188 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/1.617, allocations: 0 / 0.8217 GB, free: 188 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.582e-06/1.617, allocations: 0 / 0.8217 GB, free: 188 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003336/1.617, allocations: 351.5 kB / 0.822 GB, free: 187.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.617, allocations: 10.31 kB / 0.822 GB, free: 187.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/1.617, allocations: 34.5 kB / 0.8221 GB, free: 187.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/1.617, allocations: 14.3 kB / 0.8221 GB, free: 187.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.294e-05/1.617, allocations: 170.8 kB / 0.8222 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/1.617, allocations: 3.469 kB / 0.8222 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/1.617, allocations: 7.344 kB / 0.8222 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/1.618, allocations: 66.11 kB / 0.8223 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.618, allocations: 7.984 kB / 0.8223 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/1.618, allocations: 3.5 kB / 0.8223 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.618, allocations: 0 / 0.8223 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/1.618, allocations: 14.77 kB / 0.8223 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006436/1.618, allocations: 466.4 kB / 0.8228 GB, free: 186.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/1.619, allocations: 67.02 kB / 0.8228 GB, free: 186.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/1.619, allocations: 21.61 kB / 0.8229 GB, free: 186.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/1.619, allocations: 3.906 kB / 0.8229 GB, free: 186.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/1.619, allocations: 45.95 kB / 0.8229 GB, free: 186.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.824e-06/1.619, allocations: 0 / 0.8229 GB, free: 186.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.000628/1.619, allocations: 294.2 kB / 0.8232 GB, free: 186.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/1.619, allocations: 102.8 kB / 0.8233 GB, free: 186.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/1.619, allocations: 92.89 kB / 0.8234 GB, free: 186.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/1.619, allocations: 33.45 kB / 0.8234 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/1.619, allocations: 87.95 kB / 0.8235 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/1.619, allocations: 23.02 kB / 0.8235 GB, free: 186 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/1.62, allocations: 7.125 kB / 0.8235 GB, free: 186 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/1.62, allocations: 310.8 kB / 0.8238 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/1.62, allocations: 15.62 kB / 0.8238 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/1.62, allocations: 51.75 kB / 0.8239 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/1.62, allocations: 19.48 kB / 0.8239 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.62, allocations: 0 / 0.8239 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001644/1.62, allocations: 98.89 kB / 0.824 GB, free: 185.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.62, allocations: 6.531 kB / 0.824 GB, free: 185.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.62, allocations: 12.53 kB / 0.824 GB, free: 185.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.62, allocations: 3.938 kB / 0.824 GB, free: 185.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/1.62, allocations: 23.47 kB / 0.824 GB, free: 185.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.62, allocations: 3.906 kB / 0.824 GB, free: 185.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/1.62, allocations: 0 / 0.824 GB, free: 185.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/1.62, allocations: 7.719 kB / 0.824 GB, free: 185.6 MB / 0.6511 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 5.983e-05/1.62, allocations: 108.8 kB / 0.8241 GB, free: 185.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/1.62, allocations: 3.969 kB / 0.8242 GB, free: 185.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/1.62, allocations: 14.11 kB / 0.8242 GB, free: 185.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.621, allocations: 7.938 kB / 0.8242 GB, free: 185.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.621, allocations: 7.938 kB / 0.8242 GB, free: 185.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.621, allocations: 0 / 0.8242 GB, free: 185.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/1.621, allocations: 173 kB / 0.8243 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.621, allocations: 3.906 kB / 0.8244 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/1.621, allocations: 15.56 kB / 0.8244 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.621, allocations: 0 / 0.8244 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/1.621, allocations: 3.906 kB / 0.8244 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.621, allocations: 3.984 kB / 0.8244 GB, free: 185.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.621, allocations: 3.938 kB / 0.8244 GB, free: 185.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/1.621, allocations: 355.5 kB / 0.8247 GB, free: 184.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/1.622, allocations: 77.11 kB / 0.8248 GB, free: 184.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/1.622, allocations: 11.92 kB / 0.8248 GB, free: 184.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/1.622, allocations: 0 / 0.8248 GB, free: 184.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/1.622, allocations: 11.81 kB / 0.8248 GB, free: 184.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/1.622, allocations: 3.906 kB / 0.8248 GB, free: 184.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.841e-05/1.622, allocations: 83.17 kB / 0.8249 GB, free: 184.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.622, allocations: 0 / 0.8249 GB, free: 184.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004315/1.622, allocations: 15.47 kB / 0.8249 GB, free: 184.7 MB / 0.6511 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.0004565/1.623, allocations: 1.029 MB / 0.8259 GB, free: 183.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001251/1.623, allocations: 42.12 kB / 0.826 GB, free: 183.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.623, allocations: 0 / 0.826 GB, free: 183.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/1.623, allocations: 23.06 kB / 0.826 GB, free: 183.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/1.623, allocations: 6.547 kB / 0.826 GB, free: 183.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009926/1.624, allocations: 333.1 kB / 0.8263 GB, free: 183.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/1.625, allocations: 0.6921 MB / 0.827 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.745e-05/1.625, allocations: 7.844 kB / 0.827 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/1.625, allocations: 15.33 kB / 0.827 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.625, allocations: 0 / 0.827 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/1.644, allocations: 1.448 MB / 0.8284 GB, free: 182 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/1.644, allocations: 196.8 kB / 0.8286 GB, free: 181.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.986, allocations: 7.906 kB / 0.8286 GB, free: 181.8 MB / 0.6511 GB