Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.054/1.054, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.358e-05, allocations: 7.938 kB / 151.5 MB, free: 15.5 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1767, allocations: 25.15 MB / 176.6 MB, free: 15.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6447/0.8215, allocations: 208.7 MB / 385.4 MB, free: 51.1 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.8218, allocations: 60.34 kB / 385.4 MB, free: 51.07 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04272/0.8645, allocations: 9.908 MB / 395.4 MB, free: 42.91 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.8646, allocations: 0 / 395.4 MB, free: 42.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.8646, allocations: 4 kB / 395.4 MB, free: 42.91 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001419/0.8661, allocations: 449.5 kB / 395.8 MB, free: 42.43 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.8661, allocations: 12.03 kB / 395.8 MB, free: 42.42 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.154e-05/0.8662, allocations: 49.56 kB / 395.9 MB, free: 42.37 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.8663, allocations: 19.81 kB / 395.9 MB, free: 42.35 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.8667, allocations: 210 kB / 396.1 MB, free: 42.12 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.8667, allocations: 8.219 kB / 396.1 MB, free: 42.11 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.8668, allocations: 15 kB / 396.1 MB, free: 42.1 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/0.8674, allocations: 204.1 kB / 396.3 MB, free: 41.92 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.8674, allocations: 3.906 kB / 396.3 MB, free: 41.92 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/0.8675, allocations: 7.875 kB / 396.3 MB, free: 41.91 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.8675, allocations: 3.953 kB / 396.3 MB, free: 41.91 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.868, allocations: 127.9 kB / 396.4 MB, free: 41.82 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.8702, allocations: 1.151 MB / 397.6 MB, free: 40.63 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.8707, allocations: 123.4 kB / 397.7 MB, free: 40.53 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.8708, allocations: 47.11 kB / 397.8 MB, free: 40.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008831/0.8717, allocations: 0.6694 MB / 398.4 MB, free: 39.75 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.8718, allocations: 38.55 kB / 398.5 MB, free: 39.71 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.045e-06/0.8718, allocations: 0 / 398.5 MB, free: 39.71 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.003432/0.8753, allocations: 0.625 MB / 399.1 MB, free: 39.13 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.8753, allocations: 55.41 kB / 399.1 MB, free: 39.06 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.8755, allocations: 144.7 kB / 399.3 MB, free: 38.92 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.8756, allocations: 33.64 kB / 399.3 MB, free: 38.89 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.8757, allocations: 201.6 kB / 399.5 MB, free: 38.69 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/0.8758, allocations: 76.5 kB / 399.6 MB, free: 38.63 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.8759, allocations: 3.25 kB / 399.6 MB, free: 38.63 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.876, allocations: 329.5 kB / 399.9 MB, free: 38.3 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.8762, allocations: 65.12 kB / 400 MB, free: 38.26 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.8766, allocations: 173.3 kB / 400.1 MB, free: 38.07 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.8769, allocations: 91.09 kB / 400.2 MB, free: 38.01 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.8769, allocations: 4 kB / 400.2 MB, free: 38 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009075/0.8779, allocations: 274.9 kB / 400.5 MB, free: 37.79 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.8779, allocations: 9.25 kB / 400.5 MB, free: 37.78 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.8779, allocations: 0 / 400.5 MB, free: 37.78 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/0.878, allocations: 12 kB / 400.5 MB, free: 37.77 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009132/0.8789, allocations: 79.88 kB / 400.6 MB, free: 37.69 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.879, allocations: 7.938 kB / 400.6 MB, free: 37.68 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.8795, allocations: 18.48 kB / 400.6 MB, free: 37.67 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.8796, allocations: 15.12 kB / 400.7 MB, free: 37.66 MB / 234.7 MB 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 (37): * Single equations (assignments): 37 * 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 0.0001486/0.8798, allocations: 122.5 kB / 400.8 MB, free: 37.54 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.8799, allocations: 22.44 kB / 400.8 MB, free: 37.52 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008738/0.8808, allocations: 208.4 kB / 401 MB, free: 37.36 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.8808, allocations: 0 / 401 MB, free: 37.36 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8808, allocations: 4 kB / 401 MB, free: 37.36 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.8808, allocations: 0 / 401 MB, free: 37.36 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.8828, allocations: 0.565 MB / 401.6 MB, free: 36.8 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8829, allocations: 0 / 401.6 MB, free: 36.8 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.8835, allocations: 47.91 kB / 401.6 MB, free: 36.75 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.8835, allocations: 4 kB / 401.6 MB, free: 36.75 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.8836, allocations: 11.23 kB / 401.6 MB, free: 36.74 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.8836, allocations: 0 / 401.6 MB, free: 36.74 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8836, allocations: 4.125 kB / 401.6 MB, free: 36.74 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008781/0.8845, allocations: 410.5 kB / 402 MB, free: 36.35 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.8846, allocations: 92.95 kB / 402.1 MB, free: 36.24 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.8847, allocations: 3 kB / 402.1 MB, free: 36.24 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.8853, allocations: 15.17 kB / 402.1 MB, free: 36.23 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.8853, allocations: 11.98 kB / 402.2 MB, free: 36.22 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.8854, allocations: 15.17 kB / 402.2 MB, free: 36.21 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.8855, allocations: 105.5 kB / 402.3 MB, free: 36.11 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8856, allocations: 0 / 402.3 MB, free: 36.11 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0008705/0.8864, allocations: 73.81 kB / 402.3 MB, free: 36.05 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001379/0.8878, allocations: 1.274 MB / 403.6 MB, free: 34.79 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006514/0.8885, allocations: 171.8 kB / 403.8 MB, free: 34.66 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.8885, allocations: 0.9375 kB / 403.8 MB, free: 34.66 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.8888, allocations: 72.11 kB / 403.9 MB, free: 34.61 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.8895, allocations: 38.28 kB / 403.9 MB, free: 34.58 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.8912, allocations: 379.7 kB / 404.3 MB, free: 34.19 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.8915, allocations: 0.7285 MB / 405 MB, free: 33.44 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.8918, allocations: 55.47 kB / 405 MB, free: 33.41 MB / 234.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8918, allocations: 0 / 405 MB, free: 33.41 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.549/3.441, allocations: 3.438 MB / 408.5 MB, free: 29.99 MB / 234.7 MB