Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.277/2.277, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005905/0.0005906, allocations: 8 kB / 314.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3593, allocations: 54.86 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003683/0.3631, allocations: 2.126 MB / 371.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.3667, allocations: 1.604 MB / 373 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.367, allocations: 0 / 373 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.3675, allocations: 91.47 kB / 373.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.3679, allocations: 115.6 kB / 373.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.3691, allocations: 287.1 kB / 373.5 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004879/0.3696, allocations: 207.5 kB / 373.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3698, allocations: 24.73 kB / 373.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.3699, allocations: 79.53 kB / 373.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3701, allocations: 95.44 kB / 373.9 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.3701, allocations: 4 kB / 373.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.3722, allocations: 0.7568 MB / 374.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3723, allocations: 43.75 kB / 374.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.3725, allocations: 73.52 kB / 374.8 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3736, allocations: 419 kB / 375.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3736, allocations: 3.938 kB / 375.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3736, allocations: 4 kB / 375.2 MB, free: 6.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3736, allocations: 0 / 375.2 MB, free: 6.812 MB / 298.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.001178/0.3748, allocations: 0.581 MB / 375.8 MB, free: 6.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3749, allocations: 8.031 kB / 375.8 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.375, allocations: 70.53 kB / 375.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3751, allocations: 43.44 kB / 375.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.3755, allocations: 242.5 kB / 376.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.3756, allocations: 29 kB / 376.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.3757, allocations: 36 kB / 376.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009072/0.3766, allocations: 374.4 kB / 376.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3766, allocations: 0 / 376.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.3767, allocations: 16 kB / 376.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.3767, allocations: 8 kB / 376.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.3775, allocations: 271.9 kB / 376.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.3796, allocations: 0.8884 MB / 377.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.3801, allocations: 90.53 kB / 377.8 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.777e-05/0.3802, allocations: 12.05 kB / 377.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3802, allocations: 30.56 kB / 377.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 3.687e-06/0.3802, allocations: 3.938 kB / 377.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.001193/0.3814, allocations: 0.5094 MB / 378.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.3815, allocations: 59.36 kB / 378.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.3822, allocations: 401.8 kB / 378.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.3823, allocations: 25.7 kB / 378.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.3825, allocations: 289.5 kB / 379.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.3826, allocations: 35.55 kB / 379.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.3826, allocations: 4 kB / 379.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3827, allocations: 326.8 kB / 379.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.3831, allocations: 64.17 kB / 379.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.3836, allocations: 261.9 kB / 379.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.384, allocations: 107.8 kB / 379.9 MB, free: 1.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.384, allocations: 4 kB / 379.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001046/0.3851, allocations: 321.7 kB / 380.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.3851, allocations: 8 kB / 380.2 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.811e-05/0.3852, allocations: 28.08 kB / 380.3 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.3853, allocations: 15.98 kB / 380.3 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.3856, allocations: 63.84 kB / 380.3 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.3857, allocations: 11.95 kB / 380.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.3861, allocations: 67.55 kB / 380.4 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.3861, allocations: 23.94 kB / 380.4 MB, free: 1.156 MB / 298.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 () * Number of clocked 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.0002281/0.3864, allocations: 149 kB / 380.6 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.3865, allocations: 39.47 kB / 380.6 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009881/0.3875, allocations: 224.7 kB / 380.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.3875, allocations: 0 / 380.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.3875, allocations: 3.984 kB / 380.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3876, allocations: 3.953 kB / 380.9 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.3881, allocations: 281.4 kB / 381.1 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.924e-05/0.3881, allocations: 19.98 kB / 381.2 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3883, allocations: 11.98 kB / 381.2 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.3883, allocations: 0 / 381.2 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.3883, allocations: 8 kB / 381.2 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3883, allocations: 0 / 381.2 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3883, allocations: 4 kB / 381.2 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.389, allocations: 262.9 kB / 381.4 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.3892, allocations: 104.6 kB / 381.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.092e-05/0.3893, allocations: 11.98 kB / 381.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.3896, allocations: 4 kB / 381.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.3896, allocations: 11.98 kB / 381.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.3897, allocations: 4.25 kB / 381.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004227/0.3901, allocations: 271.1 kB / 381.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3901, allocations: 0 / 381.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007885/0.3909, allocations: 123.8 kB / 382 MB, free: 15.55 MB / 314.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 () * Number of clocked 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.001583/0.3925, allocations: 0.8876 MB / 382.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3937, allocations: 324.3 kB / 383.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3937, allocations: 4 kB / 383.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005192/0.3942, allocations: 194.7 kB / 383.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.3947, allocations: 25.56 kB / 383.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.3994, allocations: 2.093 MB / 385.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.3998, allocations: 0.7833 MB / 386.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.4, allocations: 107.4 kB / 386.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4001, allocations: 0 / 386.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.804/3.204, allocations: 10.86 MB / 397.2 MB, free: 40 kB / 314.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