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.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,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 234.9 MB / 250.5 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004278, allocations: 8 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3414, allocations: 54.86 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002849/0.3443, allocations: 1.529 MB / 370.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.3467, allocations: 0.9874 MB / 371.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.3469, allocations: 0 / 371.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.3472, allocations: 43.8 kB / 371.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.3474, allocations: 39.84 kB / 371.9 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.348, allocations: 143.6 kB / 372 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.3483, allocations: 143.7 kB / 372.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.443e-05/0.3485, allocations: 25.61 kB / 372.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.3486, allocations: 71.69 kB / 372.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.3488, allocations: 79.67 kB / 372.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.3489, allocations: 4 kB / 372.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006085/0.3495, allocations: 239.7 kB / 372.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-05/0.3496, allocations: 47.81 kB / 372.6 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.3497, allocations: 53.64 kB / 372.7 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.3501, allocations: 200.5 kB / 372.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3502, allocations: 0 / 372.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3502, allocations: 3.938 kB / 372.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3502, allocations: 0 / 372.9 MB, free: 7.117 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001391/0.3516, allocations: 0.5257 MB / 373.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.3516, allocations: 12.03 kB / 373.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.941e-05/0.3517, allocations: 50.55 kB / 373.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.3518, allocations: 27.7 kB / 373.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.3522, allocations: 222.6 kB / 373.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3522, allocations: 16 kB / 373.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.3523, allocations: 12 kB / 373.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008882/0.3532, allocations: 292.5 kB / 374 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3532, allocations: 0 / 374 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.3532, allocations: 12 kB / 374 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.3533, allocations: 15.73 kB / 374 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3543, allocations: 243.6 kB / 374.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.356, allocations: 0.7812 MB / 375.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009694/0.357, allocations: 243.7 kB / 375.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.357, allocations: 0 / 375.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3571, allocations: 42.48 kB / 375.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/0.3571, allocations: 0 / 375.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.001846/0.359, allocations: 0.5748 MB / 375.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.3591, allocations: 106.9 kB / 376 MB, free: 3.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.3595, allocations: 274.6 kB / 376.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.3596, allocations: 33.7 kB / 376.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.3597, allocations: 190.4 kB / 376.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.3598, allocations: 47.28 kB / 376.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.3599, allocations: 4.109 kB / 376.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.36, allocations: 326.7 kB / 376.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.3605, allocations: 99.84 kB / 377 MB, free: 2.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.361, allocations: 139.9 kB / 377.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.3616, allocations: 108.2 kB / 377.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3616, allocations: 0 / 377.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001174/0.3628, allocations: 273.2 kB / 377.5 MB, free: 2.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3628, allocations: 4.156 kB / 377.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.887e-05/0.3629, allocations: 15.98 kB / 377.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.3629, allocations: 4 kB / 377.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.3633, allocations: 43.91 kB / 377.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3633, allocations: 0 / 377.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.3637, allocations: 43.72 kB / 377.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.3637, allocations: 8 kB / 377.6 MB, free: 2.043 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002324/0.364, allocations: 157.7 kB / 377.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.3641, allocations: 15.81 kB / 377.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008613/0.365, allocations: 247.1 kB / 378 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.365, allocations: 0 / 378 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.365, allocations: 8 kB / 378 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.365, allocations: 0 / 378 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.3656, allocations: 265.5 kB / 378.3 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-05/0.3657, allocations: 11.98 kB / 378.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.366, allocations: 39.91 kB / 378.3 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.366, allocations: 4 kB / 378.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.3661, allocations: 8 kB / 378.3 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.3661, allocations: 0 / 378.3 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3661, allocations: 0 / 378.3 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3673, allocations: 0.5016 MB / 378.8 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.3675, allocations: 108.8 kB / 379 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.3676, allocations: 0 / 379 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.368, allocations: 19.98 kB / 379 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.3681, allocations: 23.91 kB / 379 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.3681, allocations: 4 kB / 379 MB, free: 0.543 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003173/0.3685, allocations: 209.9 kB / 379.2 MB, free: 348 kB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3685, allocations: 0 / 379.2 MB, free: 348 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005908/0.3691, allocations: 75.98 kB / 379.3 MB, free: 272 kB / 298.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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001838/0.3709, allocations: 1.085 MB / 380.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3721, allocations: 305.1 kB / 380.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3721, allocations: 0 / 380.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005764/0.3727, allocations: 189.1 kB / 380.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.3733, allocations: 49 kB / 380.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.3777, allocations: 1.646 MB / 382.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.3782, allocations: 0.7596 MB / 383.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.3784, allocations: 63.41 kB / 383.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of SimCode: time 9.31e-07/0.3784, allocations: 0 / 383.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.484/2.862, allocations: 4.855 MB / 388.2 MB, free: 7.172 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_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat failed! " Variables in the reference:time,velocity[1],velocity[2],velocity[3],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_2[1],Re_2[2],Re_2[3],Nu_2[1],Nu_2[2],Nu_2[3],mflow_test,input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,Nu_2[1],Nu_2[2],Nu_2[3],Re_2[1],Re_2[2],Re_2[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],h,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_2[1].L,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].s,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].s,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].s,m_flow_IN_con_2[3].target,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,mflow_test,n,rho[1],rho[2],rho[3],s,time,velocity[1],velocity[2],velocity[3]