Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006693/0.0006695, allocations: 19.94 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3716, allocations: 48.7 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.0035/0.3752, allocations: 1.623 MB / 332.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.3778, allocations: 0.9644 MB / 333.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.378, allocations: 0 / 333.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.3783, allocations: 43.22 kB / 333.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.3786, allocations: 57.05 kB / 334 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.3795, allocations: 140 kB / 334.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.38, allocations: 207.8 kB / 334.3 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3802, allocations: 42.08 kB / 334.4 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.3805, allocations: 100.2 kB / 334.5 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.3808, allocations: 114.8 kB / 334.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.3809, allocations: 7.281 kB / 334.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008439/0.3818, allocations: 188 kB / 334.8 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3819, allocations: 65.14 kB / 334.8 MB, free: 4.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.3821, allocations: 70.89 kB / 334.9 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007857/0.3829, allocations: 244.6 kB / 335.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3829, allocations: 0 / 335.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3829, allocations: 0 / 335.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3829, allocations: 0 / 335.1 MB, free: 4.457 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001951/0.3849, allocations: 0.5865 MB / 335.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.385, allocations: 8.688 kB / 335.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.3852, allocations: 68.95 kB / 335.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.3853, allocations: 38.22 kB / 335.8 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.3858, allocations: 255.3 kB / 336.1 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.3859, allocations: 24.03 kB / 336.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.221e-05/0.386, allocations: 24.19 kB / 336.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.3876, allocations: 443.4 kB / 336.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3877, allocations: 1.219 kB / 336.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.3877, allocations: 14.28 kB / 336.6 MB, free: 3.469 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.3878, allocations: 16.42 kB / 336.6 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.3894, allocations: 348.5 kB / 336.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.392, allocations: 1.111 MB / 338 MB, free: 2.469 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3931, allocations: 258 kB / 338.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.26e-05/0.3932, allocations: 14.88 kB / 338.3 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.3932, allocations: 36.91 kB / 338.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 3.526e-06/0.3933, allocations: 0 / 338.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.002368/0.3956, allocations: 0.6168 MB / 339 MB, free: 1.809 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.3957, allocations: 104.1 kB / 339.1 MB, free: 1.684 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008473/0.3966, allocations: 403.6 kB / 339.5 MB, free: 1.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.3966, allocations: 25.7 kB / 339.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.3968, allocations: 239.9 kB / 339.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.3969, allocations: 49.8 kB / 339.8 MB, free: 1.141 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.3969, allocations: 5.156 kB / 339.8 MB, free: 1.137 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.397, allocations: 330.6 kB / 340.1 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007572/0.3978, allocations: 124.1 kB / 340.2 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008543/0.3987, allocations: 255.8 kB / 340.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/0.3996, allocations: 164 kB / 340.6 MB, free: 496 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.3996, allocations: 6.359 kB / 340.6 MB, free: 492 kB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001944/0.4016, allocations: 408.2 kB / 341 MB, free: 300 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4016, allocations: 7 kB / 341 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.854e-05/0.4017, allocations: 21.92 kB / 341.1 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.4018, allocations: 6.062 kB / 341.1 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.4023, allocations: 53.05 kB / 341.1 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.4024, allocations: 9.625 kB / 341.1 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.403, allocations: 62.88 kB / 341.2 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/0.4031, allocations: 13.5 kB / 341.2 MB, free: 240 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003158/0.4035, allocations: 179.1 kB / 341.4 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.4036, allocations: 28.12 kB / 341.4 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.405, allocations: 301.9 kB / 341.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4051, allocations: 7.812 kB / 341.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.4051, allocations: 8.938 kB / 341.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4051, allocations: 1.531 kB / 341.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.4061, allocations: 305.9 kB / 342 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-05/0.4062, allocations: 18.73 kB / 342 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.4066, allocations: 29.41 kB / 342.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.4066, allocations: 1.25 kB / 342.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.4067, allocations: 12.8 kB / 342.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.4067, allocations: 5.656 kB / 342.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.4067, allocations: 3.938 kB / 342.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.4083, allocations: 0.5158 MB / 342.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.4086, allocations: 146.9 kB / 342.7 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4088, allocations: 9.219 kB / 342.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.4094, allocations: 24.25 kB / 342.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4096, allocations: 16.08 kB / 342.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.4096, allocations: 10.28 kB / 342.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006461/0.4103, allocations: 289.5 kB / 343.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.4103, allocations: 0 / 343.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001146/0.4115, allocations: 94.91 kB / 343.2 MB, free: 14.86 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002449/0.4139, allocations: 1.123 MB / 344.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.4158, allocations: 457.4 kB / 344.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4159, allocations: 0 / 344.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009158/0.4168, allocations: 281.8 kB / 345 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.4178, allocations: 66.67 kB / 345.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007659/0.4255, allocations: 2.217 MB / 347.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.4262, allocations: 0.7925 MB / 348.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.4265, allocations: 86.31 kB / 348.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4265, allocations: 0 / 348.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.682/3.109, allocations: 6.871 MB / 355.1 MB, free: 6.02 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat failed! Error: Could not read variable input_mflow_1.pi in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat. Warning: Get data of variable input_mflow_1.pi from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat failed! " Variables in the reference:time,cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],m_flow[1],m_flow[2],m_flow[3],Re_1[1],Re_1[2],Re_1[3],Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Re,Pr[1],Pr[2],Pr[3],input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Pr[1],Pr[2],Pr[3],Re,Re_1[1],Re_1[2],Re_1[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],frac_dtoL,input_mflow_0.duration,input_mflow_0.height,input_mflow_0.offset,input_mflow_0.startTime,input_mflow_0.y,input_mflow_1.amplitude,input_mflow_1.freqHz,input_mflow_1.offset,input_mflow_1.phase,input_mflow_1.startTime,input_mflow_1.y,input_mflow_2.fallTimeConst,input_mflow_2.offset,input_mflow_2.outMax,input_mflow_2.riseTime,input_mflow_2.riseTimeConst,input_mflow_2.startTime,input_mflow_2.y,input_mflow_2.y_riseTime,lambda[1],lambda[2],lambda[3],m_flow[1],m_flow[2],m_flow[3],m_flow_IN_con_1[1].K,m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].K,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].K,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].K,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].K,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].K,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].roughness,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].lambda,m_flow_IN_var_1[1].m_flow,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].cp,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].lambda,m_flow_IN_var_1[2].m_flow,m_flow_IN_var_1[2].rho,m_flow_IN_var_1[3].cp,m_flow_IN_var_1[3].eta,m_flow_IN_var_1[3].lambda,m_flow_IN_var_1[3].m_flow,m_flow_IN_var_1[3].rho,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].lambda,m_flow_IN_var_2[1].m_flow,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].cp,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].lambda,m_flow_IN_var_2[2].m_flow,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].cp,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].lambda,m_flow_IN_var_2[3].m_flow,m_flow_IN_var_2[3].rho,n,rho[1],rho[2],rho[3],time