Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.939/3.939, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.018e-05, allocations: 7.875 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.6497, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.78, allocations: 357.4 MB / 0.9386 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.78, allocations: 79.39 kB / 0.9387 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07356/1.854, allocations: 18.74 MB / 0.957 GB, free: 360 kB / 0.6667 GB Notification: Performance of FrontEnd: time 1.723e-06/1.854, allocations: 0 / 0.957 GB, free: 360 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.016e-05/1.854, allocations: 0 / 0.957 GB, free: 360 kB / 0.6667 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.0009047/1.855, allocations: 475.3 kB / 0.9575 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.855, allocations: 8.031 kB / 0.9575 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.374e-05/1.855, allocations: 53.61 kB / 0.9575 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/1.855, allocations: 27.84 kB / 0.9576 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/1.855, allocations: 205.9 kB / 0.9577 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/1.855, allocations: 16.12 kB / 0.9578 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/1.855, allocations: 11.81 kB / 0.9578 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/1.856, allocations: 239.7 kB / 0.958 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.856, allocations: 0 / 0.958 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/1.856, allocations: 14.75 kB / 0.958 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/1.856, allocations: 7.953 kB / 0.958 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/1.857, allocations: 422.3 kB / 0.9584 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/1.858, allocations: 1.027 MB / 0.9594 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/1.859, allocations: 155.4 kB / 0.9596 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/1.859, allocations: 61.89 kB / 0.9596 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/1.861, allocations: 1.917 MB / 0.9615 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.862, allocations: 38.25 kB / 0.9615 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/1.862, allocations: 0 / 0.9615 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0004256/1.862, allocations: 120.5 kB / 0.9617 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/1.862, allocations: 55.41 kB / 0.9617 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/1.862, allocations: 148.2 kB / 0.9619 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/1.862, allocations: 29.7 kB / 0.9619 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/1.862, allocations: 142.5 kB / 0.962 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/1.863, allocations: 46.64 kB / 0.9621 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/1.863, allocations: 7.438 kB / 0.9621 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.863, allocations: 322.2 kB / 0.9624 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/1.863, allocations: 39.17 kB / 0.9624 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/1.863, allocations: 132.6 kB / 0.9625 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/1.863, allocations: 66.84 kB / 0.9626 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.863, allocations: 0 / 0.9626 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005273/1.864, allocations: 204 kB / 0.9628 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.864, allocations: 7.984 kB / 0.9628 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/1.864, allocations: 7.984 kB / 0.9628 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/1.864, allocations: 11.94 kB / 0.9628 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/1.864, allocations: 59.53 kB / 0.9629 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/1.864, allocations: 4 kB / 0.9629 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/1.865, allocations: 31.06 kB / 0.9629 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/1.865, allocations: 15.92 kB / 0.9629 GB, free: 10.05 MB / 0.6823 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.0001345/1.865, allocations: 125.4 kB / 0.9631 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/1.865, allocations: 15.86 kB / 0.9631 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005148/1.865, allocations: 164.7 kB / 0.9632 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/1.865, allocations: 7.984 kB / 0.9632 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.865, allocations: 0 / 0.9632 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.865, allocations: 0 / 0.9632 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/1.866, allocations: 210.8 kB / 0.9634 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.866, allocations: 0 / 0.9634 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/1.866, allocations: 35.78 kB / 0.9635 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/1.866, allocations: 7.953 kB / 0.9635 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/1.866, allocations: 4 kB / 0.9635 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.866, allocations: 0 / 0.9635 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.866, allocations: 0 / 0.9635 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/1.867, allocations: 213.2 kB / 0.9637 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/1.867, allocations: 112.1 kB / 0.9638 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/1.867, allocations: 15.39 kB / 0.9638 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/1.867, allocations: 11.98 kB / 0.9638 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/1.867, allocations: 11.92 kB / 0.9638 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/1.867, allocations: 8 kB / 0.9638 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001246/1.867, allocations: 117.8 kB / 0.9639 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/1.867, allocations: 0 / 0.9639 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006048/1.868, allocations: 75.3 kB / 0.964 GB, free: 8.953 MB / 0.6823 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.001047/1.869, allocations: 0.8375 MB / 0.9648 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003599/1.869, allocations: 110.2 kB / 0.9649 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.869, allocations: 0 / 0.9649 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/1.87, allocations: 39.45 kB / 0.965 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/1.87, allocations: 59.16 kB / 0.965 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009893/1.871, allocations: 238 kB / 0.9653 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/1.872, allocations: 0.7208 MB / 0.966 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002982/1.872, allocations: 45.94 kB / 0.966 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/1.872, allocations: 44.78 kB / 0.9661 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/1.872, allocations: 0 / 0.9661 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/1.906, allocations: 4.934 MB / 0.9709 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.906, allocations: 139.9 kB / 0.971 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/4.397, allocations: 3.938 kB / 0.971 GB, free: 1.816 MB / 0.6823 GB