Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.806/3.806, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.782e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6248/0.6249, allocations: 92.69 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.676/7.301, allocations: 2.178 GB / 2.767 GB, free: 82.38 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/7.301, allocations: 89.28 kB / 2.768 GB, free: 82.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.718/13.02, allocations: 1.003 GB / 3.77 GB, free: 112.7 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.563e-06/13.02, allocations: 0 / 3.77 GB, free: 112.7 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002984/13.02, allocations: 52.62 kB / 3.77 GB, free: 112.7 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.007336/13.03, allocations: 2.149 MB / 3.772 GB, free: 112 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/13.03, allocations: 11.19 kB / 3.772 GB, free: 112 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006856/13.03, allocations: 189.5 kB / 3.772 GB, free: 111.9 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00622/13.03, allocations: 0.6176 MB / 3.773 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006457/13.04, allocations: 1.574 MB / 3.775 GB, free: 111.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/13.04, allocations: 101 kB / 3.775 GB, free: 111.5 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006495/13.04, allocations: 145.4 kB / 3.775 GB, free: 111.5 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005482/13.05, allocations: 1.499 MB / 3.776 GB, free: 111.3 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.575e-05/13.05, allocations: 4.219 kB / 3.776 GB, free: 111.3 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/13.05, allocations: 58.41 kB / 3.776 GB, free: 111.3 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.463e-05/13.05, allocations: 44.53 kB / 3.776 GB, free: 111.3 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004588/13.05, allocations: 1.131 MB / 3.778 GB, free: 111.2 MB / 0.7917 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.01486/13.07, allocations: 6.251 MB / 3.784 GB, free: 108.6 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/13.07, allocations: 0.9357 MB / 3.785 GB, free: 108.4 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/13.07, allocations: 470.7 kB / 3.785 GB, free: 108.4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/13.07, allocations: 114.8 kB / 3.785 GB, free: 108.3 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001967/13.07, allocations: 0.6787 MB / 3.786 GB, free: 108.1 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=88): time 4.579e-06/13.07, allocations: 0 / 3.786 GB, free: 108.1 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96): time 0.01466/13.09, allocations: 4.409 MB / 3.79 GB, free: 106.2 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000201/13.09, allocations: 0.5273 MB / 3.791 GB, free: 105.6 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/13.09, allocations: 1.216 MB / 3.792 GB, free: 105.4 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003449/13.09, allocations: 46.23 kB / 3.792 GB, free: 105.4 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000925/13.09, allocations: 0.7947 MB / 3.793 GB, free: 105.2 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/13.09, allocations: 331.4 kB / 3.793 GB, free: 105 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/13.09, allocations: 23.84 kB / 3.793 GB, free: 105 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.499e-05/13.09, allocations: 343.5 kB / 3.793 GB, free: 104.7 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009855/13.09, allocations: 395.4 kB / 3.794 GB, free: 104.7 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/13.09, allocations: 0.6836 MB / 3.794 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01248/13.11, allocations: 1.665 MB / 3.796 GB, free: 104.3 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/13.11, allocations: 3.953 kB / 3.796 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00655/13.11, allocations: 1.586 MB / 3.797 GB, free: 104.1 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004622/13.11, allocations: 1.85 MB / 3.799 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/13.11, allocations: 3.938 kB / 3.799 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/13.12, allocations: 371.4 kB / 3.8 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/13.12, allocations: 175.7 kB / 3.8 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009546/13.13, allocations: 6.721 MB / 3.806 GB, free: 97.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/13.13, allocations: 136.9 kB / 3.807 GB, free: 97.62 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/13.13, allocations: 45.5 kB / 3.807 GB, free: 97.62 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/13.13, allocations: 2.781 kB / 3.807 GB, free: 97.62 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004648/13.14, allocations: 1.434 MB / 3.808 GB, free: 97.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/13.14, allocations: 3.969 kB / 3.808 GB, free: 97.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/13.14, allocations: 356.1 kB / 3.808 GB, free: 97.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/13.14, allocations: 167.4 kB / 3.808 GB, free: 97.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/13.15, allocations: 7.647 MB / 3.816 GB, free: 92.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/13.15, allocations: 106.1 kB / 3.816 GB, free: 92.06 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/13.15, allocations: 53.41 kB / 3.816 GB, free: 92.06 MB / 0.7917 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: 20 * 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 (99): * Single equations (assignments): 94 * 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.0005033/13.15, allocations: 205.8 kB / 3.816 GB, free: 91.93 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005521/13.15, allocations: 180.1 kB / 3.816 GB, free: 91.84 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005517/13.16, allocations: 1.317 MB / 3.818 GB, free: 91.7 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/13.16, allocations: 9.562 kB / 3.818 GB, free: 91.7 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/13.16, allocations: 3.312 kB / 3.818 GB, free: 91.7 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004812/13.16, allocations: 1.166 MB / 3.819 GB, free: 91.48 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/13.17, allocations: 3.614 MB / 3.822 GB, free: 90.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/13.17, allocations: 10.39 kB / 3.822 GB, free: 90.46 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/13.18, allocations: 169.6 kB / 3.823 GB, free: 90.46 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006314/13.18, allocations: 155.5 kB / 3.823 GB, free: 90.44 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/13.18, allocations: 30.09 kB / 3.823 GB, free: 90.44 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006512/13.18, allocations: 3.446 MB / 3.826 GB, free: 87.79 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/13.18, allocations: 12.62 kB / 3.826 GB, free: 87.79 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006832/13.19, allocations: 2.249 MB / 3.828 GB, free: 87.05 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/13.19, allocations: 376.6 kB / 3.829 GB, free: 86.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005407/13.19, allocations: 26.34 kB / 3.829 GB, free: 86.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/13.19, allocations: 118.3 kB / 3.829 GB, free: 86.86 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/13.19, allocations: 75.33 kB / 3.829 GB, free: 86.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/13.19, allocations: 39.11 kB / 3.829 GB, free: 86.86 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002087/13.2, allocations: 0.9405 MB / 3.83 GB, free: 86.74 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.01e-07/13.2, allocations: 0 / 3.83 GB, free: 86.74 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006059/13.2, allocations: 1.022 MB / 3.831 GB, free: 86.72 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 79 * 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.01146/13.21, allocations: 6.038 MB / 3.837 GB, free: 83.75 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006328/13.22, allocations: 2.674 MB / 3.839 GB, free: 82.85 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/13.22, allocations: 10.09 kB / 3.839 GB, free: 82.85 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/13.22, allocations: 0.7793 MB / 3.84 GB, free: 82.57 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007596/13.23, allocations: 0.8895 MB / 3.841 GB, free: 82.54 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/13.24, allocations: 2.996 MB / 3.844 GB, free: 81.73 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/13.24, allocations: 1.444 MB / 3.845 GB, free: 81 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004376/13.25, allocations: 0.5302 MB / 3.846 GB, free: 80.98 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/13.25, allocations: 0.6345 MB / 3.846 GB, free: 80.98 MB / 0.7917 GB Notification: Performance of SimCode: time 2.535e-06/13.25, allocations: 0 / 3.846 GB, free: 80.98 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2475/13.5, allocations: 93.68 MB / 3.938 GB, free: 69.2 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/13.5, allocations: 224.6 kB / 3.938 GB, free: 68.89 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/20.41, allocations: 0 / 3.938 GB, free: 68.89 MB / 0.7917 GB