Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.661/2.661, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.428e-05/2.438e-05, allocations: 0 / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3706, allocations: 54.86 MB / 354.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.5408, allocations: 86.67 MB / 441.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003915/0.5412, allocations: 91.94 kB / 441.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03525/0.5765, allocations: 6.634 MB / 447.9 MB, free: 1.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5765, allocations: 0 / 447.9 MB, free: 1.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.5765, allocations: 4 kB / 447.9 MB, free: 1.629 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000797/0.5774, allocations: 466.3 kB / 448.3 MB, free: 1.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.5774, allocations: 11.97 kB / 448.3 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.737e-05/0.5775, allocations: 27.67 kB / 448.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.5779, allocations: 210.5 kB / 448.6 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.5779, allocations: 15.94 kB / 448.6 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.578, allocations: 12 kB / 448.6 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006036/0.5786, allocations: 212.8 kB / 448.8 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.5791, allocations: 178.4 kB / 449 MB, free: 440 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5791, allocations: 0 / 449 MB, free: 440 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.5792, allocations: 0 / 449 MB, free: 440 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.5792, allocations: 7.953 kB / 449 MB, free: 432 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.5808, allocations: 0.5609 MB / 449.5 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.5813, allocations: 94.67 kB / 449.6 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.5814, allocations: 29.36 kB / 449.7 MB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.5814, allocations: 0 / 449.7 MB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.5815, allocations: 42.5 kB / 449.7 MB, free: 15.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.5815, allocations: 0 / 449.7 MB, free: 15.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004265/0.5819, allocations: 93.62 kB / 449.8 MB, free: 15.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.582, allocations: 59.39 kB / 449.9 MB, free: 15.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.5823, allocations: 164 kB / 450 MB, free: 15.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.5823, allocations: 25.7 kB / 450 MB, free: 15.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.5825, allocations: 179.5 kB / 450.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.5825, allocations: 31.64 kB / 450.2 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.5826, allocations: 0 / 450.2 MB, free: 15.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5828, allocations: 330.8 kB / 450.6 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.5829, allocations: 32 kB / 450.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.5831, allocations: 126 kB / 450.7 MB, free: 14.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.5833, allocations: 55.91 kB / 450.8 MB, free: 14.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5834, allocations: 0 / 450.8 MB, free: 14.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000557/0.5839, allocations: 173.2 kB / 450.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.584, allocations: 8.438 kB / 451 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.584, allocations: 12 kB / 451 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.584, allocations: 4 kB / 451 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.5848, allocations: 83.89 kB / 451.1 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.5859, allocations: 1.227 MB / 452.3 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.5863, allocations: 23.78 kB / 452.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.5864, allocations: 12 kB / 452.3 MB, free: 12.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.5865, allocations: 115 kB / 452.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003495/0.5869, allocations: 101.4 kB / 452.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.5869, allocations: 11.81 kB / 452.5 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.5875, allocations: 139.6 kB / 452.7 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5875, allocations: 4 kB / 452.7 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5875, allocations: 0 / 452.7 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5875, allocations: 3.984 kB / 452.7 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000822/0.5884, allocations: 400.5 kB / 453.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5884, allocations: 4 kB / 453.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.589, allocations: 51.97 kB / 453.1 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.589, allocations: 0 / 453.1 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.5891, allocations: 4 kB / 453.1 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.5901, allocations: 1.219 MB / 454.3 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5901, allocations: 0 / 454.3 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.5906, allocations: 236.6 kB / 454.6 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.5907, allocations: 92.86 kB / 454.7 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.5907, allocations: 4 kB / 454.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.591, allocations: 7.984 kB / 454.7 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.5911, allocations: 7.984 kB / 454.7 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.5911, allocations: 4 kB / 454.7 MB, free: 10.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.5913, allocations: 132.5 kB / 454.8 MB, free: 10.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5913, allocations: 0 / 454.8 MB, free: 10.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000679/0.592, allocations: 71.83 kB / 454.9 MB, free: 10.13 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.5932, allocations: 1.003 MB / 455.9 MB, free: 9.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.5939, allocations: 111.8 kB / 456 MB, free: 8.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5939, allocations: 4 kB / 456 MB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.5944, allocations: 52.8 kB / 456.1 MB, free: 8.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.5947, allocations: 24.39 kB / 456.1 MB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.5959, allocations: 270.4 kB / 456.3 MB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.5963, allocations: 0.7397 MB / 457.1 MB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.5965, allocations: 17.2 kB / 457.1 MB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.5966, allocations: 55.42 kB / 457.2 MB, free: 7.754 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5967, allocations: 3.938 kB / 457.2 MB, free: 7.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05378/0.6505, allocations: 4.241 MB / 461.4 MB, free: 3.516 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004119/0.6509, allocations: 195.3 kB / 461.6 MB, free: 3.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.858/3.509, allocations: 0 / 461.6 MB, free: 3.32 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat