Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.722/3.722, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.405e-05/4.418e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5915/0.5916, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.717, allocations: 382.5 MB / 0.9632 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/1.717, allocations: 89.45 kB / 0.9633 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.892/3.61, allocations: 408.4 MB / 1.362 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.605e-06/3.61, allocations: 0 / 1.362 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001816/3.61, allocations: 31.98 kB / 1.362 GB, free: 14.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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004474/3.615, allocations: 1.294 MB / 1.363 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/3.615, allocations: 11.97 kB / 1.363 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003733/3.615, allocations: 131 kB / 1.364 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/3.616, allocations: 150.4 kB / 1.364 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7477/4.364, allocations: 21.97 MB / 1.385 GB, free: 158.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/4.364, allocations: 67.45 kB / 1.385 GB, free: 158.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/4.365, allocations: 81.97 kB / 1.385 GB, free: 158.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/4.367, allocations: 0.9076 MB / 1.386 GB, free: 158.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/4.367, allocations: 2.906 kB / 1.386 GB, free: 158.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/4.367, allocations: 37.91 kB / 1.386 GB, free: 158.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/4.367, allocations: 28.75 kB / 1.386 GB, free: 158.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/4.369, allocations: 0.5516 MB / 1.387 GB, free: 158.5 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.008226/4.377, allocations: 5.141 MB / 1.392 GB, free: 155.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/4.378, allocations: 336.1 kB / 1.392 GB, free: 155.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/4.379, allocations: 179.7 kB / 1.392 GB, free: 155.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/4.379, allocations: 178.7 kB / 1.393 GB, free: 154.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/4.379, allocations: 43.02 kB / 1.393 GB, free: 154.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 3.907e-06/4.379, allocations: 2.562 kB / 1.393 GB, free: 154.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.005268/4.384, allocations: 1.646 MB / 1.394 GB, free: 154 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/4.384, allocations: 135.1 kB / 1.394 GB, free: 153.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/4.387, allocations: 0.8456 MB / 1.395 GB, free: 153.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/4.387, allocations: 32.58 kB / 1.395 GB, free: 153.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/4.387, allocations: 0.5522 MB / 1.396 GB, free: 153.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/4.388, allocations: 135.2 kB / 1.396 GB, free: 153.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/4.388, allocations: 15.28 kB / 1.396 GB, free: 153.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/4.388, allocations: 333.4 kB / 1.396 GB, free: 153.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/4.388, allocations: 158.3 kB / 1.396 GB, free: 153.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/4.389, allocations: 455.6 kB / 1.397 GB, free: 152.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/4.389, allocations: 253.9 kB / 1.397 GB, free: 152.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/4.389, allocations: 3.312 kB / 1.397 GB, free: 152.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001862/4.391, allocations: 0.6577 MB / 1.398 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/4.391, allocations: 8.25 kB / 1.398 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/4.391, allocations: 11.75 kB / 1.398 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.855e-05/4.392, allocations: 14.03 kB / 1.398 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/4.393, allocations: 158.2 kB / 1.398 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-05/4.393, allocations: 25.08 kB / 1.398 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/4.394, allocations: 88.84 kB / 1.398 GB, free: 152.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/4.395, allocations: 34.03 kB / 1.398 GB, free: 152.7 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.000232/4.395, allocations: 142.2 kB / 1.398 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/4.395, allocations: 116.5 kB / 1.398 GB, free: 152.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/4.397, allocations: 482.1 kB / 1.399 GB, free: 152.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/4.397, allocations: 11.03 kB / 1.399 GB, free: 152.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/4.397, allocations: 0 / 1.399 GB, free: 152.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007547/4.398, allocations: 439.2 kB / 1.399 GB, free: 152.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/4.402, allocations: 1.694 MB / 1.401 GB, free: 151.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/4.402, allocations: 6.344 kB / 1.401 GB, free: 151.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/4.403, allocations: 100.5 kB / 1.401 GB, free: 151.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/4.403, allocations: 3.719 kB / 1.401 GB, free: 151.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/4.403, allocations: 14.5 kB / 1.401 GB, free: 151.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/4.403, allocations: 8.359 kB / 1.401 GB, free: 151.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/4.403, allocations: 4.75 kB / 1.401 GB, free: 151.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/4.405, allocations: 0.9254 MB / 1.402 GB, free: 151.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008439/4.405, allocations: 232 kB / 1.402 GB, free: 151 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/4.406, allocations: 17.81 kB / 1.402 GB, free: 151 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/4.407, allocations: 63.22 kB / 1.402 GB, free: 151 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/4.408, allocations: 35.16 kB / 1.402 GB, free: 151 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-05/4.408, allocations: 20.88 kB / 1.402 GB, free: 151 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001473/4.409, allocations: 0.6582 MB / 1.403 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.12e-07/4.409, allocations: 3.469 kB / 1.403 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002097/4.411, allocations: 335.8 kB / 1.403 GB, free: 150.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (fouPor.vol1.ports[1].h_outflow,fouPor.vol2.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003468/4.415, allocations: 2.647 MB / 1.406 GB, free: 149.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001201/4.416, allocations: 420.3 kB / 1.406 GB, free: 149.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/4.416, allocations: 0 / 1.406 GB, free: 149.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005048/4.417, allocations: 192.3 kB / 1.406 GB, free: 149.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00581/4.423, allocations: 0.6295 MB / 1.407 GB, free: 149.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/4.428, allocations: 1.578 MB / 1.408 GB, free: 148.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/4.429, allocations: 1.087 MB / 1.409 GB, free: 147.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001739/4.431, allocations: 229 kB / 1.41 GB, free: 147.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008964/4.432, allocations: 402.9 kB / 1.41 GB, free: 147.9 MB / 0.7761 GB Notification: Performance of SimCode: time 1.653e-06/4.432, allocations: 0 / 1.41 GB, free: 147.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09811/4.53, allocations: 33.89 MB / 1.443 GB, free: 147.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/4.53, allocations: 207.8 kB / 1.443 GB, free: 147 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.992/8.523, allocations: 0 / 1.443 GB, free: 147 MB / 0.7761 GB