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.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.2 MB / 224.8 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006074/0.0006076, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1183, allocations: 48.72 MB / 331.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003669/0.122, allocations: 1.52 MB / 332.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.125, allocations: 0.9748 MB / 333.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1252, allocations: 4 kB / 333.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.1256, allocations: 43.73 kB / 333.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.1258, allocations: 47.84 kB / 333.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008709/0.1267, allocations: 131.6 kB / 334 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.1271, allocations: 135.7 kB / 334.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1273, allocations: 33.64 kB / 334.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.1275, allocations: 75.69 kB / 334.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.1278, allocations: 83.61 kB / 334.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.1279, allocations: 4 kB / 334.4 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008271/0.1287, allocations: 231.7 kB / 334.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1289, allocations: 55.75 kB / 334.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.129, allocations: 57.58 kB / 334.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.1296, allocations: 187.8 kB / 334.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1296, allocations: 0 / 334.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1296, allocations: 0 / 334.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1296, allocations: 4 kB / 334.9 MB, free: 5.203 MB / 282.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.001717/0.1313, allocations: 0.5297 MB / 335.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.1314, allocations: 16.02 kB / 335.4 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.1315, allocations: 54.48 kB / 335.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.097e-05/0.1316, allocations: 23.72 kB / 335.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.1321, allocations: 227.4 kB / 335.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.1321, allocations: 12 kB / 335.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.1322, allocations: 12 kB / 335.7 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.1334, allocations: 296.3 kB / 336 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1334, allocations: 0 / 336 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.1335, allocations: 4 kB / 336 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-05/0.1336, allocations: 11.98 kB / 336 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.1347, allocations: 255.5 kB / 336.3 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.1364, allocations: 0.7812 MB / 337.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/0.1374, allocations: 239.7 kB / 337.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.1375, allocations: 15.97 kB / 337.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1375, allocations: 30.56 kB / 337.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.195e-05/0.1375, allocations: 3.984 kB / 337.4 MB, free: 2.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.00189/0.1394, allocations: 0.5787 MB / 337.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.1395, allocations: 106.8 kB / 338 MB, free: 1.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.14, allocations: 278.6 kB / 338.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.1401, allocations: 29.7 kB / 338.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1402, allocations: 198.4 kB / 338.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.1403, allocations: 43.36 kB / 338.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.1403, allocations: 4 kB / 338.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1405, allocations: 314.8 kB / 338.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.141, allocations: 99.91 kB / 339 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.1415, allocations: 133.1 kB / 339.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.142, allocations: 115.8 kB / 339.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.142, allocations: 0 / 339.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001138/0.1432, allocations: 269.3 kB / 339.5 MB, free: 236 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.1432, allocations: 15.08 kB / 339.5 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/0.1433, allocations: 8 kB / 339.5 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1433, allocations: 192 / 339.5 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.1437, allocations: 44.11 kB / 339.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.1437, allocations: 15.81 kB / 339.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.1441, allocations: 35.83 kB / 339.6 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.1441, allocations: 11.98 kB / 339.6 MB, free: 108 kB / 282.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.2565/0.4007, allocations: 144.3 kB / 339.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.4008, allocations: 20.72 kB / 339.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009322/0.4018, allocations: 235.3 kB / 340 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.4018, allocations: 1.375 kB / 340 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4018, allocations: 1.438 kB / 340 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4018, allocations: 1.875 kB / 340 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.4024, allocations: 271.9 kB / 340.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.853e-05/0.4025, allocations: 11.14 kB / 340.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.4028, allocations: 38.14 kB / 340.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.4028, allocations: 0.9375 kB / 340.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.4029, allocations: 8.672 kB / 340.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.4029, allocations: 2.812 kB / 340.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.4029, allocations: 1.734 kB / 340.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.4041, allocations: 0.4931 MB / 340.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.4043, allocations: 123.7 kB / 341 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.4044, allocations: 7.547 kB / 341 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.4048, allocations: 25.95 kB / 341 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.4049, allocations: 13.81 kB / 341 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.405, allocations: 6.562 kB / 341 MB, free: 14.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003358/0.4053, allocations: 203.7 kB / 341.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4053, allocations: 0 / 341.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000607/0.4059, allocations: 82.94 kB / 341.3 MB, free: 14.35 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): 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.001656/0.4076, allocations: 1.094 MB / 342.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.4089, allocations: 306.8 kB / 342.7 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4089, allocations: 1.469 kB / 342.7 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.4095, allocations: 200 kB / 342.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.41, allocations: 36.48 kB / 342.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.4143, allocations: 1.642 MB / 344.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.4147, allocations: 0.7657 MB / 345.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.4149, allocations: 64.94 kB / 345.4 MB, free: 12 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4149, allocations: 0 / 345.4 MB, free: 12 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.486/2.901, allocations: 4.834 MB / 350.2 MB, free: 11.57 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat failed! Error: Could not read variable input_mflow_1.pi in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable input_mflow_1.pi from file ModelicaTest_3.2.1_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]