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.Plate.kc_laminar_KC.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.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.2 MB / 224.8 MB, free: 1.555 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.000445, allocations: 16 kB / 282.6 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 48.71 MB / 331.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002518/0.1081, allocations: 1.344 MB / 332.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1096, allocations: 0.6554 MB / 333.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.1097, allocations: 7.875 kB / 333.3 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.11, allocations: 35.88 kB / 333.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.1103, allocations: 35.94 kB / 333.4 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1105, allocations: 51.81 kB / 333.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1108, allocations: 91.78 kB / 333.5 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.1108, allocations: 17.39 kB / 333.5 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.111, allocations: 39.84 kB / 333.6 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1111, allocations: 59.75 kB / 333.6 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1111, allocations: 4 kB / 333.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.1114, allocations: 67.94 kB / 333.7 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.1115, allocations: 39.89 kB / 333.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.1116, allocations: 45.58 kB / 333.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.1118, allocations: 112 kB / 333.9 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1118, allocations: 0 / 333.9 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1119, allocations: 0 / 333.9 MB, free: 6.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1119, allocations: 4 kB / 333.9 MB, free: 6.277 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008308/0.1127, allocations: 449.5 kB / 334.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1128, allocations: 8.031 kB / 334.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.993e-05/0.1128, allocations: 46.48 kB / 334.4 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/0.1138, allocations: 67.73 kB / 334.5 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1141, allocations: 214.8 kB / 334.7 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.1141, allocations: 19.84 kB / 334.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.1142, allocations: 12 kB / 334.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.115, allocations: 248 kB / 334.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.115, allocations: 0 / 334.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.115, allocations: 4 kB / 334.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.455e-05/0.1151, allocations: 23.92 kB / 335 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008572/0.116, allocations: 247.8 kB / 335.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.1179, allocations: 0.668 MB / 335.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.1187, allocations: 238.2 kB / 336.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.1188, allocations: 4 kB / 336.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1188, allocations: 34.56 kB / 336.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.1189, allocations: 0 / 336.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.001176/0.12, allocations: 305.2 kB / 336.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1201, allocations: 55.41 kB / 336.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.1205, allocations: 226.3 kB / 336.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.1205, allocations: 29.7 kB / 336.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1206, allocations: 174.4 kB / 336.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.1207, allocations: 39.36 kB / 337 MB, free: 3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.1207, allocations: 8 kB / 337 MB, free: 2.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1209, allocations: 318.8 kB / 337.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.1212, allocations: 87.89 kB / 337.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.1216, allocations: 119.2 kB / 337.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.122, allocations: 107.9 kB / 337.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.122, allocations: 112 / 337.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009146/0.123, allocations: 261.7 kB / 337.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.123, allocations: 8 kB / 337.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.123, allocations: 0 / 337.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.1231, allocations: 0 / 337.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007142/0.1302, allocations: 471.5 kB / 338.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2768/0.4071, allocations: 9.643 MB / 348 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.4077, allocations: 25.59 kB / 348 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.4077, allocations: 13.31 kB / 348 MB, free: 8.27 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.4079, allocations: 135.8 kB / 348.1 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.408, allocations: 26.92 kB / 348.2 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/0.4089, allocations: 253.3 kB / 348.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.409, allocations: 2.203 kB / 348.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.409, allocations: 0 / 348.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.409, allocations: 1.969 kB / 348.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.4094, allocations: 241.7 kB / 348.6 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4094, allocations: 2.047 kB / 348.6 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005283/0.4147, allocations: 418.5 kB / 349.1 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.4148, allocations: 1.125 kB / 349.1 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.4148, allocations: 8.531 kB / 349.1 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/0.4315, allocations: 8.952 MB / 358 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4315, allocations: 1.141 kB / 358 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/0.4324, allocations: 305 kB / 358.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.4325, allocations: 105.1 kB / 358.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.4326, allocations: 1.438 kB / 358.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.433, allocations: 19.12 kB / 358.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.4331, allocations: 17.89 kB / 358.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.4332, allocations: 4.688 kB / 358.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002992/0.4335, allocations: 192.4 kB / 358.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4335, allocations: 0 / 358.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006734/0.4342, allocations: 69.06 kB / 358.7 MB, free: 15.52 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 (13): * 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): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.4354, allocations: 0.836 MB / 359.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00938/0.4448, allocations: 0.6585 MB / 360.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.4449, allocations: 0 / 360.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006527/0.4514, allocations: 0.5127 MB / 360.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.4519, allocations: 36.25 kB / 360.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.4558, allocations: 1.375 MB / 362.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4562, allocations: 0.7441 MB / 362.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.4564, allocations: 47.7 kB / 362.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4564, allocations: 1.375 kB / 362.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.181/3.638, allocations: 7.029 MB / 370 MB, free: 10.34 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_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],Nu[1],Nu[2],Nu[3],velocity[1],velocity[2],velocity[3],kc[1],kc[2],kc[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],input_Nu.y Variables in the result:IN_con[1].L,IN_con[2].L,IN_con[3].L,IN_var[1].cp,IN_var[1].eta,IN_var[1].lambda,IN_var[1].rho,IN_var[1].velocity,IN_var[2].cp,IN_var[2].eta,IN_var[2].lambda,IN_var[2].rho,IN_var[2].velocity,IN_var[3].cp,IN_var[3].eta,IN_var[3].lambda,IN_var[3].rho,IN_var[3].velocity,L,Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc[1],kc[2],kc[3],lambda[1],lambda[2],lambda[3],n,rho[1],rho[2],rho[3],time,velocity[1],velocity[2],velocity[3]