Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.391/4.391, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.976e-05/4.985e-05, allocations: 4 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2594, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.151/7.41, allocations: 2.204 GB / 2.882 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/7.41, allocations: 88.7 kB / 2.882 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.3/12.71, allocations: 1.006 GB / 3.889 GB, free: 140.9 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.064e-06/12.71, allocations: 2.75 kB / 3.889 GB, free: 140.9 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000302/12.71, allocations: 53.59 kB / 3.889 GB, free: 140.9 MB / 0.9011 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.006764/12.72, allocations: 2.068 MB / 3.891 GB, free: 140 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/12.72, allocations: 11.25 kB / 3.891 GB, free: 140 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006193/12.72, allocations: 172.9 kB / 3.891 GB, free: 139.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006448/12.73, allocations: 0.6422 MB / 3.891 GB, free: 139.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005817/12.73, allocations: 1.427 MB / 3.893 GB, free: 139.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007272/12.73, allocations: 166.2 kB / 3.893 GB, free: 139.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006069/12.73, allocations: 129 kB / 3.893 GB, free: 139.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/12.74, allocations: 1.336 MB / 3.894 GB, free: 139.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.384e-05/12.74, allocations: 9.406 kB / 3.894 GB, free: 139.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/12.74, allocations: 48.88 kB / 3.894 GB, free: 139.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/12.74, allocations: 43.67 kB / 3.894 GB, free: 139.3 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/12.74, allocations: 1.034 MB / 3.895 GB, free: 139.3 MB / 0.9011 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.0144/12.76, allocations: 5.899 MB / 3.901 GB, free: 137 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/12.76, allocations: 0.9557 MB / 3.902 GB, free: 136.8 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/12.76, allocations: 481.4 kB / 3.903 GB, free: 136.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008193/12.76, allocations: 317.6 kB / 3.903 GB, free: 136.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/12.76, allocations: 0.5372 MB / 3.903 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 4.919e-06/12.76, allocations: 0 / 3.903 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=95): time 0.01298/12.77, allocations: 3.036 MB / 3.906 GB, free: 135.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/12.77, allocations: 193 kB / 3.907 GB, free: 135.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/12.78, allocations: 1.146 MB / 3.908 GB, free: 135.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003373/12.78, allocations: 45.95 kB / 3.908 GB, free: 135.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009493/12.78, allocations: 0.7325 MB / 3.908 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005851/12.78, allocations: 320.3 kB / 3.909 GB, free: 134.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/12.78, allocations: 21.16 kB / 3.909 GB, free: 134.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000103/12.78, allocations: 337.6 kB / 3.909 GB, free: 134.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/12.78, allocations: 383.2 kB / 3.909 GB, free: 134.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/12.78, allocations: 0.6075 MB / 3.91 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01951/12.8, allocations: 2.347 MB / 3.912 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/12.8, allocations: 0 / 3.912 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006399/12.81, allocations: 1.602 MB / 3.914 GB, free: 134 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000385/12.81, allocations: 1.292 MB / 3.915 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/12.81, allocations: 7.703 kB / 3.915 GB, free: 132.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/12.81, allocations: 412 kB / 3.916 GB, free: 132.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/12.81, allocations: 176.9 kB / 3.916 GB, free: 132.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/12.82, allocations: 6.889 MB / 3.922 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/12.83, allocations: 148.1 kB / 3.923 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/12.83, allocations: 41.7 kB / 3.923 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/12.83, allocations: 6.219 kB / 3.923 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00571/12.83, allocations: 1.434 MB / 3.924 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/12.83, allocations: 7.094 kB / 3.924 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/12.83, allocations: 411.1 kB / 3.924 GB, free: 128 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/12.83, allocations: 170.2 kB / 3.925 GB, free: 128 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/12.85, allocations: 7.893 MB / 3.932 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/12.85, allocations: 148.8 kB / 3.932 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000281/12.85, allocations: 42.81 kB / 3.933 GB, free: 122.7 MB / 0.9011 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 (86): * Single equations (assignments): 81 * 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.000461/12.85, allocations: 190.8 kB / 3.933 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/12.85, allocations: 167.1 kB / 3.933 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005632/12.86, allocations: 1.461 MB / 3.934 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/12.86, allocations: 10.62 kB / 3.934 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/12.86, allocations: 3.953 kB / 3.934 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00493/12.86, allocations: 1.305 MB / 3.936 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/12.87, allocations: 3.333 MB / 3.939 GB, free: 121.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/12.87, allocations: 10.36 kB / 3.939 GB, free: 121.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/12.88, allocations: 190.6 kB / 3.939 GB, free: 121.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008539/12.88, allocations: 203.5 kB / 3.939 GB, free: 121.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/12.88, allocations: 35.62 kB / 3.939 GB, free: 121.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004011/12.88, allocations: 2.49 MB / 3.942 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/12.88, allocations: 10.56 kB / 3.942 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00716/12.89, allocations: 2.397 MB / 3.944 GB, free: 118.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/12.89, allocations: 372.4 kB / 3.944 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005809/12.89, allocations: 30.19 kB / 3.944 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/12.89, allocations: 145.8 kB / 3.945 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/12.89, allocations: 63.28 kB / 3.945 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/12.89, allocations: 43.86 kB / 3.945 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002206/12.9, allocations: 0.8989 MB / 3.946 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.71e-07/12.9, allocations: 3.391 kB / 3.946 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006005/12.9, allocations: 1.02 MB / 3.947 GB, free: 118.6 MB / 0.9011 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 (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.01209/12.91, allocations: 6.292 MB / 3.953 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005987/12.92, allocations: 2.62 MB / 3.955 GB, free: 114.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/12.92, allocations: 7.906 kB / 3.955 GB, free: 114.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/12.92, allocations: 0.6893 MB / 3.956 GB, free: 114.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007774/12.93, allocations: 0.8784 MB / 3.957 GB, free: 114.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/12.94, allocations: 2.999 MB / 3.96 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/12.94, allocations: 1.396 MB / 3.961 GB, free: 112.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004063/12.95, allocations: 497.9 kB / 3.962 GB, free: 112.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/12.95, allocations: 0.6123 MB / 3.962 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.292e-06/12.95, allocations: 0 / 3.962 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2412/13.19, allocations: 92.17 MB / 4.052 GB, free: 78.91 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/13.19, allocations: 229.7 kB / 4.052 GB, free: 78.61 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/20.14, allocations: 0 / 4.052 GB, free: 78.61 MB / 0.9011 GB