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.HeatExchanger.kc_flatTube_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.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004359, allocations: 8 kB / 282.7 MB, free: 9.484 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3489, allocations: 48.7 MB / 331.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.4962, allocations: 81.07 MB / 412.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/0.4967, allocations: 95.94 kB / 412.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03149/0.5282, allocations: 6.781 MB / 419.3 MB, free: 6.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5282, allocations: 0 / 419.3 MB, free: 6.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.5282, allocations: 3.938 kB / 419.3 MB, free: 6.441 MB / 346.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.0007516/0.529, allocations: 490.9 kB / 419.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5291, allocations: 12.03 kB / 419.8 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.952e-05/0.5292, allocations: 58.55 kB / 419.9 MB, free: 5.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.5292, allocations: 19.72 kB / 419.9 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.5295, allocations: 218.6 kB / 420.1 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.5296, allocations: 12.44 kB / 420.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.5296, allocations: 24 kB / 420.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.5303, allocations: 231.2 kB / 420.4 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5303, allocations: 0 / 420.4 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.5303, allocations: 12 kB / 420.4 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5303, allocations: 4 kB / 420.4 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007298/0.5311, allocations: 249.6 kB / 420.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.5326, allocations: 0.6274 MB / 421.3 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.5332, allocations: 122.7 kB / 421.4 MB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.5332, allocations: 3.984 kB / 421.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.5333, allocations: 34.56 kB / 421.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.604e-06/0.5333, allocations: 0 / 421.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008822/0.5342, allocations: 189.7 kB / 421.6 MB, free: 3.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.5342, allocations: 51.41 kB / 421.7 MB, free: 3.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.5346, allocations: 242 kB / 421.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.5347, allocations: 25.7 kB / 421.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.5348, allocations: 225.8 kB / 422.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.5349, allocations: 35.55 kB / 422.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.5349, allocations: 8 kB / 422.2 MB, free: 3.391 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5351, allocations: 318.8 kB / 422.5 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.5354, allocations: 51.97 kB / 422.5 MB, free: 3.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.5357, allocations: 144.8 kB / 422.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.5361, allocations: 77.09 kB / 422.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5361, allocations: 4 kB / 422.8 MB, free: 2.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007889/0.5369, allocations: 233.6 kB / 423 MB, free: 2.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.5369, allocations: 4.625 kB / 423 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.537, allocations: 7.938 kB / 423 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.537, allocations: 4 kB / 423 MB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/0.5377, allocations: 87.88 kB / 423.1 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.5387, allocations: 1.215 MB / 424.3 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.5391, allocations: 39.67 kB / 424.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.5391, allocations: 12 kB / 424.4 MB, free: 1.105 MB / 346.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.0001971/0.5394, allocations: 133.7 kB / 424.5 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.5394, allocations: 23.91 kB / 424.5 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007877/0.5402, allocations: 183.2 kB / 424.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.5403, allocations: 3.953 kB / 424.7 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5403, allocations: 4 kB / 424.7 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5403, allocations: 3.984 kB / 424.7 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.5413, allocations: 452.1 kB / 425.1 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.5414, allocations: 4.078 kB / 425.1 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.5419, allocations: 63.84 kB / 425.2 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.5419, allocations: 7.953 kB / 425.2 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.5419, allocations: 0 / 425.2 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009832/0.5429, allocations: 1.219 MB / 426.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/0.543, allocations: 3.984 kB / 426.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.5437, allocations: 268.6 kB / 426.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.5438, allocations: 112.8 kB / 426.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.5439, allocations: 3.953 kB / 426.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.5442, allocations: 11.98 kB / 426.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.5443, allocations: 4 kB / 426.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.5443, allocations: 11.98 kB / 426.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.5446, allocations: 182 kB / 427 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5446, allocations: 0 / 427 MB, free: 14.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005686/0.5452, allocations: 67.98 kB / 427.1 MB, free: 14.2 MB / 362.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.001446/0.5466, allocations: 1.037 MB / 428.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000924/0.5476, allocations: 171.8 kB / 428.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5476, allocations: 3.938 kB / 428.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.5481, allocations: 84.88 kB / 428.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.5485, allocations: 24.88 kB / 428.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.5531, allocations: 3.511 MB / 431.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.5536, allocations: 0.7404 MB / 432.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.5537, allocations: 67.41 kB / 432.7 MB, free: 8.367 MB / 362.7 MB Notification: Performance of SimCode: time 4.288e-06/0.5538, allocations: 0 / 432.7 MB, free: 8.367 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.002/3.555, allocations: 5.331 MB / 438 MB, free: 3.043 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat