Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.204/4.204, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.844e-05/4.848e-05, allocations: 5.375 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2438, allocations: 98.73 MB / 0.6302 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.547/7.791, allocations: 2.24 GB / 2.87 GB, free: 73.67 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/7.792, allocations: 90.64 kB / 2.871 GB, free: 73.62 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.515/11.31, allocations: 0.6373 GB / 3.508 GB, free: 65.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.455e-06/11.31, allocations: 0 / 3.508 GB, free: 65.21 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001063/11.31, allocations: 31.98 kB / 3.508 GB, free: 65.18 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003995/11.31, allocations: 1.339 MB / 3.509 GB, free: 63.79 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/11.31, allocations: 11.97 kB / 3.509 GB, free: 63.78 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003364/11.31, allocations: 147.6 kB / 3.509 GB, free: 63.63 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/11.31, allocations: 250.3 kB / 3.51 GB, free: 63.38 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/11.32, allocations: 0.7769 MB / 3.51 GB, free: 62.56 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/11.32, allocations: 77.94 kB / 3.51 GB, free: 62.49 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/11.32, allocations: 95.94 kB / 3.51 GB, free: 62.39 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/11.32, allocations: 1.106 MB / 3.512 GB, free: 61.22 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/11.32, allocations: 0 / 3.512 GB, free: 61.22 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/11.32, allocations: 47.98 kB / 3.512 GB, free: 61.17 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.548e-05/11.32, allocations: 30 kB / 3.512 GB, free: 61.14 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/11.32, allocations: 0.8353 MB / 3.512 GB, free: 60.3 MB / 0.823 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.007887/11.33, allocations: 5.62 MB / 3.518 GB, free: 54.24 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/11.33, allocations: 0.5777 MB / 3.519 GB, free: 53.64 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006216/11.33, allocations: 323.4 kB / 3.519 GB, free: 53.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/11.33, allocations: 299.7 kB / 3.519 GB, free: 52.97 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/11.33, allocations: 47 kB / 3.519 GB, free: 52.91 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 4.068e-06/11.33, allocations: 3.984 kB / 3.519 GB, free: 52.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.001735/11.33, allocations: 0.5966 MB / 3.52 GB, free: 52.31 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/11.33, allocations: 81.55 kB / 3.52 GB, free: 52.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/11.33, allocations: 0.6407 MB / 3.52 GB, free: 51.57 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8e-05/11.33, allocations: 37.7 kB / 3.52 GB, free: 51.52 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/11.34, allocations: 0.4912 MB / 3.521 GB, free: 51.02 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/11.34, allocations: 189.3 kB / 3.521 GB, free: 50.84 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/11.34, allocations: 12 kB / 3.521 GB, free: 50.82 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001336/11.34, allocations: 394.7 kB / 3.522 GB, free: 50.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/11.34, allocations: 253.4 kB / 3.522 GB, free: 50.18 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007899/11.34, allocations: 0.5551 MB / 3.522 GB, free: 49.49 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/11.34, allocations: 387 kB / 3.523 GB, free: 49.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/11.34, allocations: 0 / 3.523 GB, free: 49.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001821/11.34, allocations: 0.8629 MB / 3.524 GB, free: 48.24 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/11.34, allocations: 41.69 kB / 3.524 GB, free: 48.19 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/11.34, allocations: 8 kB / 3.524 GB, free: 48.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/11.34, allocations: 12 kB / 3.524 GB, free: 48.17 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/11.34, allocations: 159.8 kB / 3.524 GB, free: 48.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/11.34, allocations: 19.92 kB / 3.524 GB, free: 48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/11.34, allocations: 147.3 kB / 3.524 GB, free: 47.85 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/11.34, allocations: 36 kB / 3.524 GB, free: 47.82 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0001963/11.34, allocations: 157.9 kB / 3.524 GB, free: 47.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/11.34, allocations: 79.06 kB / 3.524 GB, free: 47.58 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/11.34, allocations: 0.6096 MB / 3.525 GB, free: 46.96 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/11.34, allocations: 4 kB / 3.525 GB, free: 46.95 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/11.34, allocations: 0 / 3.525 GB, free: 46.95 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009828/11.35, allocations: 0.5094 MB / 3.525 GB, free: 46.43 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/11.35, allocations: 1.644 MB / 3.527 GB, free: 44.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/11.35, allocations: 4 kB / 3.527 GB, free: 44.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/11.35, allocations: 123.8 kB / 3.527 GB, free: 44.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/11.35, allocations: 7.938 kB / 3.527 GB, free: 44.58 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/11.35, allocations: 19.98 kB / 3.527 GB, free: 44.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/11.35, allocations: 7.953 kB / 3.527 GB, free: 44.55 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/11.35, allocations: 224 / 3.527 GB, free: 44.55 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/11.35, allocations: 1.23 MB / 3.528 GB, free: 43.23 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/11.35, allocations: 239.9 kB / 3.528 GB, free: 42.97 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/11.35, allocations: 16 kB / 3.528 GB, free: 42.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/11.35, allocations: 59.94 kB / 3.529 GB, free: 42.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/11.35, allocations: 39.89 kB / 3.529 GB, free: 42.86 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/11.35, allocations: 16 kB / 3.529 GB, free: 42.84 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008397/11.35, allocations: 0.4991 MB / 3.529 GB, free: 42.35 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.21e-07/11.35, allocations: 0 / 3.529 GB, free: 42.35 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001976/11.36, allocations: 499.2 kB / 3.53 GB, free: 41.86 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (52): * Single equations (assignments): 52 * 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.005479/11.36, allocations: 4.159 MB / 3.534 GB, free: 37.56 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001559/11.36, allocations: 0.6564 MB / 3.534 GB, free: 36.89 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/11.36, allocations: 0 / 3.534 GB, free: 36.89 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005303/11.36, allocations: 277.6 kB / 3.534 GB, free: 36.62 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/11.37, allocations: 432 kB / 3.535 GB, free: 36.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/11.37, allocations: 1.803 MB / 3.537 GB, free: 34.34 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/11.37, allocations: 1.138 MB / 3.538 GB, free: 33.17 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00143/11.38, allocations: 255.1 kB / 3.538 GB, free: 32.91 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006823/11.38, allocations: 359.3 kB / 3.538 GB, free: 32.56 MB / 0.823 GB Notification: Performance of SimCode: time 1.283e-06/11.38, allocations: 0 / 3.538 GB, free: 32.56 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7962/12.17, allocations: 56.54 MB / 3.594 GB, free: 156.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/12.17, allocations: 199.1 kB / 3.594 GB, free: 156.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.071/17.24, allocations: 3.375 kB / 3.594 GB, free: 156.4 MB / 0.8386 GB