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_flatTube.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_flatTube,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 234.9 MB / 250.5 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004765, allocations: 15.98 kB / 314.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3618, allocations: 54.85 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003158/0.365, allocations: 1.693 MB / 371 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.3677, allocations: 1.242 MB / 372.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.3678, allocations: 0 / 372.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.3682, allocations: 75.62 kB / 372.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.3685, allocations: 71.67 kB / 372.4 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.3692, allocations: 171.6 kB / 372.5 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.3694, allocations: 119.7 kB / 372.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.3695, allocations: 12.31 kB / 372.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.3697, allocations: 51.72 kB / 372.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3698, allocations: 55.64 kB / 372.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3698, allocations: 4 kB / 372.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009661/0.3708, allocations: 427.5 kB / 373.2 MB, free: 8.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.3709, allocations: 23.86 kB / 373.2 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.371, allocations: 53.64 kB / 373.3 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.3715, allocations: 243.4 kB / 373.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3715, allocations: 0 / 373.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3715, allocations: 0 / 373.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3715, allocations: 0 / 373.5 MB, free: 8.539 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008186/0.3724, allocations: 484.2 kB / 374 MB, free: 8.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3724, allocations: 8.031 kB / 374 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.303e-05/0.3725, allocations: 62.48 kB / 374 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.3726, allocations: 27.64 kB / 374.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3729, allocations: 198.8 kB / 374.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3729, allocations: 12 kB / 374.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.373, allocations: 20 kB / 374.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.3735, allocations: 198.7 kB / 374.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3736, allocations: 3.984 kB / 374.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.3736, allocations: 11.95 kB / 374.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.3736, allocations: 15.98 kB / 374.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.3742, allocations: 144.3 kB / 374.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.3754, allocations: 0.5868 MB / 375.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.3757, allocations: 70.48 kB / 375.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.3758, allocations: 0 / 375.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3758, allocations: 38.59 kB / 375.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.3758, allocations: 8 kB / 375.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008374/0.3767, allocations: 303.6 kB / 375.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.3767, allocations: 59.34 kB / 375.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.3771, allocations: 250.7 kB / 376 MB, free: 5.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3772, allocations: 29.7 kB / 376 MB, free: 5.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3773, allocations: 218.1 kB / 376.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.3774, allocations: 23.64 kB / 376.2 MB, free: 5.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.3774, allocations: 4 kB / 376.2 MB, free: 5.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3775, allocations: 314.8 kB / 376.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.3777, allocations: 43.97 kB / 376.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.3781, allocations: 132.8 kB / 376.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.3783, allocations: 63.91 kB / 376.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3784, allocations: 3.938 kB / 376.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006718/0.379, allocations: 193.2 kB / 377 MB, free: 4.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.3791, allocations: 8 kB / 377 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.847e-05/0.3791, allocations: 15.98 kB / 377 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.3792, allocations: 8.391 kB / 377 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.3794, allocations: 35.92 kB / 377 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.3794, allocations: 4 kB / 377 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.3797, allocations: 39.67 kB / 377.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.3797, allocations: 8 kB / 377.1 MB, free: 4.648 MB / 298.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001478/0.3799, allocations: 133.7 kB / 377.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.3799, allocations: 19.8 kB / 377.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.3806, allocations: 158.7 kB / 377.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.3806, allocations: 3.953 kB / 377.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3806, allocations: 0 / 377.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3807, allocations: 0 / 377.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.381, allocations: 217.6 kB / 377.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/0.3811, allocations: 8 kB / 377.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.3812, allocations: 11.98 kB / 377.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3812, allocations: 0 / 377.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3812, allocations: 8 kB / 377.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3812, allocations: 192 / 377.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3812, allocations: 3.953 kB / 377.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.3818, allocations: 223.2 kB / 377.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.3819, allocations: 88.92 kB / 377.9 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.3819, allocations: 3.984 kB / 377.9 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3821, allocations: 8 kB / 378 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.3822, allocations: 7.984 kB / 378 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.3822, allocations: 7.953 kB / 378 MB, free: 3.664 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002446/0.3825, allocations: 177.9 kB / 378.1 MB, free: 3.492 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3825, allocations: 0 / 378.1 MB, free: 3.492 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005117/0.383, allocations: 75.92 kB / 378.2 MB, free: 3.418 MB / 298.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001149/0.3841, allocations: 0.8139 MB / 379 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007232/0.3849, allocations: 188.1 kB / 379.2 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3849, allocations: 0 / 379.2 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.3853, allocations: 103.3 kB / 379.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3856, allocations: 28.33 kB / 379.3 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.3886, allocations: 1.306 MB / 380.6 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.389, allocations: 0.732 MB / 381.4 MB, free: 80 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3891, allocations: 59.41 kB / 381.4 MB, free: 24 kB / 298.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3891, allocations: 4 kB / 381.4 MB, free: 20 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.707/3.096, allocations: 5.176 MB / 386.6 MB, free: 10.84 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat failed! " Variables in the reference:time,Re,m_flow[1],m_flow[2],Nu[1],Nu[2],input_Re.y Variables in the result:A_fr,D_h_2,D_m_1,D_m_2,F_l_1,F_p_1,L_l_1,L_p_1,Nu[1],Nu[2],Phi_1,Re,T_d_1,T_p_1,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__flatTube16.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__flatTube19.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__flatTube23.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__flatTube26.Re,alpha_2,cp,delta_2,delta_f_1,eta,gamma_2,input_Re.duration,input_Re.height,input_Re.offset,input_Re.startTime,input_Re.y,lambda,m_flow[1],m_flow[2],m_flow_IN_con_1.A_fr,m_flow_IN_con_1.D_h,m_flow_IN_con_1.D_m,m_flow_IN_con_1.F_l,m_flow_IN_con_1.F_p,m_flow_IN_con_1.L_l,m_flow_IN_con_1.L_p,m_flow_IN_con_1.Phi,m_flow_IN_con_1.T_d,m_flow_IN_con_1.T_p,m_flow_IN_con_1.alpha,m_flow_IN_con_1.delta,m_flow_IN_con_1.delta_f,m_flow_IN_con_1.gamma,m_flow_IN_con_1.geometry,m_flow_IN_con_2.A_fr,m_flow_IN_con_2.D_h,m_flow_IN_con_2.D_m,m_flow_IN_con_2.F_l,m_flow_IN_con_2.F_p,m_flow_IN_con_2.L_l,m_flow_IN_con_2.L_p,m_flow_IN_con_2.Phi,m_flow_IN_con_2.T_d,m_flow_IN_con_2.T_p,m_flow_IN_con_2.alpha,m_flow_IN_con_2.delta,m_flow_IN_con_2.delta_f,m_flow_IN_con_2.gamma,m_flow_IN_con_2.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,n,rho,time