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.052/2.052, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006113/0.0006115, allocations: 12 kB / 282.7 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1054, allocations: 48.71 MB / 331.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.5173, allocations: 77.54 MB / 408.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/0.5177, allocations: 91.94 kB / 409 MB, free: 7.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02828/0.546, allocations: 5.739 MB / 414.8 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.5461, allocations: 0 / 414.8 MB, free: 1.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.5461, allocations: 4 kB / 414.8 MB, free: 1.668 MB / 330.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.0008429/0.5469, allocations: 434.8 kB / 415.2 MB, free: 1.195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.547, allocations: 8.031 kB / 415.2 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.961e-05/0.5471, allocations: 50.55 kB / 415.3 MB, free: 1.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.5484, allocations: 99.69 kB / 415.4 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.5488, allocations: 234.7 kB / 415.6 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.5489, allocations: 7.938 kB / 415.6 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.5489, allocations: 12 kB / 415.6 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/0.5498, allocations: 299.9 kB / 415.9 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5499, allocations: 0 / 415.9 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.5499, allocations: 4 kB / 415.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.55, allocations: 23.97 kB / 415.9 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.551, allocations: 311.6 kB / 416.2 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.5535, allocations: 0.7354 MB / 417 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009004/0.5545, allocations: 290.8 kB / 417.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.5546, allocations: 4.031 kB / 417.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.5546, allocations: 34.56 kB / 417.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.926e-06/0.5546, allocations: 4 kB / 417.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001398/0.556, allocations: 361.1 kB / 417.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.5561, allocations: 59.34 kB / 417.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.5564, allocations: 201.6 kB / 417.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.5565, allocations: 33.7 kB / 417.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.5566, allocations: 170.5 kB / 418.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.5567, allocations: 51.28 kB / 418.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.5568, allocations: 0 / 418.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5569, allocations: 326.8 kB / 418.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.5573, allocations: 99.88 kB / 418.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.5578, allocations: 135.3 kB / 418.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.5582, allocations: 124.1 kB / 418.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5583, allocations: 4 kB / 418.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001032/0.5593, allocations: 301.2 kB / 419.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5593, allocations: 4 kB / 419.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5594, allocations: 0 / 419.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.5594, allocations: 8.203 kB / 419.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04602/0.6054, allocations: 1.064 MB / 420.2 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06283/0.6683, allocations: 10.63 MB / 430.8 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/0.6691, allocations: 27.8 kB / 430.8 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/0.6692, allocations: 15.97 kB / 430.9 MB, free: 0.5273 MB / 346.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.0002382/0.6694, allocations: 137.8 kB / 431 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/0.6695, allocations: 11.81 kB / 431 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008296/0.6778, allocations: 0.6026 MB / 431.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.6779, allocations: 8.031 kB / 431.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6779, allocations: 0 / 431.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.678, allocations: 3.984 kB / 431.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.6786, allocations: 273.4 kB / 431.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.6786, allocations: 0 / 431.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003556/0.6822, allocations: 119.7 kB / 432 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008581/0.6908, allocations: 338 kB / 432.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.6909, allocations: 19.97 kB / 432.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02546/0.7164, allocations: 12.6 MB / 445 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7164, allocations: 0 / 445 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008028/0.7245, allocations: 0.6368 MB / 445.6 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.7247, allocations: 92.86 kB / 445.7 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.7247, allocations: 4 kB / 445.7 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.7252, allocations: 15.98 kB / 445.7 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/0.7255, allocations: 39.91 kB / 445.7 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.7255, allocations: 11.98 kB / 445.7 MB, free: 336 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002623/0.7258, allocations: 176.2 kB / 445.9 MB, free: 160 kB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7258, allocations: 0 / 445.9 MB, free: 160 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008948/0.7267, allocations: 92 kB / 446 MB, free: 68 kB / 362.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.008494/0.7353, allocations: 1.183 MB / 447.2 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.03554/0.7709, allocations: 0.9035 MB / 448.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.7709, allocations: 4 kB / 448.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006056/0.777, allocations: 0.5783 MB / 448.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.7775, allocations: 24.17 kB / 448.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.7814, allocations: 1.967 MB / 450.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.7819, allocations: 0.7442 MB / 451.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.7821, allocations: 51.42 kB / 451.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.7821, allocations: 0 / 451.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.528/4.31, allocations: 8.782 MB / 460.2 MB, free: 1.648 MB / 378.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