Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) 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.427/2.427, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.199e-05/1.206e-05, allocations: 0 / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2729, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.418, allocations: 95.35 MB / 453.4 MB, free: 15.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.4184, allocations: 95.94 kB / 453.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04949/0.4679, allocations: 12.03 MB / 465.5 MB, free: 3.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.421e-06/0.4679, allocations: 4 kB / 465.5 MB, free: 3.266 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.468, allocations: 4 kB / 465.5 MB, free: 3.262 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.0009908/0.469, allocations: 0.5839 MB / 466.1 MB, free: 2.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.469, allocations: 8.031 kB / 466.1 MB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.139e-05/0.4691, allocations: 39.53 kB / 466.2 MB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.4695, allocations: 238.5 kB / 466.4 MB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.4695, allocations: 12 kB / 466.4 MB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.4696, allocations: 20 kB / 466.4 MB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004285/0.47, allocations: 209.5 kB / 466.6 MB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.4706, allocations: 298.1 kB / 466.9 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4706, allocations: 0 / 466.9 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.4707, allocations: 0 / 466.9 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.4707, allocations: 15.98 kB / 467 MB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.4723, allocations: 0.7853 MB / 467.7 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.4726, allocations: 74.56 kB / 467.8 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.472e-05/0.4727, allocations: 40.94 kB / 467.9 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.4727, allocations: 7.984 kB / 467.9 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4728, allocations: 30.56 kB / 467.9 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.636e-06/0.4728, allocations: 0 / 467.9 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000388/0.4732, allocations: 109.4 kB / 468 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.4732, allocations: 51.41 kB / 468 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.4735, allocations: 226.1 kB / 468.3 MB, free: 372 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.4736, allocations: 29.64 kB / 468.3 MB, free: 336 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.4738, allocations: 313.8 kB / 468.6 MB, free: 16 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2387/0.7126, allocations: 32.98 kB / 468.6 MB, free: 96.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.7126, allocations: 0 / 468.6 MB, free: 96.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.7127, allocations: 328.2 kB / 469 MB, free: 96.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.7129, allocations: 39.64 kB / 469 MB, free: 96.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.7131, allocations: 224.6 kB / 469.2 MB, free: 96.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.7133, allocations: 77.67 kB / 469.3 MB, free: 96.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.087e-06/0.7133, allocations: 5.812 kB / 469.3 MB, free: 96.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006881/0.714, allocations: 249.1 kB / 469.5 MB, free: 96.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.7141, allocations: 8.031 kB / 469.5 MB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.562e-05/0.7142, allocations: 26.47 kB / 469.6 MB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.7142, allocations: 9.625 kB / 469.6 MB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.7145, allocations: 64.3 kB / 469.6 MB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.7146, allocations: 13.36 kB / 469.7 MB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.7149, allocations: 34 kB / 469.7 MB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.7149, allocations: 25.98 kB / 469.7 MB, free: 96.31 MB / 394.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 9.386e-05/0.7151, allocations: 121.7 kB / 469.8 MB, free: 96.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.7151, allocations: 22.55 kB / 469.9 MB, free: 96.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.7157, allocations: 179.9 kB / 470 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.626e-06/0.7157, allocations: 2.125 kB / 470 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.7157, allocations: 0 / 470 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.824e-06/0.7157, allocations: 4.516 kB / 470 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.7161, allocations: 244.8 kB / 470.3 MB, free: 96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.472e-05/0.7162, allocations: 24 kB / 470.3 MB, free: 96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.96e-05/0.7163, allocations: 11.72 kB / 470.3 MB, free: 96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.123e-06/0.7163, allocations: 3.125 kB / 470.3 MB, free: 96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.7163, allocations: 5.281 kB / 470.3 MB, free: 96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.665e-06/0.7164, allocations: 3.281 kB / 470.3 MB, free: 96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.034e-06/0.7164, allocations: 5.312 kB / 470.3 MB, free: 96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.7167, allocations: 213.9 kB / 470.5 MB, free: 95.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.7168, allocations: 101.6 kB / 470.6 MB, free: 95.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.7168, allocations: 0.7969 kB / 470.6 MB, free: 95.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.717, allocations: 9.172 kB / 470.6 MB, free: 95.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.7171, allocations: 8.172 kB / 470.7 MB, free: 95.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.7171, allocations: 5.375 kB / 470.7 MB, free: 95.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.7173, allocations: 158.7 kB / 470.8 MB, free: 95.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.576e-06/0.7173, allocations: 0 / 470.8 MB, free: 95.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008937/0.7182, allocations: 149.9 kB / 471 MB, free: 95.67 MB / 394.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.0006769/0.7189, allocations: 283.7 kB / 471.2 MB, free: 95.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006616/0.7196, allocations: 273.4 kB / 471.5 MB, free: 95.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.452e-06/0.7196, allocations: 0 / 471.5 MB, free: 95.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.7199, allocations: 168.1 kB / 471.7 MB, free: 95.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.7202, allocations: 17.5 kB / 471.7 MB, free: 95.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/0.7212, allocations: 367.3 kB / 472 MB, free: 95.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.7215, allocations: 0.7843 MB / 472.8 MB, free: 94.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.7216, allocations: 19.53 kB / 472.8 MB, free: 94.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.908e-06/0.7216, allocations: 0 / 472.8 MB, free: 94.42 MB / 394.7 MB Notification: Performance of Templates: time 0.01394/0.7355, allocations: 9.347 MB / 482.2 MB, free: 93.94 MB / 394.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,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube31.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube34.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube37.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube40.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube44.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube47.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube50.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube53.Re,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