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.Plate.kc_overall_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.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.247/2.247, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004371, allocations: 16 kB / 314.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3339, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.002584/0.3365, allocations: 1.333 MB / 370.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.3389, allocations: 1.089 MB / 371.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.3391, allocations: 0 / 371.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.3393, allocations: 31.83 kB / 371.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.3396, allocations: 43.84 kB / 371.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.3403, allocations: 151.6 kB / 371.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.3405, allocations: 95.72 kB / 372 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.413e-05/0.3406, allocations: 9.406 kB / 372 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.3407, allocations: 43.83 kB / 372.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3408, allocations: 55.83 kB / 372.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.3409, allocations: 4 kB / 372.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005096/0.3414, allocations: 167.8 kB / 372.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.3415, allocations: 39.83 kB / 372.4 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.3415, allocations: 45.64 kB / 372.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.3419, allocations: 148.6 kB / 372.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3419, allocations: 0 / 372.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3419, allocations: 0 / 372.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3419, allocations: 0 / 372.5 MB, free: 7.434 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008277/0.3428, allocations: 462.6 kB / 373 MB, free: 6.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3428, allocations: 12.03 kB / 373 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.044e-05/0.3429, allocations: 50.53 kB / 373.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.346, allocations: 191.5 kB / 373.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.3464, allocations: 230.7 kB / 373.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3465, allocations: 7.984 kB / 373.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.3465, allocations: 12 kB / 373.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009824/0.3475, allocations: 367.5 kB / 373.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3476, allocations: 0 / 373.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.3476, allocations: 7.953 kB / 373.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.3477, allocations: 15.98 kB / 373.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.3489, allocations: 383.6 kB / 374.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.3514, allocations: 0.8007 MB / 375 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.3526, allocations: 350.2 kB / 375.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.3527, allocations: 7.922 kB / 375.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.3527, allocations: 38.52 kB / 375.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/0.3527, allocations: 0 / 375.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001687/0.3544, allocations: 449 kB / 375.9 MB, free: 3.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3545, allocations: 51.41 kB / 375.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.3548, allocations: 230.3 kB / 376.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.3549, allocations: 25.7 kB / 376.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.355, allocations: 178.4 kB / 376.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/0.3551, allocations: 47.41 kB / 376.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.3552, allocations: 7.938 kB / 376.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3553, allocations: 310.8 kB / 376.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.3558, allocations: 135.8 kB / 376.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.3563, allocations: 151.8 kB / 377 MB, free: 2.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.3569, allocations: 151.8 kB / 377.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3569, allocations: 0 / 377.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001223/0.3581, allocations: 349.2 kB / 377.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.3582, allocations: 6.031 kB / 377.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3582, allocations: 8.047 kB / 377.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3582, allocations: 4 kB / 377.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05298/0.4112, allocations: 1.381 MB / 378.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07878/0.49, allocations: 11.62 MB / 390.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.4907, allocations: 27.86 kB / 390.5 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.4908, allocations: 15.97 kB / 390.5 MB, free: 4.383 MB / 314.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.0002349/0.491, allocations: 149.6 kB / 390.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.4911, allocations: 15.81 kB / 390.7 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.4912, allocations: 37.7 kB / 390.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4913, allocations: 0 / 390.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4913, allocations: 64 / 390.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4913, allocations: 4 kB / 390.7 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.4919, allocations: 289.3 kB / 391 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.4919, allocations: 8 kB / 391 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05274/0.5447, allocations: 1.365 MB / 392.4 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.5447, allocations: 4 kB / 392.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.5448, allocations: 11.97 kB / 392.4 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07814/0.623, allocations: 11.63 MB / 404 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.623, allocations: 0 / 404 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.6242, allocations: 427.2 kB / 404.5 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.6243, allocations: 88.92 kB / 404.5 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.6244, allocations: 8.062 kB / 404.5 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005446/0.625, allocations: 15.98 kB / 404.6 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/0.6253, allocations: 59.75 kB / 404.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.6254, allocations: 19.97 kB / 404.6 MB, free: 5.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.6256, allocations: 167.1 kB / 404.8 MB, free: 5.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6256, allocations: 4 kB / 404.8 MB, free: 5.195 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009408/0.6266, allocations: 123.9 kB / 404.9 MB, free: 5.074 MB / 330.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.001578/0.6282, allocations: 0.9978 MB / 405.9 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.04245/0.6706, allocations: 1.252 MB / 407.2 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.6707, allocations: 0 / 407.2 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04183/0.7125, allocations: 1.108 MB / 408.3 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.713, allocations: 28.73 kB / 408.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.717, allocations: 1.498 MB / 409.8 MB, free: 96 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.7174, allocations: 0.7398 MB / 410.6 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.7176, allocations: 47.36 kB / 410.6 MB, free: 15.28 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7176, allocations: 0 / 410.6 MB, free: 15.28 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.751/3.468, allocations: 8.123 MB / 418.7 MB, free: 7.16 MB / 346.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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]