Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.097/4.097, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.443e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.629/0.629, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.949/7.578, allocations: 2.174 GB / 2.764 GB, free: 86.87 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/7.578, allocations: 87.7 kB / 2.764 GB, free: 86.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.458/11.04, allocations: 0.6448 GB / 3.409 GB, free: 35.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.144e-06/11.04, allocations: 0 / 3.409 GB, free: 35.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001136/11.04, allocations: 28 kB / 3.409 GB, free: 35.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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.005277/11.04, allocations: 1.491 MB / 3.41 GB, free: 33.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/11.04, allocations: 11.97 kB / 3.41 GB, free: 33.74 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005249/11.04, allocations: 168.8 kB / 3.411 GB, free: 33.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/11.04, allocations: 254.2 kB / 3.411 GB, free: 33.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/11.05, allocations: 0.851 MB / 3.412 GB, free: 32.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/11.05, allocations: 86.09 kB / 3.412 GB, free: 32.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/11.05, allocations: 112 kB / 3.412 GB, free: 32.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/11.05, allocations: 1.299 MB / 3.413 GB, free: 30.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/11.05, allocations: 3.938 kB / 3.413 GB, free: 30.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/11.05, allocations: 51.95 kB / 3.413 GB, free: 30.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.323e-05/11.05, allocations: 38 kB / 3.413 GB, free: 30.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/11.05, allocations: 0.9916 MB / 3.414 GB, free: 29.76 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/11.06, allocations: 6.393 MB / 3.42 GB, free: 22.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/11.07, allocations: 0.5873 MB / 3.421 GB, free: 22.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006398/11.07, allocations: 315.7 kB / 3.421 GB, free: 21.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/11.07, allocations: 117.5 kB / 3.421 GB, free: 21.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/11.07, allocations: 50.94 kB / 3.421 GB, free: 21.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=54): time 3.206e-06/11.07, allocations: 0 / 3.421 GB, free: 21.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=54): time 0.001798/11.07, allocations: 0.5886 MB / 3.422 GB, free: 21.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/11.07, allocations: 111.2 kB / 3.422 GB, free: 20.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/11.07, allocations: 0.7585 MB / 3.423 GB, free: 20.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/11.07, allocations: 37.7 kB / 3.423 GB, free: 20.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/11.07, allocations: 0.5759 MB / 3.423 GB, free: 19.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/11.07, allocations: 205.1 kB / 3.424 GB, free: 19.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/11.07, allocations: 16 kB / 3.424 GB, free: 19.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.33e-05/11.07, allocations: 341.9 kB / 3.424 GB, free: 19.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/11.07, allocations: 285.9 kB / 3.424 GB, free: 18.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008913/11.07, allocations: 0.6277 MB / 3.425 GB, free: 17.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008902/11.07, allocations: 428.6 kB / 3.425 GB, free: 17.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/11.07, allocations: 8 kB / 3.425 GB, free: 17.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002315/11.08, allocations: 0.9882 MB / 3.426 GB, free: 16.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/11.08, allocations: 41.69 kB / 3.426 GB, free: 16.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/11.08, allocations: 8 kB / 3.426 GB, free: 16.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.042e-05/11.08, allocations: 24.14 kB / 3.426 GB, free: 16.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/11.08, allocations: 199.6 kB / 3.427 GB, free: 16.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.739e-05/11.08, allocations: 15.94 kB / 3.427 GB, free: 16.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/11.08, allocations: 170.7 kB / 3.427 GB, free: 16.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/11.08, allocations: 47.98 kB / 3.427 GB, free: 16.04 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * 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.00028/11.08, allocations: 164.2 kB / 3.427 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/11.08, allocations: 98.88 kB / 3.427 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/11.08, allocations: 0.5989 MB / 3.428 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/11.08, allocations: 12 kB / 3.428 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/11.08, allocations: 0 / 3.428 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009812/11.08, allocations: 0.4977 MB / 3.428 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/11.09, allocations: 1.793 MB / 3.43 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/11.09, allocations: 4 kB / 3.43 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/11.09, allocations: 120 kB / 3.43 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/11.09, allocations: 7.984 kB / 3.43 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/11.09, allocations: 16 kB / 3.43 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/11.09, allocations: 7.953 kB / 3.43 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/11.09, allocations: 3.938 kB / 3.43 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/11.09, allocations: 1.182 MB / 3.431 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000826/11.09, allocations: 263.8 kB / 3.431 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/11.09, allocations: 12 kB / 3.431 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/11.09, allocations: 75.77 kB / 3.432 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/11.09, allocations: 40.28 kB / 3.432 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/11.09, allocations: 31.98 kB / 3.432 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001106/11.09, allocations: 0.5733 MB / 3.432 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.01e-07/11.09, allocations: 0 / 3.432 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00258/11.1, allocations: 0.5266 MB / 3.433 GB, free: 9.844 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 54 * 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.0057/11.1, allocations: 4.006 MB / 3.437 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001904/11.11, allocations: 0.707 MB / 3.437 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/11.11, allocations: 4 kB / 3.437 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000567/11.11, allocations: 277.4 kB / 3.438 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004474/11.11, allocations: 0.4917 MB / 3.438 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/11.12, allocations: 1.928 MB / 3.44 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008214/11.12, allocations: 1.19 MB / 3.441 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001807/11.12, allocations: 288.1 kB / 3.441 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007832/11.12, allocations: 403.3 kB / 3.442 GB, free: 356 kB / 0.7761 GB Notification: Performance of SimCode: time 1.613e-06/11.12, allocations: 0 / 3.442 GB, free: 356 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7764/11.9, allocations: 59.96 MB / 3.5 GB, free: 122.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/11.9, allocations: 189.9 kB / 3.5 GB, free: 122.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.57/17.47, allocations: 3.75 kB / 3.5 GB, free: 122.3 MB / 0.7761 GB