Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.698/4.698, allocations: 404.2 MB / 411.3 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.952e-05/3.95e-05, allocations: 11.98 kB / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.693/0.693, allocations: 92.69 MB / 0.5851 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.597/8.29, allocations: 2.149 GB / 2.734 GB, free: 140 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/8.291, allocations: 81.08 kB / 2.734 GB, free: 139.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1546/8.445, allocations: 39.77 MB / 2.773 GB, free: 107.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.763e-06/8.445, allocations: 0 / 2.773 GB, free: 107.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.43e-05/8.445, allocations: 4 kB / 2.773 GB, free: 107.5 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007152/8.446, allocations: 452.5 kB / 2.774 GB, free: 107 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/8.446, allocations: 8.031 kB / 2.774 GB, free: 107 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/8.447, allocations: 38.22 kB / 2.774 GB, free: 106.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/8.447, allocations: 204.8 kB / 2.774 GB, free: 106.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/8.447, allocations: 7.938 kB / 2.774 GB, free: 106.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/8.447, allocations: 15.95 kB / 2.774 GB, free: 106.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002396/8.447, allocations: 60.81 kB / 2.774 GB, free: 106.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/8.448, allocations: 94.89 kB / 2.774 GB, free: 106.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/8.448, allocations: 0 / 2.774 GB, free: 106.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/8.448, allocations: 0 / 2.774 GB, free: 106.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/8.448, allocations: 4 kB / 2.774 GB, free: 106.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008876/8.448, allocations: 415.9 kB / 2.774 GB, free: 106.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/8.449, allocations: 67.52 kB / 2.774 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/8.449, allocations: 25.05 kB / 2.774 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/8.449, allocations: 4 kB / 2.774 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/8.449, allocations: 40.84 kB / 2.775 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 3.206e-06/8.449, allocations: 3.984 kB / 2.775 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002774/8.449, allocations: 83 kB / 2.775 GB, free: 106 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/8.449, allocations: 51.41 kB / 2.775 GB, free: 105.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/8.449, allocations: 133.3 kB / 2.775 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/8.449, allocations: 25.7 kB / 2.775 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/8.449, allocations: 122.2 kB / 2.775 GB, free: 105.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/8.45, allocations: 27.64 kB / 2.775 GB, free: 105.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/8.45, allocations: 0 / 2.775 GB, free: 105.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 6.611e-05/8.45, allocations: 317.5 kB / 2.775 GB, free: 105.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/8.45, allocations: 17.75 kB / 2.775 GB, free: 105.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/8.45, allocations: 26.17 kB / 2.775 GB, free: 105.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/8.45, allocations: 15.28 kB / 2.775 GB, free: 105.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/8.45, allocations: 0 / 2.775 GB, free: 105.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002151/8.45, allocations: 90.45 kB / 2.775 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/8.45, allocations: 8 kB / 2.775 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/8.45, allocations: 4 kB / 2.775 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/8.45, allocations: 0 / 2.775 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/8.45, allocations: 23.94 kB / 2.775 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/8.45, allocations: 0 / 2.775 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/8.451, allocations: 15.89 kB / 2.775 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/8.451, allocations: 2.312 kB / 2.775 GB, free: 105.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.003e-05/8.451, allocations: 101 kB / 2.776 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002008/8.451, allocations: 97.02 kB / 2.776 GB, free: 105 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/8.451, allocations: 7.906 kB / 2.776 GB, free: 105 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/8.451, allocations: 93.42 kB / 2.776 GB, free: 104.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/8.451, allocations: 0 / 2.776 GB, free: 104.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/8.451, allocations: 0 / 2.776 GB, free: 104.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/8.451, allocations: 4 kB / 2.776 GB, free: 104.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/8.452, allocations: 187.9 kB / 2.776 GB, free: 104.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/8.452, allocations: 0 / 2.776 GB, free: 104.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/8.452, allocations: 19.98 kB / 2.776 GB, free: 104.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/8.452, allocations: 4 kB / 2.776 GB, free: 104.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/8.452, allocations: 0 / 2.776 GB, free: 104.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/8.452, allocations: 0 / 2.776 GB, free: 104.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/8.452, allocations: 11.89 kB / 2.776 GB, free: 104.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/8.452, allocations: 168.3 kB / 2.776 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/8.452, allocations: 91.45 kB / 2.776 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/8.452, allocations: 0 / 2.776 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/8.453, allocations: 15.98 kB / 2.776 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/8.453, allocations: 7.938 kB / 2.776 GB, free: 104.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/8.453, allocations: 8 kB / 2.776 GB, free: 104.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.657e-05/8.453, allocations: 106.2 kB / 2.776 GB, free: 104.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.31e-07/8.453, allocations: 4 kB / 2.776 GB, free: 104.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005274/8.453, allocations: 50.83 kB / 2.776 GB, free: 104.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.00131/8.455, allocations: 1.259 MB / 2.778 GB, free: 103 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002101/8.455, allocations: 53.55 kB / 2.778 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/8.455, allocations: 0 / 2.778 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/8.455, allocations: 31.98 kB / 2.778 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/8.456, allocations: 30.5 kB / 2.778 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/8.456, allocations: 199.4 kB / 2.778 GB, free: 102.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/8.457, allocations: 0.708 MB / 2.779 GB, free: 101.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001391/8.457, allocations: 8.438 kB / 2.779 GB, free: 101.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/8.457, allocations: 33.73 kB / 2.779 GB, free: 101.9 MB / 0.7761 GB Notification: Performance of SimCode: time 8.91e-07/8.457, allocations: 0 / 2.779 GB, free: 101.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05569/8.513, allocations: 6.578 MB / 2.785 GB, free: 95.34 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002336/8.513, allocations: 163.1 kB / 2.785 GB, free: 95.14 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.107/11.62, allocations: 4 kB / 2.785 GB, free: 95.14 MB / 0.7761 GB