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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.26/2.26, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004228, allocations: 8 kB / 314.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3327, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003631/0.3363, allocations: 2.138 MB / 371.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.3393, allocations: 1.335 MB / 372.8 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.3396, allocations: 4 kB / 372.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.34, allocations: 91.45 kB / 372.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005094/0.3405, allocations: 139.5 kB / 373 MB, free: 7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.3413, allocations: 203.4 kB / 373.2 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.3417, allocations: 215.4 kB / 373.4 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.3418, allocations: 24.73 kB / 373.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.342, allocations: 91.5 kB / 373.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.3422, allocations: 115.3 kB / 373.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.3422, allocations: 4 kB / 373.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.3436, allocations: 0.5773 MB / 374.2 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.3437, allocations: 43.77 kB / 374.3 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.3438, allocations: 73.52 kB / 374.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.3445, allocations: 323.1 kB / 374.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3445, allocations: 0 / 374.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3445, allocations: 0 / 374.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3445, allocations: 0 / 374.6 MB, free: 5.344 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.0009506/0.3455, allocations: 0.5732 MB / 375.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3455, allocations: 16.03 kB / 375.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.636e-05/0.3456, allocations: 70.53 kB / 375.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.676e-05/0.3458, allocations: 47.44 kB / 375.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.3461, allocations: 242.4 kB / 375.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.3461, allocations: 21 kB / 375.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.629e-05/0.3462, allocations: 39.98 kB / 375.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3473, allocations: 0.588 MB / 376.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.3473, allocations: 3.938 kB / 376.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.3474, allocations: 16 kB / 376.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.3474, allocations: 16 kB / 376.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/0.3483, allocations: 341 kB / 376.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/0.3517, allocations: 4.043 MB / 380.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.3521, allocations: 94.59 kB / 380.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.3522, allocations: 15.97 kB / 380.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.3522, allocations: 34.56 kB / 380.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.365e-06/0.3523, allocations: 0 / 380.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008574/0.3531, allocations: 181.4 kB / 381 MB, free: 14.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3532, allocations: 55.41 kB / 381 MB, free: 14.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/0.3538, allocations: 413.7 kB / 381.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3538, allocations: 25.7 kB / 381.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.354, allocations: 301.4 kB / 381.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.3541, allocations: 27.64 kB / 381.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.3541, allocations: 4 kB / 381.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3543, allocations: 326.8 kB / 382.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.3545, allocations: 64.61 kB / 382.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.355, allocations: 266.3 kB / 382.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.3554, allocations: 99.89 kB / 382.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3554, allocations: 4 kB / 382.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009759/0.3564, allocations: 332.9 kB / 382.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3564, allocations: 8 kB / 382.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.3564, allocations: 11.98 kB / 382.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.3565, allocations: 12.78 kB / 382.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008112/0.3573, allocations: 115.8 kB / 383 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009297/0.3582, allocations: 1.215 MB / 384.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.3587, allocations: 71.45 kB / 384.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.3588, allocations: 20 kB / 384.3 MB, free: 11.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002146/0.359, allocations: 149.7 kB / 384.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.3591, allocations: 35.53 kB / 384.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00076/0.3599, allocations: 188.8 kB / 384.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3599, allocations: 7.938 kB / 384.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3599, allocations: 0 / 384.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3599, allocations: 0 / 384.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.3604, allocations: 273.5 kB / 384.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3604, allocations: 7.938 kB / 384.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.3609, allocations: 55.95 kB / 385 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3609, allocations: 0 / 385 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.361, allocations: 0 / 385 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008605/0.3618, allocations: 1.203 MB / 386.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3618, allocations: 4.031 kB / 386.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.3625, allocations: 255.1 kB / 386.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3626, allocations: 108.6 kB / 386.5 MB, free: 8.625 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.3627, allocations: 0 / 386.5 MB, free: 8.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.363, allocations: 15.98 kB / 386.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.3631, allocations: 11.94 kB / 386.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3631, allocations: 12 kB / 386.6 MB, free: 8.586 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004113/0.3635, allocations: 267.1 kB / 386.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3635, allocations: 0 / 386.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006946/0.3642, allocations: 108 kB / 387 MB, free: 8.219 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 (7): * Single equations (assignments): 5 * 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.001306/0.3656, allocations: 0.8494 MB / 387.8 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.3666, allocations: 218 kB / 388 MB, free: 7.129 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3666, allocations: 0 / 388 MB, free: 7.129 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005221/0.3672, allocations: 79.94 kB / 388.1 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.3676, allocations: 46.22 kB / 388.1 MB, free: 7.008 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/0.3718, allocations: 2.022 MB / 390.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.3723, allocations: 0.7794 MB / 390.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.3725, allocations: 107.3 kB / 391 MB, free: 3.926 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3725, allocations: 4 kB / 391.1 MB, free: 3.922 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.761/3.133, allocations: 7.921 MB / 399 MB, free: 12.01 MB / 330.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat failed! " Variables in the reference:time,Nu,m_flow[1],m_flow[2],m_flow[3],m_flow[4],kc_1,kc_4,Re_1,Re_4,input_Nu.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,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_1,Re_4,S_h_3,S_p_3,cp,delta_f,delta_f_3,eta,input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_1,kc_4,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