Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.2.|Nu.3.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadModel(ModelicaTest): time 2.135/2.135, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.094e-05, allocations: 4.938 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3211, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.5011, allocations: 96.02 MB / 455.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.5015, allocations: 100.6 kB / 455.9 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05041/0.5519, allocations: 12.28 MB / 468.2 MB, free: 4.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5519, allocations: 0 / 468.2 MB, free: 4.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.552, allocations: 4 kB / 468.2 MB, free: 4.59 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009068/0.5529, allocations: 0.5762 MB / 468.8 MB, free: 3.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5529, allocations: 8.031 kB / 468.8 MB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.553, allocations: 43.53 kB / 468.8 MB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.5534, allocations: 234.5 kB / 469 MB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.5534, allocations: 24.78 kB / 469.1 MB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.5535, allocations: 36 kB / 469.1 MB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.5542, allocations: 342.1 kB / 469.4 MB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.5542, allocations: 3.984 kB / 469.4 MB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.5543, allocations: 20.92 kB / 469.4 MB, free: 3.227 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.5543, allocations: 8 kB / 469.5 MB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.5548, allocations: 225.5 kB / 469.7 MB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.5565, allocations: 0.8952 MB / 470.6 MB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.5567, allocations: 74.56 kB / 470.6 MB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.5568, allocations: 36.91 kB / 470.7 MB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.5569, allocations: 7.984 kB / 470.7 MB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.5569, allocations: 30.56 kB / 470.7 MB, free: 1.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.838e-06/0.5569, allocations: 0.8438 kB / 470.7 MB, free: 1.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004107/0.5574, allocations: 137.2 kB / 470.9 MB, free: 1.738 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.5574, allocations: 51.41 kB / 470.9 MB, free: 1.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.558, allocations: 343.1 kB / 471.2 MB, free: 1.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.558, allocations: 31.11 kB / 471.3 MB, free: 1.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.5582, allocations: 285.6 kB / 471.5 MB, free: 1.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.5583, allocations: 39.55 kB / 471.6 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.5583, allocations: 4 kB / 471.6 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5585, allocations: 326.8 kB / 471.9 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.5587, allocations: 47.97 kB / 472 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.559, allocations: 230.2 kB / 472.2 MB, free: 284 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.5592, allocations: 99.77 kB / 472.3 MB, free: 184 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.615e-06/0.5592, allocations: 0 / 472.3 MB, free: 184 kB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006765/0.5599, allocations: 265.8 kB / 472.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.56, allocations: 8 kB / 472.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.078e-05/0.56, allocations: 32.08 kB / 472.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.5601, allocations: 8 kB / 472.6 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.5603, allocations: 63.84 kB / 472.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.5604, allocations: 15.95 kB / 472.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.5607, allocations: 63.3 kB / 472.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.5608, allocations: 20 kB / 472.7 MB, free: 15.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.5609, allocations: 127.6 kB / 472.9 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.561, allocations: 39.53 kB / 472.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005767/0.5616, allocations: 192.7 kB / 473.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.546e-06/0.5617, allocations: 4 kB / 473.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.191e-06/0.5617, allocations: 0 / 473.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-06/0.5617, allocations: 3.953 kB / 473.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.5622, allocations: 277.5 kB / 473.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.743e-05/0.5622, allocations: 19.98 kB / 473.4 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/0.5623, allocations: 12 kB / 473.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.38e-06/0.5623, allocations: 0 / 473.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.5624, allocations: 7.984 kB / 473.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.678e-06/0.5624, allocations: 0 / 473.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.393e-06/0.5624, allocations: 4 kB / 473.4 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.5628, allocations: 227 kB / 473.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.5629, allocations: 112.6 kB / 473.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.563, allocations: 8 kB / 473.8 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.5632, allocations: 4 kB / 473.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.5633, allocations: 15.98 kB / 473.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.5633, allocations: 4.25 kB / 473.8 MB, free: 14.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003802/0.5637, allocations: 261.2 kB / 474 MB, free: 14.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.5637, allocations: 0 / 474 MB, free: 14.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008083/0.5645, allocations: 139.9 kB / 474.2 MB, free: 14.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006577/0.5652, allocations: 276.3 kB / 474.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006854/0.5659, allocations: 284.2 kB / 474.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.401e-06/0.5659, allocations: 0 / 474.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.5663, allocations: 174.7 kB / 474.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.5667, allocations: 34.41 kB / 474.9 MB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.5676, allocations: 382.7 kB / 475.3 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.5681, allocations: 0.7911 MB / 476.1 MB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.5682, allocations: 27.44 kB / 476.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of SimCode: time 6.987e-06/0.5682, allocations: 0 / 476.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of Templates: time 0.01671/0.585, allocations: 9.87 MB / 486 MB, free: 2.285 MB / 410.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat failed! " Variables in the reference:time,Re,m_flow[1],m_flow[2],m_flow[3],m_flow[4],Nu[1],Nu[2],Nu[3],Nu[4],input_Re.y Variables in the result:A_fr,D_c_1,D_c_2,D_c_3,D_c_4,F_p_1,F_p_2,F_p_3,F_p_4,L_2,L_h_2,L_p_2,N_1,N_2,N_3,N_4,Nu[1],Nu[2],Nu[3],Nu[4],P_l_1,P_l_2,P_l_3,P_l_4,P_t_1,P_t_2,P_t_3,P_t_4,Re,S_h_3,S_p_3,cp,delta_f,delta_f_3,eta,input_Re.duration,input_Re.height,input_Re.offset,input_Re.startTime,input_Re.y,lambda,m_flow[1],m_flow[2],m_flow[3],m_flow[4],m_flow_IN_con_1.A_fr,m_flow_IN_con_1.D_c,m_flow_IN_con_1.F_p,m_flow_IN_con_1.L,m_flow_IN_con_1.L_h,m_flow_IN_con_1.L_p,m_flow_IN_con_1.N,m_flow_IN_con_1.P_d,m_flow_IN_con_1.P_l,m_flow_IN_con_1.P_t,m_flow_IN_con_1.S_h,m_flow_IN_con_1.S_p,m_flow_IN_con_1.X_f,m_flow_IN_con_1.delta_f,m_flow_IN_con_1.geometry,m_flow_IN_con_2.A_fr,m_flow_IN_con_2.D_c,m_flow_IN_con_2.F_p,m_flow_IN_con_2.L,m_flow_IN_con_2.L_h,m_flow_IN_con_2.L_p,m_flow_IN_con_2.N,m_flow_IN_con_2.P_d,m_flow_IN_con_2.P_l,m_flow_IN_con_2.P_t,m_flow_IN_con_2.S_h,m_flow_IN_con_2.S_p,m_flow_IN_con_2.X_f,m_flow_IN_con_2.delta_f,m_flow_IN_con_2.geometry,m_flow_IN_con_3.A_fr,m_flow_IN_con_3.D_c,m_flow_IN_con_3.F_p,m_flow_IN_con_3.L,m_flow_IN_con_3.L_h,m_flow_IN_con_3.L_p,m_flow_IN_con_3.N,m_flow_IN_con_3.P_d,m_flow_IN_con_3.P_l,m_flow_IN_con_3.P_t,m_flow_IN_con_3.S_h,m_flow_IN_con_3.S_p,m_flow_IN_con_3.X_f,m_flow_IN_con_3.delta_f,m_flow_IN_con_3.geometry,m_flow_IN_con_4.A_fr,m_flow_IN_con_4.D_c,m_flow_IN_con_4.F_p,m_flow_IN_con_4.L,m_flow_IN_con_4.L_h,m_flow_IN_con_4.L_p,m_flow_IN_con_4.N,m_flow_IN_con_4.P_d,m_flow_IN_con_4.P_l,m_flow_IN_con_4.P_t,m_flow_IN_con_4.S_h,m_flow_IN_con_4.S_p,m_flow_IN_con_4.X_f,m_flow_IN_con_4.delta_f,m_flow_IN_con_4.geometry,m_flow_IN_var_1.cp,m_flow_IN_var_1.eta,m_flow_IN_var_1.lambda,m_flow_IN_var_1.m_flow,m_flow_IN_var_1.rho,m_flow_IN_var_2.cp,m_flow_IN_var_2.eta,m_flow_IN_var_2.lambda,m_flow_IN_var_2.m_flow,m_flow_IN_var_2.rho,m_flow_IN_var_3.cp,m_flow_IN_var_3.eta,m_flow_IN_var_3.lambda,m_flow_IN_var_3.m_flow,m_flow_IN_var_3.rho,m_flow_IN_var_4.cp,m_flow_IN_var_4.eta,m_flow_IN_var_4.lambda,m_flow_IN_var_4.m_flow,m_flow_IN_var_4.rho,n,rho,time