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.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007436/0.0007438, allocations: 12 kB / 314.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3544, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002625/0.3571, allocations: 1.424 MB / 370.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.3588, allocations: 0.7262 MB / 371.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.3589, allocations: 8 kB / 371.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.3592, allocations: 47.72 kB / 371.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.3595, allocations: 43.86 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.3598, allocations: 63.86 kB / 371.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.36, allocations: 79.86 kB / 371.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.944e-05/0.3601, allocations: 17.09 kB / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3603, allocations: 51.72 kB / 371.8 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3604, allocations: 51.77 kB / 371.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3605, allocations: 0 / 371.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.3609, allocations: 163.8 kB / 372 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.361, allocations: 31.89 kB / 372 MB, free: 8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.361, allocations: 45.64 kB / 372 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.3613, allocations: 112.7 kB / 372.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3613, allocations: 4 kB / 372.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.3614, allocations: 0 / 372.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3614, allocations: 0 / 372.2 MB, free: 7.836 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008629/0.3622, allocations: 434.8 kB / 372.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3623, allocations: 12.03 kB / 372.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.055e-05/0.3624, allocations: 42.55 kB / 372.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.3624, allocations: 11.81 kB / 372.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3627, allocations: 202.8 kB / 372.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.3627, allocations: 8 kB / 372.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.3628, allocations: 8 kB / 372.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.3633, allocations: 181.4 kB / 373 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3634, allocations: 0 / 373 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.3634, allocations: 11.89 kB / 373 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.3634, allocations: 15.98 kB / 373.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/0.3641, allocations: 167.9 kB / 373.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.3652, allocations: 0.4883 MB / 373.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.3659, allocations: 162.5 kB / 373.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.3659, allocations: 4 kB / 373.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.366, allocations: 38.56 kB / 373.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.304e-06/0.366, allocations: 0 / 373.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009299/0.3669, allocations: 221.2 kB / 374.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.367, allocations: 55.34 kB / 374.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3673, allocations: 199.5 kB / 374.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3673, allocations: 29.7 kB / 374.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.3674, allocations: 174.4 kB / 374.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.3675, allocations: 27.56 kB / 374.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.3675, allocations: 4 kB / 374.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3676, allocations: 322.8 kB / 374.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.3679, allocations: 47.95 kB / 375 MB, free: 4.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.3682, allocations: 78.52 kB / 375 MB, free: 4.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.3685, allocations: 63.94 kB / 375.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3685, allocations: 0 / 375.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006444/0.3692, allocations: 169.5 kB / 375.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3692, allocations: 4 kB / 375.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3692, allocations: 0 / 375.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3692, allocations: 4 kB / 375.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.3698, allocations: 55.91 kB / 375.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009071/0.3707, allocations: 1.219 MB / 376.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.3709, allocations: 15.94 kB / 376.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.3709, allocations: 4 kB / 376.6 MB, free: 3.129 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * 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.000215/0.3712, allocations: 145.8 kB / 376.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.3712, allocations: 16.28 kB / 376.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000723/0.372, allocations: 198.8 kB / 376.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.372, allocations: 3.938 kB / 376.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.372, allocations: 96 / 376.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.372, allocations: 3.938 kB / 376.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.3724, allocations: 233.5 kB / 377.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3724, allocations: 0 / 377.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004478/0.3729, allocations: 43.97 kB / 377.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3729, allocations: 0 / 377.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.3729, allocations: 7.984 kB / 377.2 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008359/0.3738, allocations: 1.215 MB / 378.4 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.3738, allocations: 3.984 kB / 378.4 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.3744, allocations: 263.3 kB / 378.7 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.3745, allocations: 88.92 kB / 378.8 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.3746, allocations: 7.953 kB / 378.8 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3748, allocations: 11.98 kB / 378.8 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.3749, allocations: 7.984 kB / 378.8 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.3749, allocations: 4 kB / 378.8 MB, free: 0.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.3751, allocations: 153.1 kB / 379 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3751, allocations: 4 kB / 379 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004027/0.3755, allocations: 43.94 kB / 379 MB, free: 0.5547 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 (9): * Single equations (assignments): 7 * 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.001136/0.3767, allocations: 0.8137 MB / 379.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009102/0.3776, allocations: 167.9 kB / 380 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3776, allocations: 0 / 380 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.3782, allocations: 87.86 kB / 380.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.3785, allocations: 32.86 kB / 380.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.3813, allocations: 1.122 MB / 381.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3817, allocations: 0.7318 MB / 382 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.3818, allocations: 35.42 kB / 382 MB, free: 13.46 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3818, allocations: 0 / 382 MB, free: 13.46 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.641/3.023, allocations: 4.165 MB / 386.2 MB, free: 9.312 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat failed! " Variables in the reference:time,velocity[1],velocity[2],cp[1],cp[2],eta[1],eta[2],lambda[1],lambda[2],rho[1],rho[2],Nu[1],Nu[2],m_flow[1],m_flow[2],kc_OUT_1[1],kc_OUT_1[2],Re[1],Re[2],input_Nu.y Variables in the result:L,Nu[1],Nu[2],Re[1],Re[2],cp[1],cp[2],d_hyd,eta[1],eta[2],h,input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_OUT_1[1],kc_OUT_1[2],lambda[1],lambda[2],m_flow[1],m_flow[2],m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].h,m_flow_IN_con_1[1].s,m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].h,m_flow_IN_con_1[2].s,m_flow_IN_con_1[2].target,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,n,rho[1],rho[2],s,time,velocity[1],velocity[2]