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.HeatExchanger.kc_flatTube_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.712/2.712, allocations: 235.1 MB / 243 MB, free: 15.67 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.353e-05, allocations: 4 kB / 303.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3929, allocations: 54.86 MB / 358.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.5507, allocations: 86.7 MB / 444.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/0.5511, allocations: 91.94 kB / 444.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02998/0.5811, allocations: 6.654 MB / 451.6 MB, free: 2.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5812, allocations: 4 kB / 451.6 MB, free: 2.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.5812, allocations: 0 / 451.6 MB, free: 2.035 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006638/0.5819, allocations: 470.3 kB / 452.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.5819, allocations: 12.03 kB / 452.1 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.582, allocations: 27.67 kB / 452.1 MB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.5823, allocations: 207.4 kB / 452.3 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.5823, allocations: 4 kB / 452.3 MB, free: 1.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.5824, allocations: 12 kB / 452.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004921/0.5829, allocations: 216.7 kB / 452.5 MB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.5833, allocations: 178.4 kB / 452.7 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5833, allocations: 4 kB / 452.7 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.5834, allocations: 0 / 452.7 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.5834, allocations: 7.953 kB / 452.7 MB, free: 0.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.5847, allocations: 0.5686 MB / 453.3 MB, free: 228 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.5852, allocations: 90.67 kB / 453.4 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.5853, allocations: 33.09 kB / 453.4 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.5853, allocations: 7.938 kB / 453.4 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.5854, allocations: 34.56 kB / 453.4 MB, free: 40 kB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.5854, allocations: 0 / 453.4 MB, free: 40 kB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003697/0.5858, allocations: 89.55 kB / 453.5 MB, free: 15.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.5858, allocations: 55.34 kB / 453.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.5861, allocations: 175 kB / 453.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.5861, allocations: 25.7 kB / 453.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.5863, allocations: 238 kB / 454 MB, free: 15.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.5863, allocations: 31.55 kB / 454 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.5864, allocations: 0 / 454 MB, free: 15.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5865, allocations: 326.8 kB / 454.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.5867, allocations: 28 kB / 454.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.5869, allocations: 130.1 kB / 454.5 MB, free: 14.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.587, allocations: 47.91 kB / 454.6 MB, free: 14.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5871, allocations: 4 kB / 454.6 MB, free: 14.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004915/0.5876, allocations: 173.2 kB / 454.7 MB, free: 14.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5876, allocations: 4 kB / 454.7 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5876, allocations: 4 kB / 454.7 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5876, allocations: 8 kB / 454.7 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.5883, allocations: 88.31 kB / 454.8 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009707/0.5893, allocations: 1.219 MB / 456.1 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.5896, allocations: 27.77 kB / 456.1 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.5897, allocations: 8.188 kB / 456.1 MB, free: 13.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.5898, allocations: 112.9 kB / 456.2 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002869/0.5901, allocations: 101.4 kB / 456.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.5902, allocations: 19.81 kB / 456.3 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.5906, allocations: 139.4 kB / 456.5 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.5906, allocations: 0 / 456.5 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.5907, allocations: 7.984 kB / 456.5 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5907, allocations: 0 / 456.5 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.5914, allocations: 384.7 kB / 456.8 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5914, allocations: 0 / 456.8 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.5919, allocations: 64.02 kB / 456.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5919, allocations: 0 / 456.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.5919, allocations: 4 kB / 456.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009507/0.5929, allocations: 1.223 MB / 458.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.5929, allocations: 3.984 kB / 458.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.5933, allocations: 232.4 kB / 458.4 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.5934, allocations: 92.86 kB / 458.4 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.5934, allocations: 4.062 kB / 458.5 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.5937, allocations: 11.98 kB / 458.5 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.5938, allocations: 7.984 kB / 458.5 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.5938, allocations: 4 kB / 458.5 MB, free: 10.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.594, allocations: 133.4 kB / 458.6 MB, free: 10.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.594, allocations: 0 / 458.6 MB, free: 10.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005524/0.5945, allocations: 67.83 kB / 458.7 MB, free: 10.49 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.5956, allocations: 1.006 MB / 459.7 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.5962, allocations: 123.9 kB / 459.8 MB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5963, allocations: 0 / 459.8 MB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.5966, allocations: 55.92 kB / 459.9 MB, free: 9.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.5969, allocations: 15.94 kB / 459.9 MB, free: 9.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009873/0.5979, allocations: 299.5 kB / 460.2 MB, free: 8.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.5983, allocations: 0.7358 MB / 460.9 MB, free: 8.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.5985, allocations: 63.42 kB / 461 MB, free: 8.086 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5985, allocations: 0 / 461 MB, free: 8.086 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.708/3.306, allocations: 4.894 MB / 465.9 MB, free: 3.195 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat