Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.812/4.812, allocations: 404.2 MB / 411.3 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/2.991e-05, allocations: 4 kB / 0.4945 GB, free: 1.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.697/0.6971, allocations: 92.7 MB / 0.585 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/2.065, allocations: 356.7 MB / 0.9334 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/2.065, allocations: 72.34 kB / 0.9335 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08388/2.149, allocations: 18.62 MB / 0.9516 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.623e-06/2.149, allocations: 0 / 0.9516 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.345e-05/2.149, allocations: 4 kB / 0.9516 GB, free: 8.516 MB / 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.0009692/2.15, allocations: 481.9 kB / 0.9521 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/2.15, allocations: 12.03 kB / 0.9521 GB, free: 8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/2.151, allocations: 23.84 kB / 0.9521 GB, free: 7.977 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/2.151, allocations: 204.8 kB / 0.9523 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/2.151, allocations: 7.984 kB / 0.9523 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/2.151, allocations: 8 kB / 0.9524 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008954/2.152, allocations: 411.4 kB / 0.9527 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/2.153, allocations: 220.3 kB / 0.953 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/2.153, allocations: 0 / 0.953 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/2.153, allocations: 3.953 kB / 0.953 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/2.153, allocations: 8 kB / 0.953 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/2.154, allocations: 0.9852 MB / 0.9539 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/2.155, allocations: 139.3 kB / 0.9541 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/2.155, allocations: 58.45 kB / 0.9541 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002423/2.158, allocations: 1.917 MB / 0.956 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/2.158, allocations: 34.56 kB / 0.956 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 2.745e-06/2.158, allocations: 0 / 0.956 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0008478/2.159, allocations: 134.5 kB / 0.9562 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/2.159, allocations: 55.39 kB / 0.9562 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/2.159, allocations: 129.4 kB / 0.9563 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/2.159, allocations: 25.7 kB / 0.9564 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/2.159, allocations: 145.2 kB / 0.9565 GB, free: 3.273 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/2.159, allocations: 50.2 kB / 0.9565 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/2.159, allocations: 4 kB / 0.9565 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001514/2.159, allocations: 325.1 kB / 0.9569 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/2.159, allocations: 27.56 kB / 0.9569 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/2.16, allocations: 134.2 kB / 0.957 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/2.16, allocations: 84.31 kB / 0.9571 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/2.16, allocations: 0 / 0.9571 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009572/2.161, allocations: 199 kB / 0.9573 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/2.161, allocations: 11.95 kB / 0.9573 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/2.161, allocations: 4 kB / 0.9573 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/2.161, allocations: 4 kB / 0.9573 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/2.162, allocations: 63.03 kB / 0.9574 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/2.162, allocations: 8 kB / 0.9574 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/2.162, allocations: 23.69 kB / 0.9574 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/2.162, allocations: 11.98 kB / 0.9574 GB, free: 2.348 MB / 0.6667 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.0001292/2.162, allocations: 116.4 kB / 0.9575 GB, free: 2.23 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007327/2.163, allocations: 135.5 kB / 0.9576 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/2.163, allocations: 15.86 kB / 0.9577 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000909/2.164, allocations: 170.6 kB / 0.9578 GB, free: 1.941 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/2.164, allocations: 7.984 kB / 0.9578 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.164, allocations: 0 / 0.9578 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/2.164, allocations: 0 / 0.9578 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/2.164, allocations: 183 kB / 0.958 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/2.164, allocations: 0 / 0.958 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/2.165, allocations: 31.98 kB / 0.958 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/2.165, allocations: 7.953 kB / 0.958 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/2.165, allocations: 0 / 0.958 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/2.165, allocations: 3.938 kB / 0.958 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/2.165, allocations: 7.938 kB / 0.958 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007824/2.166, allocations: 226.2 kB / 0.9583 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/2.166, allocations: 115 kB / 0.9584 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/2.166, allocations: 7.953 kB / 0.9584 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/2.166, allocations: 7.984 kB / 0.9584 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/2.166, allocations: 15.97 kB / 0.9584 GB, free: 1.309 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/2.166, allocations: 7.562 kB / 0.9584 GB, free: 1.305 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001135/2.166, allocations: 106.3 kB / 0.9585 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.41e-07/2.166, allocations: 0 / 0.9585 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007126/2.167, allocations: 71.83 kB / 0.9586 GB, free: 1.141 MB / 0.6667 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.001513/2.169, allocations: 0.8501 MB / 0.9594 GB, free: 292 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003735/2.169, allocations: 104.8 kB / 0.9595 GB, free: 204 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/2.169, allocations: 0 / 0.9595 GB, free: 204 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/2.169, allocations: 35.75 kB / 0.9595 GB, free: 176 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/2.17, allocations: 36.36 kB / 0.9596 GB, free: 144 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/2.171, allocations: 232.8 kB / 0.9598 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/2.172, allocations: 0.7128 MB / 0.9605 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000368/2.172, allocations: 49.69 kB / 0.9605 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/2.172, allocations: 43.23 kB / 0.9606 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/2.172, allocations: 0 / 0.9606 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0559/2.228, allocations: 3.968 MB / 0.9645 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003041/2.228, allocations: 131.5 kB / 0.9646 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.915/5.144, allocations: 3.938 kB / 0.9646 GB, free: 10.95 MB / 0.6823 GB