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/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_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.304/2.304, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006066/0.0006067, allocations: 12 kB / 314.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.387, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.5428, allocations: 87.44 MB / 456.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003812/0.5432, allocations: 95.92 kB / 456.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03081/0.5741, allocations: 6.789 MB / 463.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5741, allocations: 0 / 463.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.5741, allocations: 0 / 463.7 MB, free: 12.12 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007762/0.5749, allocations: 486.8 kB / 464.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.575, allocations: 12.03 kB / 464.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.444e-05/0.5751, allocations: 70.47 kB / 464.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.5752, allocations: 23.67 kB / 464.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.5755, allocations: 214.1 kB / 464.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.5755, allocations: 12.44 kB / 464.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.5755, allocations: 24 kB / 464.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.5762, allocations: 227.2 kB / 464.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5762, allocations: 0 / 464.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.5763, allocations: 12 kB / 464.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.5763, allocations: 8 kB / 464.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007398/0.577, allocations: 261.5 kB / 465 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.5785, allocations: 0.6235 MB / 465.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.5792, allocations: 114.6 kB / 465.8 MB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.5792, allocations: 3.938 kB / 465.8 MB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.5793, allocations: 38.56 kB / 465.8 MB, free: 9.855 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 3.557e-06/0.5793, allocations: 0 / 465.8 MB, free: 9.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008873/0.5802, allocations: 185.5 kB / 466 MB, free: 9.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.5802, allocations: 59.3 kB / 466 MB, free: 9.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.5806, allocations: 234.1 kB / 466.3 MB, free: 9.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.5806, allocations: 25.7 kB / 466.3 MB, free: 9.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.5808, allocations: 233.7 kB / 466.5 MB, free: 9.098 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.5809, allocations: 31.64 kB / 466.6 MB, free: 9.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.5809, allocations: 4 kB / 466.6 MB, free: 9.062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5811, allocations: 318.8 kB / 466.9 MB, free: 8.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.5813, allocations: 55.97 kB / 466.9 MB, free: 8.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.5817, allocations: 148.8 kB / 467.1 MB, free: 8.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.582, allocations: 77.05 kB / 467.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.582, allocations: 0 / 467.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008097/0.5829, allocations: 229.2 kB / 467.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.5829, allocations: 8.422 kB / 467.4 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5829, allocations: 8 kB / 467.4 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.5829, allocations: 4 kB / 467.4 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.5836, allocations: 87.83 kB / 467.5 MB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009204/0.5845, allocations: 1.223 MB / 468.7 MB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.5849, allocations: 35.69 kB / 468.7 MB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.585, allocations: 12 kB / 468.7 MB, free: 6.77 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 () * Number of clocked 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.0001872/0.5852, allocations: 141.7 kB / 468.9 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.5852, allocations: 19.72 kB / 468.9 MB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007441/0.586, allocations: 187.6 kB / 469.1 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.586, allocations: 0 / 469.1 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.586, allocations: 0 / 469.1 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.586, allocations: 0 / 469.1 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.5871, allocations: 467.9 kB / 469.5 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5871, allocations: 0 / 469.5 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.5876, allocations: 55.97 kB / 469.6 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5877, allocations: 4 kB / 469.6 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.5877, allocations: 7.984 kB / 469.6 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008776/0.5886, allocations: 1.215 MB / 470.8 MB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5886, allocations: 32 / 470.8 MB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.5892, allocations: 284.4 kB / 471.1 MB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.5894, allocations: 100.8 kB / 471.2 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.5894, allocations: 0 / 471.2 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.5897, allocations: 15.98 kB / 471.2 MB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.5898, allocations: 7.984 kB / 471.2 MB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.5898, allocations: 8 kB / 471.2 MB, free: 4.102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002625/0.5901, allocations: 186 kB / 471.4 MB, free: 3.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5901, allocations: 0 / 471.4 MB, free: 3.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000625/0.5907, allocations: 64 kB / 471.5 MB, free: 3.859 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 () * Number of clocked 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.001366/0.5921, allocations: 1.04 MB / 472.5 MB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009071/0.593, allocations: 164.6 kB / 472.7 MB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5931, allocations: 3.938 kB / 472.7 MB, free: 2.617 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000487/0.5936, allocations: 79.89 kB / 472.8 MB, free: 2.539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.594, allocations: 29.75 kB / 472.8 MB, free: 2.508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2944/0.8884, allocations: 3.504 MB / 476.3 MB, free: 97.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.8887, allocations: 0.7358 MB / 477 MB, free: 96.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.8889, allocations: 67.02 kB / 477.1 MB, free: 96.4 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.8889, allocations: 2.875 kB / 477.1 MB, free: 96.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.704/3.593, allocations: 5.332 MB / 482.4 MB, free: 96.23 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