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_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006049/0.0006052, allocations: 8 kB / 282.6 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3466, 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_turbulent_KC): time 0.002412/0.3491, allocations: 1.345 MB / 332.6 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3506, allocations: 0.6599 MB / 333.3 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3507, allocations: 1.344 kB / 333.3 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.351, allocations: 30.45 kB / 333.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.3513, allocations: 39.28 kB / 333.4 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.3516, allocations: 51.58 kB / 333.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.3519, allocations: 96.42 kB / 333.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.771e-05/0.3519, allocations: 13.58 kB / 333.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.352, allocations: 41.64 kB / 333.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3522, allocations: 52.77 kB / 333.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.3522, allocations: 8.375 kB / 333.6 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.3525, allocations: 74.39 kB / 333.7 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.3526, allocations: 43.8 kB / 333.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.3527, allocations: 45.88 kB / 333.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3529, allocations: 113.3 kB / 333.9 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.353, allocations: 0 / 333.9 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.353, allocations: 1.469 kB / 333.9 MB, free: 5.121 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.353, allocations: 0 / 333.9 MB, free: 5.121 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.0007531/0.3537, allocations: 441.7 kB / 334.3 MB, free: 4.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.3538, allocations: 9.766 kB / 334.3 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.3539, allocations: 47.34 kB / 334.4 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/0.3549, allocations: 80.03 kB / 334.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.3552, allocations: 227.7 kB / 334.7 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3553, allocations: 11.95 kB / 334.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.3553, allocations: 11.78 kB / 334.7 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008969/0.3562, allocations: 303.9 kB / 335 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3563, allocations: 0 / 335 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.3563, allocations: 9.156 kB / 335 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.365e-05/0.3564, allocations: 16.61 kB / 335 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.3574, allocations: 305.8 kB / 335.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.3597, allocations: 0.7218 MB / 336.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.3607, allocations: 289.3 kB / 336.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.3607, allocations: 6.219 kB / 336.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3608, allocations: 39.67 kB / 336.4 MB, free: 3.629 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.895e-06/0.3608, allocations: 0 / 336.4 MB, free: 3.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001381/0.3622, allocations: 362.1 kB / 336.7 MB, free: 3.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.3622, allocations: 56.78 kB / 336.8 MB, free: 3.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.3626, allocations: 226.2 kB / 337 MB, free: 3.234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3626, allocations: 26.98 kB / 337 MB, free: 3.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.3627, allocations: 177.4 kB / 337.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.3628, allocations: 46.09 kB / 337.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.3628, allocations: 4 kB / 337.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.359e-05/0.3629, allocations: 321.7 kB / 337.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.3633, allocations: 113.7 kB / 337.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.3637, allocations: 131.1 kB / 337.8 MB, free: 2.543 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.3642, allocations: 123.3 kB / 337.9 MB, free: 2.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3642, allocations: 0 / 337.9 MB, free: 2.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009897/0.3652, allocations: 297.9 kB / 338.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3652, allocations: 8.969 kB / 338.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3652, allocations: 5.062 kB / 338.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.3653, allocations: 2 kB / 338.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04959/0.4149, allocations: 0.9879 MB / 339.2 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05427/0.4692, allocations: 10.37 MB / 349.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.4698, allocations: 25.77 kB / 349.6 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.4699, allocations: 13.98 kB / 349.6 MB, free: 8.262 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.0002276/0.4701, allocations: 137.6 kB / 349.8 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.4702, allocations: 19.59 kB / 349.8 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007509/0.4777, allocations: 0.5641 MB / 350.4 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.4778, allocations: 2.156 kB / 350.4 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4778, allocations: 5.062 kB / 350.4 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4779, allocations: 0 / 350.4 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.4785, allocations: 282.8 kB / 350.6 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4785, allocations: 0 / 350.6 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003247/0.4818, allocations: 94.34 kB / 350.7 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007736/0.4896, allocations: 306.6 kB / 351 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.891e-05/0.4897, allocations: 6.484 kB / 351 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/0.5134, allocations: 12.56 MB / 363.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5135, allocations: 0 / 363.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007284/0.5208, allocations: 0.6019 MB / 364.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.521, allocations: 91.8 kB / 364.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.5211, allocations: 1.375 kB / 364.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.5215, allocations: 16.23 kB / 364.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.5217, allocations: 41.67 kB / 364.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.5218, allocations: 12.05 kB / 364.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002708/0.5221, allocations: 181.5 kB / 364.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5221, allocations: 0 / 364.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008224/0.5229, allocations: 89.12 kB / 364.6 MB, free: 9.977 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 (16): * 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: 3 * 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: 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.007642/0.5306, allocations: 1.139 MB / 365.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.04865/0.5793, allocations: 1.151 MB / 366.9 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.5793, allocations: 0 / 366.9 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005805/0.5851, allocations: 0.5722 MB / 367.5 MB, free: 7.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.5856, allocations: 35.92 kB / 367.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.5894, allocations: 1.436 MB / 369 MB, free: 6.328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.5899, allocations: 0.752 MB / 369.7 MB, free: 5.551 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.59, allocations: 43.42 kB / 369.8 MB, free: 5.508 MB / 298.7 MB Notification: Performance of SimCode: time 1.133e-06/0.59, allocations: 0 / 369.8 MB, free: 5.508 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.158/3.748, allocations: 8.663 MB / 378.4 MB, free: 12.84 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat