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_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.236/2.236, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006743/0.0006745, allocations: 12 kB / 314.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.33, allocations: 54.87 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002363/0.3325, allocations: 1.349 MB / 370.6 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3339, allocations: 0.6678 MB / 371.3 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.334, allocations: 4 kB / 371.3 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.3343, allocations: 23.89 kB / 371.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.3345, allocations: 47.84 kB / 371.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3348, allocations: 55.81 kB / 371.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.335, allocations: 87.8 kB / 371.5 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.3351, allocations: 13.41 kB / 371.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.3352, allocations: 39.84 kB / 371.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3353, allocations: 55.81 kB / 371.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.3353, allocations: 4 kB / 371.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.3356, allocations: 67.88 kB / 371.7 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.3357, allocations: 43.89 kB / 371.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.3357, allocations: 49.64 kB / 371.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.336, allocations: 112.7 kB / 371.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.336, allocations: 0 / 371.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.336, allocations: 0 / 371.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.336, allocations: 0 / 371.9 MB, free: 8.203 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.0007989/0.3368, allocations: 446.7 kB / 372.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3369, allocations: 8.031 kB / 372.4 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.977e-05/0.337, allocations: 58.48 kB / 372.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/0.3379, allocations: 79.64 kB / 372.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.3383, allocations: 222.8 kB / 372.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3383, allocations: 7.938 kB / 372.7 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.3384, allocations: 12 kB / 372.7 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.3392, allocations: 303.7 kB / 373 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3392, allocations: 4 kB / 373 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.3392, allocations: 7.953 kB / 373 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.3393, allocations: 19.98 kB / 373.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009766/0.3403, allocations: 303.6 kB / 373.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.3424, allocations: 0.7198 MB / 374.1 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.3433, allocations: 286.2 kB / 374.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.3434, allocations: 3.938 kB / 374.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.3434, allocations: 38.45 kB / 374.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.3434, allocations: 0 / 374.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001364/0.3448, allocations: 373.2 kB / 374.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3449, allocations: 51.41 kB / 374.8 MB, free: 5.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.3452, allocations: 222.3 kB / 375 MB, free: 4.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.3453, allocations: 33.7 kB / 375.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3454, allocations: 182.3 kB / 375.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.3454, allocations: 43.34 kB / 375.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.3455, allocations: 4 kB / 375.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3456, allocations: 322.8 kB / 375.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.346, allocations: 99.89 kB / 375.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.3464, allocations: 144.9 kB / 375.8 MB, free: 4.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.3469, allocations: 111.9 kB / 375.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3469, allocations: 0 / 375.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009876/0.3479, allocations: 289.5 kB / 376.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3479, allocations: 9.969 kB / 376.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3479, allocations: 3.953 kB / 376.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.348, allocations: 7.984 kB / 376.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0433/0.3913, allocations: 0.9007 MB / 377.1 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04053/0.4319, allocations: 10.1 MB / 387.2 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.4324, allocations: 23.78 kB / 387.3 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.4325, allocations: 11.97 kB / 387.3 MB, free: 7.777 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.0001976/0.4327, allocations: 150 kB / 387.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.4328, allocations: 15.81 kB / 387.4 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.4465, allocations: 0.6336 MB / 388.1 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.4466, allocations: 0 / 388.1 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4466, allocations: 4 kB / 388.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4466, allocations: 0 / 388.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.4471, allocations: 269.5 kB / 388.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4471, allocations: 4 kB / 388.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.4476, allocations: 35.97 kB / 388.4 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/0.4631, allocations: 417.9 kB / 388.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.4632, allocations: 11.98 kB / 388.8 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02836/0.4915, allocations: 9.675 MB / 398.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4916, allocations: 0 / 398.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/0.5053, allocations: 0.6783 MB / 399.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.5054, allocations: 96.86 kB / 399.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.5055, allocations: 0 / 399.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.506, allocations: 15.98 kB / 399.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.5063, allocations: 51.8 kB / 399.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.5063, allocations: 15.97 kB / 399.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.5066, allocations: 159.2 kB / 399.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5066, allocations: 3.938 kB / 399.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007709/0.5074, allocations: 95.91 kB / 399.6 MB, free: 10.53 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): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01405/0.5214, allocations: 1.224 MB / 400.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.04177/0.5632, allocations: 1.053 MB / 401.9 MB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5633, allocations: 4 kB / 401.9 MB, free: 8.207 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003422/0.5667, allocations: 0.5271 MB / 402.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.5671, allocations: 36.55 kB / 402.4 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006933/0.5741, allocations: 1.613 MB / 404 MB, free: 5.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.5745, allocations: 0.7479 MB / 404.8 MB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.5747, allocations: 43.42 kB / 404.8 MB, free: 5.109 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5747, allocations: 0 / 404.8 MB, free: 5.109 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.793/3.368, allocations: 7.892 MB / 412.7 MB, free: 13.21 MB / 346.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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]