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.103/4.103, allocations: 403.3 MB / 415.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.534e-05/4.547e-05, allocations: 4 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6228/0.6229, allocations: 92.69 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.806/7.429, allocations: 2.174 GB / 2.764 GB, free: 87.17 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/7.429, allocations: 90.02 kB / 2.764 GB, free: 87.13 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.469/10.9, allocations: 0.6448 GB / 3.409 GB, free: 34.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.314e-06/10.9, allocations: 0 / 3.409 GB, free: 34.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001178/10.9, allocations: 32 kB / 3.409 GB, free: 34.7 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.005072/10.9, allocations: 1.479 MB / 3.41 GB, free: 33.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/10.9, allocations: 15.97 kB / 3.41 GB, free: 33.14 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000577/10.9, allocations: 164.8 kB / 3.411 GB, free: 32.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/10.91, allocations: 262.2 kB / 3.411 GB, free: 32.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/10.91, allocations: 0.8471 MB / 3.412 GB, free: 31.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/10.91, allocations: 82.16 kB / 3.412 GB, free: 31.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004068/10.91, allocations: 116 kB / 3.412 GB, free: 31.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/10.91, allocations: 1.307 MB / 3.413 GB, free: 30.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/10.92, allocations: 7.938 kB / 3.413 GB, free: 30.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/10.92, allocations: 51.95 kB / 3.413 GB, free: 30.17 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.837e-05/10.92, allocations: 38 kB / 3.413 GB, free: 30.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003167/10.92, allocations: 1.019 MB / 3.414 GB, free: 29.12 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.01177/10.93, allocations: 6.393 MB / 3.42 GB, free: 22.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/10.93, allocations: 0.5922 MB / 3.421 GB, free: 21.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/10.93, allocations: 319.3 kB / 3.421 GB, free: 21.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005036/10.93, allocations: 129.6 kB / 3.421 GB, free: 21.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/10.93, allocations: 46.92 kB / 3.421 GB, free: 21.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=54): time 3.797e-06/10.93, allocations: 4 kB / 3.422 GB, free: 21.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=54): time 0.001984/10.94, allocations: 0.5886 MB / 3.422 GB, free: 20.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/10.94, allocations: 111.2 kB / 3.422 GB, free: 20.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/10.94, allocations: 0.7469 MB / 3.423 GB, free: 19.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/10.94, allocations: 45.7 kB / 3.423 GB, free: 19.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000549/10.94, allocations: 0.5684 MB / 3.424 GB, free: 18.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/10.94, allocations: 197.2 kB / 3.424 GB, free: 18.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/10.94, allocations: 20.06 kB / 3.424 GB, free: 18.74 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001099/10.94, allocations: 349.9 kB / 3.424 GB, free: 18.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/10.94, allocations: 281.9 kB / 3.424 GB, free: 18.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/10.94, allocations: 0.6335 MB / 3.425 GB, free: 17.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009719/10.94, allocations: 424.7 kB / 3.425 GB, free: 16.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/10.94, allocations: 4 kB / 3.425 GB, free: 16.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002504/10.94, allocations: 1.019 MB / 3.426 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/10.94, allocations: 41.69 kB / 3.426 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/10.94, allocations: 8 kB / 3.426 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.011e-05/10.94, allocations: 16.72 kB / 3.426 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/10.95, allocations: 191.8 kB / 3.427 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.949e-05/10.95, allocations: 27.92 kB / 3.427 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/10.95, allocations: 170.7 kB / 3.427 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/10.95, allocations: 40 kB / 3.427 GB, free: 15.37 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.0003013/10.95, allocations: 172.6 kB / 3.427 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/10.95, allocations: 94.88 kB / 3.427 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/10.95, allocations: 0.6067 MB / 3.428 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/10.95, allocations: 8 kB / 3.428 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/10.95, allocations: 0 / 3.428 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001003/10.95, allocations: 0.4939 MB / 3.428 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00435/10.96, allocations: 1.812 MB / 3.43 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/10.96, allocations: 0 / 3.43 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/10.96, allocations: 119.9 kB / 3.43 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.586e-05/10.96, allocations: 4.25 kB / 3.43 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/10.96, allocations: 23.94 kB / 3.43 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/10.96, allocations: 3.953 kB / 3.43 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/10.96, allocations: 7.938 kB / 3.43 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/10.96, allocations: 1.182 MB / 3.431 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009506/10.96, allocations: 251.9 kB / 3.431 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/10.96, allocations: 11.98 kB / 3.431 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/10.96, allocations: 79.78 kB / 3.432 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/10.96, allocations: 40.28 kB / 3.432 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/10.96, allocations: 31.98 kB / 3.432 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001325/10.96, allocations: 0.5733 MB / 3.432 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.002e-06/10.96, allocations: 4 kB / 3.432 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002754/10.97, allocations: 0.5265 MB / 3.433 GB, free: 9.156 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.006043/10.97, allocations: 3.958 MB / 3.437 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001946/10.97, allocations: 0.7355 MB / 3.437 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/10.97, allocations: 1.938 kB / 3.437 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005968/10.98, allocations: 274.4 kB / 3.438 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00503/10.98, allocations: 0.4898 MB / 3.438 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/10.99, allocations: 1.933 MB / 3.44 GB, free: 1.566 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/10.99, allocations: 1.19 MB / 3.441 GB, free: 352 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002107/10.99, allocations: 288.1 kB / 3.441 GB, free: 60 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6117/11.6, allocations: 406.7 kB / 3.442 GB, free: 123.9 MB / 0.7761 GB Notification: Performance of SimCode: time 1.333e-06/11.6, allocations: 0.9062 kB / 3.442 GB, free: 123.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1824/11.78, allocations: 59.83 MB / 3.5 GB, free: 123.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/11.78, allocations: 190.7 kB / 3.5 GB, free: 123.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.292/17.08, allocations: 0 / 3.5 GB, free: 123.1 MB / 0.7761 GB