Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.859/3.859, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.956e-05/4.962e-05, allocations: 8 kB / 0.4992 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6097/0.6098, allocations: 92.68 MB / 0.5897 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.531/8.141, allocations: 2.469 GB / 3.059 GB, free: 78.68 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/8.141, allocations: 99.44 kB / 3.059 GB, free: 78.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.439/16.58, allocations: 1.613 GB / 4.672 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/16.58, allocations: 0 / 4.672 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0005489/16.58, allocations: 75.91 kB / 4.672 GB, free: 5.25 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.0179/16.6, allocations: 2.909 MB / 4.675 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/16.6, allocations: 8.031 kB / 4.675 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001082/16.6, allocations: 282.9 kB / 4.675 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008272/16.61, allocations: 0.6793 MB / 4.676 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7061/17.31, allocations: 9.184 MB / 4.685 GB, free: 97.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/17.31, allocations: 154.1 kB / 4.685 GB, free: 97.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005901/17.32, allocations: 213.5 kB / 4.685 GB, free: 97.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007281/17.32, allocations: 2.352 MB / 4.687 GB, free: 97.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.074e-05/17.32, allocations: 1.781 kB / 4.687 GB, free: 97.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003941/17.32, allocations: 88.09 kB / 4.687 GB, free: 97.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/17.32, allocations: 84.73 kB / 4.687 GB, free: 97.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006876/17.33, allocations: 1.94 MB / 4.689 GB, free: 97.6 MB / 0.8386 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.02319/17.35, allocations: 10.32 MB / 4.699 GB, free: 92.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/17.36, allocations: 0.9102 MB / 4.7 GB, free: 92.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/17.36, allocations: 0.5583 MB / 4.701 GB, free: 92.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006089/17.36, allocations: 2.321 MB / 4.703 GB, free: 91.53 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/17.36, allocations: 48.28 kB / 4.703 GB, free: 91.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002468/17.37, allocations: 215.7 kB / 4.703 GB, free: 91.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=94): time 6.652e-06/17.37, allocations: 0 / 4.703 GB, free: 91.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=96): time 0.01174/17.38, allocations: 3.799 MB / 4.707 GB, free: 89.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/17.38, allocations: 145.4 kB / 4.707 GB, free: 89.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004198/17.38, allocations: 1.882 MB / 4.709 GB, free: 89.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003739/17.38, allocations: 53.05 kB / 4.709 GB, free: 89.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/17.38, allocations: 1.285 MB / 4.71 GB, free: 89.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005838/17.38, allocations: 347.4 kB / 4.711 GB, free: 88.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/17.38, allocations: 32 kB / 4.711 GB, free: 88.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001239/17.38, allocations: 364.2 kB / 4.711 GB, free: 88.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/17.39, allocations: 468.8 kB / 4.712 GB, free: 88.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/17.39, allocations: 1.087 MB / 4.713 GB, free: 87.82 MB / 0.8386 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01577/17.4, allocations: 2.135 MB / 4.715 GB, free: 87.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-05/17.4, allocations: 6.469 kB / 4.715 GB, free: 87.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.005313/17.41, allocations: 1.803 MB / 4.716 GB, free: 87.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001663/17.41, allocations: 7.382 MB / 4.724 GB, free: 79.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.92e-05/17.41, allocations: 19.31 kB / 4.724 GB, free: 79.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/17.41, allocations: 334.2 kB / 4.724 GB, free: 79.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/17.42, allocations: 318.5 kB / 4.724 GB, free: 79.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/17.42, allocations: 0.9741 MB / 4.725 GB, free: 79.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004248/17.42, allocations: 177.4 kB / 4.725 GB, free: 79.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004635/17.42, allocations: 85.48 kB / 4.725 GB, free: 79.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/17.42, allocations: 3.812 kB / 4.726 GB, free: 79.16 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004275/17.43, allocations: 1.566 MB / 4.727 GB, free: 79.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.651e-05/17.43, allocations: 17.41 kB / 4.727 GB, free: 79.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/17.43, allocations: 332.3 kB / 4.727 GB, free: 79.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/17.43, allocations: 321 kB / 4.728 GB, free: 79.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/17.43, allocations: 0.9731 MB / 4.729 GB, free: 78.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/17.44, allocations: 145.5 kB / 4.729 GB, free: 78.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003611/17.44, allocations: 79.06 kB / 4.729 GB, free: 78.58 MB / 0.8386 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 168 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006015/17.44, allocations: 213 kB / 4.729 GB, free: 78.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007659/17.44, allocations: 249 kB / 4.729 GB, free: 78.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/17.44, allocations: 1.246 MB / 4.73 GB, free: 78.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/17.44, allocations: 13.56 kB / 4.731 GB, free: 78.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/17.44, allocations: 0 / 4.731 GB, free: 78.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002054/17.44, allocations: 0.9242 MB / 4.731 GB, free: 78.16 MB / 0.8386 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 postOpt removeSimpleEquations (simulation): time 0.01078/17.45, allocations: 3.782 MB / 4.735 GB, free: 77.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/17.45, allocations: 7.438 kB / 4.735 GB, free: 77.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/17.46, allocations: 156.4 kB / 4.735 GB, free: 77.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/17.46, allocations: 313.4 kB / 4.736 GB, free: 77.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/17.46, allocations: 31.3 kB / 4.736 GB, free: 77.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/17.46, allocations: 0.9332 MB / 4.736 GB, free: 76.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/17.46, allocations: 11.67 kB / 4.737 GB, free: 76.74 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004661/17.47, allocations: 2.31 MB / 4.739 GB, free: 75.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/17.47, allocations: 445.9 kB / 4.739 GB, free: 75.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005137/17.47, allocations: 18.69 kB / 4.739 GB, free: 75.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/17.47, allocations: 109 kB / 4.739 GB, free: 75.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/17.47, allocations: 67.56 kB / 4.739 GB, free: 75.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/17.47, allocations: 46.5 kB / 4.739 GB, free: 75.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003007/17.47, allocations: 1.431 MB / 4.741 GB, free: 75.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.31e-07/17.47, allocations: 0 / 4.741 GB, free: 75.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006685/17.48, allocations: 1.419 MB / 4.742 GB, free: 75.4 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01145/17.49, allocations: 7.751 MB / 4.75 GB, free: 71.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005791/17.5, allocations: 2.016 MB / 4.752 GB, free: 71.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/17.5, allocations: 0 / 4.752 GB, free: 71.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/17.5, allocations: 496.3 kB / 4.752 GB, free: 71.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/17.51, allocations: 1.337 MB / 4.754 GB, free: 71.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/17.52, allocations: 3.725 MB / 4.757 GB, free: 70.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/17.52, allocations: 1.767 MB / 4.759 GB, free: 69.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006047/17.53, allocations: 0.8162 MB / 4.76 GB, free: 69.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/17.53, allocations: 0.9686 MB / 4.761 GB, free: 69.44 MB / 0.8386 GB Notification: Performance of SimCode: time 1.142e-06/17.53, allocations: 0 / 4.761 GB, free: 69.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2615/17.79, allocations: 124.2 MB / 4.882 GB, free: 63.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003017/17.79, allocations: 238.6 kB / 4.882 GB, free: 62.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/26.34, allocations: 4 kB / 4.882 GB, free: 62.89 MB / 0.8386 GB