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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.083/2.083, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.0006311, allocations: 8 kB / 282.6 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3403, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.002393/0.3427, allocations: 1.332 MB / 332.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.345, allocations: 1.077 MB / 333.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.3452, allocations: 1.375 kB / 333.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.3455, allocations: 42.72 kB / 333.8 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.3458, allocations: 42.41 kB / 333.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.3465, allocations: 149.4 kB / 333.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.3468, allocations: 91.91 kB / 334 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.33e-05/0.3469, allocations: 16.17 kB / 334 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.575e-05/0.347, allocations: 46.89 kB / 334.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.3471, allocations: 57.2 kB / 334.1 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.3472, allocations: 3.5 kB / 334.2 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006228/0.3478, allocations: 168.6 kB / 334.3 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.42e-05/0.3479, allocations: 44.06 kB / 334.4 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.348, allocations: 49.78 kB / 334.4 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.3484, allocations: 152.8 kB / 334.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3484, allocations: 0 / 334.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3484, allocations: 1.469 kB / 334.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3485, allocations: 0 / 334.6 MB, free: 4.742 MB / 266.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.0008129/0.3493, allocations: 454.4 kB / 335 MB, free: 4.324 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.3493, allocations: 9.562 kB / 335 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.513e-05/0.3494, allocations: 50.16 kB / 335.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/0.3526, allocations: 193.9 kB / 335.2 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.3531, allocations: 234.8 kB / 335.5 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3532, allocations: 13.08 kB / 335.5 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.3532, allocations: 14.67 kB / 335.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3543, allocations: 359.2 kB / 335.9 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3543, allocations: 0 / 335.9 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.3544, allocations: 5.125 kB / 335.9 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.3544, allocations: 16 kB / 335.9 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.3556, allocations: 382.4 kB / 336.3 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.3583, allocations: 0.7991 MB / 337 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3594, allocations: 357.1 kB / 337.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.3595, allocations: 2.656 kB / 337.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3595, allocations: 35.91 kB / 337.4 MB, free: 2.965 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.635e-06/0.3595, allocations: 0 / 337.4 MB, free: 2.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001685/0.3612, allocations: 447.2 kB / 337.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.3613, allocations: 58.09 kB / 337.9 MB, free: 2.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.3616, allocations: 222.3 kB / 338.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.3617, allocations: 31.2 kB / 338.2 MB, free: 2.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.3618, allocations: 168.9 kB / 338.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.3619, allocations: 49.92 kB / 338.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.3619, allocations: 4 kB / 338.4 MB, free: 2.285 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.362, allocations: 325.7 kB / 338.7 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.3625, allocations: 125.5 kB / 338.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.3629, allocations: 163.1 kB / 339 MB, free: 1.816 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.3635, allocations: 145.8 kB / 339.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3635, allocations: 0 / 339.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001223/0.3648, allocations: 354.8 kB / 339.5 MB, free: 1.586 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.3648, allocations: 9.859 kB / 339.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.3648, allocations: 1.125 kB / 339.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.3649, allocations: 2.188 kB / 339.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06509/0.43, allocations: 1.736 MB / 341.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1138/0.5438, allocations: 12.88 MB / 354.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/0.5445, allocations: 32.39 kB / 354.1 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.5446, allocations: 16.22 kB / 354.2 MB, free: 6.172 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.000248/0.5449, allocations: 136.9 kB / 354.3 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.545, allocations: 18.67 kB / 354.3 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.5451, allocations: 37.86 kB / 354.3 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.5452, allocations: 1.375 kB / 354.4 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5452, allocations: 0 / 354.4 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5452, allocations: 5.312 kB / 354.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.5458, allocations: 286.1 kB / 354.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5458, allocations: 0 / 354.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.06541/0.6112, allocations: 1.731 MB / 356.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.6113, allocations: 0 / 356.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.286e-05/0.6114, allocations: 11.97 kB / 356.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1149/0.7262, allocations: 12.89 MB / 369.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7263, allocations: 0 / 369.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.7277, allocations: 435.1 kB / 369.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.7278, allocations: 101 kB / 369.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.291e-05/0.7279, allocations: 0 / 369.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/0.7285, allocations: 15.98 kB / 369.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/0.7289, allocations: 59.86 kB / 369.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.7289, allocations: 15.91 kB / 369.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00028/0.7292, allocations: 176.1 kB / 370.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7293, allocations: 4 kB / 370.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001105/0.7304, allocations: 120 kB / 370.2 MB, free: 5.664 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.001816/0.7322, allocations: 0.997 MB / 371.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.05591/0.7882, allocations: 1.658 MB / 372.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.7882, allocations: 0 / 372.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05525/0.8435, allocations: 1.525 MB / 374.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.844, allocations: 39.86 kB / 374.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.8484, allocations: 1.508 MB / 375.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.8489, allocations: 0.7439 MB / 376.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.8491, allocations: 43.42 kB / 376.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8491, allocations: 0 / 376.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.126/3.976, allocations: 8.18 MB / 384.9 MB, free: 6.844 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_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]