Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.304/3.304, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.153e-05/4.19e-05, allocations: 0 / 436.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1839, allocations: 77.73 MB / 0.5023 GB, free: 4.52 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.434/1.618, allocations: 346 MB / 0.8402 GB, free: 180.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.619, allocations: 74.33 kB / 0.8402 GB, free: 180.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06962/1.688, allocations: 19.06 MB / 0.8588 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.344e-06/1.688, allocations: 0 / 0.8588 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.038e-05/1.688, allocations: 4 kB / 0.8589 GB, free: 164.6 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007817/1.689, allocations: 471.6 kB / 0.8593 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.689, allocations: 12.03 kB / 0.8593 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/1.689, allocations: 47.55 kB / 0.8594 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/1.689, allocations: 19.86 kB / 0.8594 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/1.69, allocations: 213 kB / 0.8596 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/1.69, allocations: 12.33 kB / 0.8596 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/1.69, allocations: 13.06 kB / 0.8596 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/1.69, allocations: 239.7 kB / 0.8598 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/1.69, allocations: 7.984 kB / 0.8598 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/1.69, allocations: 5 kB / 0.8598 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/1.69, allocations: 11.98 kB / 0.8599 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006289/1.691, allocations: 420.8 kB / 0.8603 GB, free: 163.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/1.692, allocations: 1.027 MB / 0.8613 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/1.693, allocations: 153 kB / 0.8614 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/1.693, allocations: 63.45 kB / 0.8615 GB, free: 162 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/1.695, allocations: 1.933 MB / 0.8634 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/1.695, allocations: 32.81 kB / 0.8634 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.474e-06/1.695, allocations: 3.938 kB / 0.8634 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.000396/1.695, allocations: 116.7 kB / 0.8635 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/1.695, allocations: 51.41 kB / 0.8636 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/1.695, allocations: 152.4 kB / 0.8637 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/1.695, allocations: 27.39 kB / 0.8637 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/1.696, allocations: 137.8 kB / 0.8639 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/1.696, allocations: 59.56 kB / 0.8639 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/1.696, allocations: 8.562 kB / 0.8639 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.851e-05/1.696, allocations: 323.3 kB / 0.8642 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.665e-05/1.696, allocations: 35.8 kB / 0.8643 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/1.696, allocations: 138.2 kB / 0.8644 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/1.696, allocations: 48.84 kB / 0.8644 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.696, allocations: 4 kB / 0.8644 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004548/1.697, allocations: 202.8 kB / 0.8646 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/1.697, allocations: 12.58 kB / 0.8646 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.697, allocations: 4 kB / 0.8647 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/1.697, allocations: 4 kB / 0.8647 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/1.697, allocations: 56.38 kB / 0.8647 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/1.697, allocations: 4 kB / 0.8647 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/1.697, allocations: 35.62 kB / 0.8647 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/1.697, allocations: 14.31 kB / 0.8648 GB, free: 158.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001035/1.698, allocations: 119.5 kB / 0.8649 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/1.698, allocations: 11.91 kB / 0.8649 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/1.698, allocations: 169.2 kB / 0.865 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/1.698, allocations: 0 / 0.865 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.698, allocations: 4 kB / 0.8651 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.698, allocations: 4 kB / 0.8651 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/1.698, allocations: 211.6 kB / 0.8653 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.698, allocations: 4 kB / 0.8653 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/1.699, allocations: 27.97 kB / 0.8653 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.699, allocations: 4 kB / 0.8653 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.699, allocations: 2.438 kB / 0.8653 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.699, allocations: 3.953 kB / 0.8653 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.699, allocations: 0 / 0.8653 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/1.699, allocations: 225.6 kB / 0.8655 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/1.699, allocations: 116.9 kB / 0.8656 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/1.699, allocations: 2 kB / 0.8656 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/1.7, allocations: 10.3 kB / 0.8656 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/1.7, allocations: 15.94 kB / 0.8657 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/1.7, allocations: 6.25 kB / 0.8657 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001087/1.7, allocations: 118.5 kB / 0.8658 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.7, allocations: 0 / 0.8658 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005822/1.7, allocations: 80.3 kB / 0.8658 GB, free: 157.3 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007947/1.701, allocations: 0.8465 MB / 0.8667 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003367/1.702, allocations: 103.2 kB / 0.8668 GB, free: 156.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.702, allocations: 320 / 0.8668 GB, free: 156.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.602e-05/1.702, allocations: 50.55 kB / 0.8668 GB, free: 156.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/1.702, allocations: 53.69 kB / 0.8669 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009994/1.703, allocations: 234.5 kB / 0.8671 GB, free: 156 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/1.704, allocations: 0.7209 MB / 0.8678 GB, free: 155.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002892/1.704, allocations: 41.89 kB / 0.8678 GB, free: 155.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/1.704, allocations: 47.41 kB / 0.8679 GB, free: 155.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.493e-06/1.704, allocations: 0 / 0.8679 GB, free: 155.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/1.733, allocations: 4.882 MB / 0.8727 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/1.733, allocations: 147.5 kB / 0.8728 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/4.298, allocations: 0 / 0.8728 GB, free: 150.2 MB / 0.6511 GB