Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.903/3.903, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.383e-05/4.41e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6358/0.6359, allocations: 92.68 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.012/7.648, allocations: 2.154 GB / 2.743 GB, free: 108 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/7.648, allocations: 84.77 kB / 2.744 GB, free: 107.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.434/9.082, allocations: 238.9 MB / 2.977 GB, free: 185.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.615e-06/9.082, allocations: 0 / 2.977 GB, free: 185.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.962e-05/9.082, allocations: 12 kB / 2.977 GB, free: 185.3 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00181/9.084, allocations: 0.7249 MB / 2.978 GB, free: 184.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/9.084, allocations: 8.031 kB / 2.978 GB, free: 184.5 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/9.084, allocations: 78.47 kB / 2.978 GB, free: 184.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/9.086, allocations: 149.4 kB / 2.978 GB, free: 184.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009602/9.087, allocations: 354.9 kB / 2.978 GB, free: 183.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/9.087, allocations: 28.78 kB / 2.978 GB, free: 183.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/9.087, allocations: 43.86 kB / 2.978 GB, free: 183.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/9.088, allocations: 409.4 kB / 2.979 GB, free: 183.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/9.088, allocations: 7.938 kB / 2.979 GB, free: 183.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/9.088, allocations: 16 kB / 2.979 GB, free: 183.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/9.088, allocations: 8 kB / 2.979 GB, free: 183.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006959/9.089, allocations: 283 kB / 2.979 GB, free: 183.1 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/9.092, allocations: 1.645 MB / 2.98 GB, free: 181.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/9.092, allocations: 167.7 kB / 2.981 GB, free: 181.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/9.093, allocations: 110.5 kB / 2.981 GB, free: 181 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004237/9.093, allocations: 113.1 kB / 2.981 GB, free: 180.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/9.093, allocations: 42.56 kB / 2.981 GB, free: 180.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 3.016e-06/9.093, allocations: 4 kB / 2.981 GB, free: 180.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0006899/9.094, allocations: 212.2 kB / 2.981 GB, free: 180.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/9.094, allocations: 102.8 kB / 2.981 GB, free: 180.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/9.094, allocations: 383 kB / 2.982 GB, free: 180.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/9.095, allocations: 25.7 kB / 2.982 GB, free: 180.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/9.095, allocations: 231.7 kB / 2.982 GB, free: 179.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/9.095, allocations: 82.92 kB / 2.982 GB, free: 179.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/9.095, allocations: 8.062 kB / 2.982 GB, free: 179.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/9.095, allocations: 346.8 kB / 2.982 GB, free: 179.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/9.095, allocations: 79.92 kB / 2.982 GB, free: 179.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/9.095, allocations: 175.1 kB / 2.982 GB, free: 179.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/9.096, allocations: 106.4 kB / 2.983 GB, free: 179 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/9.096, allocations: 0 / 2.983 GB, free: 179 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007608/9.096, allocations: 328.8 kB / 2.983 GB, free: 178.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/9.097, allocations: 4 kB / 2.983 GB, free: 178.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/9.097, allocations: 7.984 kB / 2.983 GB, free: 178.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.1e-05/9.097, allocations: 4 kB / 2.983 GB, free: 178.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/9.097, allocations: 76.22 kB / 2.983 GB, free: 178.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/9.097, allocations: 7.938 kB / 2.983 GB, free: 178.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/9.098, allocations: 51.52 kB / 2.983 GB, free: 178.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/9.098, allocations: 20 kB / 2.983 GB, free: 178.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0001405/9.098, allocations: 120.9 kB / 2.983 GB, free: 178.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/9.098, allocations: 51.47 kB / 2.983 GB, free: 178.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006076/9.099, allocations: 217.1 kB / 2.983 GB, free: 178.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/9.099, allocations: 0 / 2.983 GB, free: 178.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/9.099, allocations: 4 kB / 2.983 GB, free: 178.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/9.099, allocations: 0 / 2.983 GB, free: 178.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/9.101, allocations: 0.9928 MB / 2.984 GB, free: 177 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/9.101, allocations: 4 kB / 2.984 GB, free: 177 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/9.101, allocations: 40.23 kB / 2.984 GB, free: 177 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/9.101, allocations: 8 kB / 2.984 GB, free: 177 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/9.101, allocations: 8 kB / 2.984 GB, free: 177 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/9.101, allocations: 7.984 kB / 2.984 GB, free: 177 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/9.101, allocations: 7.938 kB / 2.984 GB, free: 176.9 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/9.102, allocations: 0.5722 MB / 2.985 GB, free: 176.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/9.102, allocations: 152.5 kB / 2.985 GB, free: 176.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.069e-05/9.103, allocations: 4 kB / 2.985 GB, free: 176.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/9.103, allocations: 36.06 kB / 2.985 GB, free: 176.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/9.103, allocations: 23.94 kB / 2.985 GB, free: 176 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/9.103, allocations: 15.98 kB / 2.985 GB, free: 176 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004721/9.104, allocations: 293.2 kB / 2.985 GB, free: 175.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.71e-07/9.104, allocations: 4 kB / 2.985 GB, free: 175.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001151/9.105, allocations: 211.9 kB / 2.986 GB, free: 175.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (senDyn.d) * 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.003046/9.108, allocations: 2.751 MB / 2.988 GB, free: 172.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006687/9.109, allocations: 211.9 kB / 2.989 GB, free: 172.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/9.109, allocations: 4 kB / 2.989 GB, free: 172.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/9.109, allocations: 87.86 kB / 2.989 GB, free: 172.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/9.111, allocations: 238.4 kB / 2.989 GB, free: 172.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/9.113, allocations: 0.6606 MB / 2.99 GB, free: 171.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/9.114, allocations: 0.8311 MB / 2.99 GB, free: 170.6 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00066/9.114, allocations: 91.39 kB / 2.99 GB, free: 170.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/9.115, allocations: 119.4 kB / 2.991 GB, free: 170.4 MB / 0.7761 GB Notification: Performance of SimCode: time 1.803e-06/9.115, allocations: 4 kB / 2.991 GB, free: 170.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08014/9.195, allocations: 30.51 MB / 3.02 GB, free: 140 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002988/9.195, allocations: 187.7 kB / 3.021 GB, free: 139.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.077/13.27, allocations: 4.062 kB / 3.021 GB, free: 139.8 MB / 0.7761 GB