Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.994/3.994, allocations: 432.7 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.672e-05, allocations: 5.172 kB / 0.5338 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2083, allocations: 98.73 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.664/6.872, allocations: 2.2 GB / 2.83 GB, free: 112 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/6.872, allocations: 90.33 kB / 2.83 GB, free: 111.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.331/12.2, allocations: 1.006 GB / 3.836 GB, free: 29.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.795e-06/12.2, allocations: 0 / 3.836 GB, free: 29.13 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004256/12.2, allocations: 50.83 kB / 3.837 GB, free: 29.09 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.009964/12.21, allocations: 2.072 MB / 3.839 GB, free: 26.95 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/12.21, allocations: 8.031 kB / 3.839 GB, free: 26.94 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009579/12.22, allocations: 173.4 kB / 3.839 GB, free: 26.76 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/12.23, allocations: 0.6142 MB / 3.839 GB, free: 26.14 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008638/12.23, allocations: 1.442 MB / 3.841 GB, free: 24.64 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0014/12.24, allocations: 158.2 kB / 3.841 GB, free: 24.49 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007776/12.24, allocations: 131.9 kB / 3.841 GB, free: 24.36 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006968/12.24, allocations: 1.344 MB / 3.842 GB, free: 22.94 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-05/12.24, allocations: 3.938 kB / 3.842 GB, free: 22.94 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/12.24, allocations: 48 kB / 3.842 GB, free: 22.89 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.114e-05/12.24, allocations: 46.2 kB / 3.842 GB, free: 22.84 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006286/12.25, allocations: 1.031 MB / 3.843 GB, free: 21.81 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.02174/12.27, allocations: 5.878 MB / 3.849 GB, free: 15.62 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/12.27, allocations: 0.9691 MB / 3.85 GB, free: 14.61 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/12.28, allocations: 475.7 kB / 3.851 GB, free: 14.14 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008048/12.28, allocations: 316 kB / 3.851 GB, free: 13.78 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/12.28, allocations: 0.5248 MB / 3.851 GB, free: 13.23 MB / 0.823 GB Notification: Performance of pre-optimization done (n=87): time 3.486e-06/12.28, allocations: 0 / 3.851 GB, free: 13.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.01078/12.29, allocations: 2.976 MB / 3.854 GB, free: 10.18 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/12.29, allocations: 192.7 kB / 3.854 GB, free: 9.945 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/12.29, allocations: 1.142 MB / 3.856 GB, free: 8.797 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000348/12.29, allocations: 45.7 kB / 3.856 GB, free: 8.746 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007747/12.29, allocations: 0.7393 MB / 3.856 GB, free: 8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004561/12.29, allocations: 323.2 kB / 3.857 GB, free: 7.68 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/12.29, allocations: 20 kB / 3.857 GB, free: 7.66 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/12.29, allocations: 341.9 kB / 3.857 GB, free: 7.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009514/12.29, allocations: 377.9 kB / 3.857 GB, free: 6.953 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/12.29, allocations: 0.599 MB / 3.858 GB, free: 6.27 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01854/12.31, allocations: 2.335 MB / 3.86 GB, free: 3.902 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/12.31, allocations: 4 kB / 3.86 GB, free: 3.898 MB / 0.823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005893/12.32, allocations: 1.553 MB / 3.862 GB, free: 2.324 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003079/12.32, allocations: 1.297 MB / 3.863 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/12.32, allocations: 8 kB / 3.863 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/12.32, allocations: 419.2 kB / 3.863 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/12.32, allocations: 171.8 kB / 3.864 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/12.34, allocations: 6.944 MB / 3.87 GB, free: 8.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/12.34, allocations: 147.7 kB / 3.871 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/12.34, allocations: 40.17 kB / 3.871 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/12.34, allocations: 8 kB / 3.871 GB, free: 8.738 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005695/12.35, allocations: 1.378 MB / 3.872 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/12.35, allocations: 8 kB / 3.872 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/12.35, allocations: 415.5 kB / 3.872 GB, free: 6.918 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/12.35, allocations: 155.8 kB / 3.872 GB, free: 6.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/12.36, allocations: 7.963 MB / 3.88 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/12.37, allocations: 135.7 kB / 3.88 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/12.37, allocations: 39.98 kB / 3.88 GB, free: 14.07 MB / 0.8542 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 80 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000494/12.37, allocations: 202.5 kB / 3.881 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/12.37, allocations: 170 kB / 3.881 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005802/12.37, allocations: 1.406 MB / 3.882 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/12.37, allocations: 11.94 kB / 3.882 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/12.37, allocations: 0 / 3.882 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00489/12.38, allocations: 1.267 MB / 3.883 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/12.39, allocations: 3.279 MB / 3.887 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/12.39, allocations: 4 kB / 3.887 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/12.39, allocations: 188.3 kB / 3.887 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008451/12.39, allocations: 213.5 kB / 3.887 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/12.39, allocations: 27.98 kB / 3.887 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/12.4, allocations: 2.466 MB / 3.889 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/12.4, allocations: 4 kB / 3.889 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007403/12.4, allocations: 2.339 MB / 3.892 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/12.4, allocations: 371 kB / 3.892 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/12.41, allocations: 27.94 kB / 3.892 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002453/12.41, allocations: 143.7 kB / 3.892 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/12.41, allocations: 80.58 kB / 3.892 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/12.41, allocations: 35.98 kB / 3.892 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002205/12.41, allocations: 0.8936 MB / 3.893 GB, free: 400 kB / 0.8542 GB Notification: Performance of sort global known variables: time 5.51e-07/12.41, allocations: 3.938 kB / 3.893 GB, free: 396 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.6919/13.1, allocations: 0.9893 MB / 3.894 GB, free: 138.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01297/13.12, allocations: 6.226 MB / 3.9 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008327/13.12, allocations: 2.789 MB / 3.903 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/13.12, allocations: 1.469 kB / 3.903 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/13.13, allocations: 0.6916 MB / 3.904 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008054/13.13, allocations: 0.8686 MB / 3.904 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/13.15, allocations: 2.985 MB / 3.907 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/13.15, allocations: 1.391 MB / 3.909 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004489/13.15, allocations: 489.5 kB / 3.909 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/13.15, allocations: 0.6142 MB / 3.91 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.783e-06/13.15, allocations: 3.609 kB / 3.91 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.201/13.36, allocations: 91.83 MB / 4 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/13.36, allocations: 236.5 kB / 4 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/19.97, allocations: 7.312 kB / 4 GB, free: 129.8 MB / 0.8542 GB