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.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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.669/2.669, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.549e-05, allocations: 0 / 309.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4799, allocations: 54.86 MB / 364.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/0.6883, allocations: 89.36 MB / 454 MB, free: 7.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003812/0.6888, allocations: 95.94 kB / 454.1 MB, free: 7.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03659/0.7254, allocations: 7.821 MB / 461.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7254, allocations: 0 / 461.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.7254, allocations: 4 kB / 461.9 MB, free: 15.19 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008059/0.7263, allocations: 473.9 kB / 462.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.7263, allocations: 15.97 kB / 462.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.265e-05/0.7264, allocations: 54.48 kB / 462.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.7265, allocations: 23.72 kB / 462.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.7268, allocations: 211.4 kB / 462.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.7268, allocations: 16 kB / 462.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.7269, allocations: 12 kB / 462.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.7273, allocations: 190.8 kB / 462.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.7274, allocations: 0 / 462.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.7274, allocations: 7.953 kB / 462.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.7274, allocations: 4 kB / 462.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.7277, allocations: 124.3 kB / 463 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.729, allocations: 0.5754 MB / 463.6 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.7292, allocations: 55.91 kB / 463.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.7293, allocations: 20.92 kB / 463.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.7294, allocations: 0 / 463.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.7294, allocations: 30.56 kB / 463.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.983e-06/0.7294, allocations: 0 / 463.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003219/0.7298, allocations: 85.41 kB / 463.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.7298, allocations: 67.28 kB / 463.9 MB, free: 13.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.7302, allocations: 231 kB / 464.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.7302, allocations: 29.7 kB / 464.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.7304, allocations: 214.1 kB / 464.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.7304, allocations: 19.75 kB / 464.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.7305, allocations: 0 / 464.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7306, allocations: 322.8 kB / 464.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-05/0.7307, allocations: 20 kB / 464.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.7309, allocations: 116.9 kB / 464.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.7311, allocations: 45.33 kB / 464.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7311, allocations: 4 kB / 464.8 MB, free: 12 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004315/0.7315, allocations: 161.2 kB / 465 MB, free: 11.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.7316, allocations: 8 kB / 465 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.791e-05/0.7316, allocations: 12.44 kB / 465 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.7317, allocations: 7.953 kB / 465 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.7319, allocations: 35.92 kB / 465.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.732, allocations: 7.984 kB / 465.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.7322, allocations: 35.69 kB / 465.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.7323, allocations: 8 kB / 465.1 MB, free: 11.73 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.7324, allocations: 116.9 kB / 465.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.7324, allocations: 19.72 kB / 465.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/0.7329, allocations: 126.7 kB / 465.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.7329, allocations: 3.953 kB / 465.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7329, allocations: 0 / 465.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.733, allocations: 8 kB / 465.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.7334, allocations: 213.6 kB / 465.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.531e-05/0.7335, allocations: 16 kB / 465.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.7336, allocations: 7.984 kB / 465.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.7336, allocations: 0 / 465.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.7336, allocations: 4 kB / 465.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7336, allocations: 0 / 465.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7336, allocations: 3.953 kB / 465.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.734, allocations: 187.2 kB / 465.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/0.7341, allocations: 88.92 kB / 465.9 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.7341, allocations: 4 kB / 465.9 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.7343, allocations: 11.92 kB / 465.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.7344, allocations: 7.938 kB / 465.9 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.7344, allocations: 7.953 kB / 465.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002694/0.7347, allocations: 179.1 kB / 466.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7347, allocations: 0 / 466.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006187/0.7354, allocations: 87.84 kB / 466.2 MB, free: 10.56 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.7365, allocations: 0.814 MB / 467 MB, free: 9.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005303/0.737, allocations: 151.3 kB / 467.1 MB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.737, allocations: 0 / 467.1 MB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.7373, allocations: 92.06 kB / 467.2 MB, free: 9.465 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.7377, allocations: 24.75 kB / 467.3 MB, free: 9.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.7388, allocations: 294.7 kB / 467.5 MB, free: 9.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.7393, allocations: 0.7479 MB / 468.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.7394, allocations: 59.42 kB / 468.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.7395, allocations: 0 / 468.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.016/3.756, allocations: 5.336 MB / 473.7 MB, free: 2.934 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_res.mat does not exist to compare? outputFormat=mat