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_roundTube_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_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.328/2.328, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006068/0.000607, allocations: 8 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3546, allocations: 54.86 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.5241, allocations: 93.75 MB / 463.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/0.5246, allocations: 91.94 kB / 463.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05607/0.5806, allocations: 11.25 MB / 474.5 MB, free: 1.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5807, allocations: 0 / 474.5 MB, free: 1.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.5807, allocations: 4 kB / 474.5 MB, free: 1.438 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001163/0.5819, allocations: 0.6042 MB / 475.1 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.582, allocations: 8.031 kB / 475.1 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.5821, allocations: 74.53 kB / 475.2 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.5822, allocations: 43.52 kB / 475.2 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.5826, allocations: 242.5 kB / 475.4 MB, free: 384 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.5827, allocations: 29 kB / 475.5 MB, free: 356 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.5828, allocations: 32 kB / 475.5 MB, free: 324 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3307/0.9135, allocations: 0.5688 MB / 476.1 MB, free: 94.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.9136, allocations: 9.312 kB / 476.1 MB, free: 94.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.524e-05/0.9137, allocations: 18.02 kB / 476.1 MB, free: 94.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.9137, allocations: 11.78 kB / 476.1 MB, free: 94.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.9152, allocations: 341.4 kB / 476.4 MB, free: 94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.9192, allocations: 4.05 MB / 480.5 MB, free: 90.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008188/0.9201, allocations: 106.1 kB / 480.6 MB, free: 90.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.9202, allocations: 2.391 kB / 480.6 MB, free: 90.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.9202, allocations: 35.2 kB / 480.6 MB, free: 90.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.476e-06/0.9202, allocations: 0 / 480.6 MB, free: 90.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001163/0.9214, allocations: 179.7 kB / 480.8 MB, free: 90.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.9215, allocations: 56.42 kB / 480.9 MB, free: 90.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008011/0.9223, allocations: 358.7 kB / 481.2 MB, free: 90.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.9224, allocations: 30.61 kB / 481.2 MB, free: 90.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.9226, allocations: 296.7 kB / 481.5 MB, free: 89.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.9227, allocations: 32.06 kB / 481.6 MB, free: 89.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.9227, allocations: 4.656 kB / 481.6 MB, free: 89.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.9228, allocations: 325.1 kB / 481.9 MB, free: 89.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.9232, allocations: 59.83 kB / 481.9 MB, free: 89.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.9237, allocations: 270 kB / 482.2 MB, free: 89.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.9242, allocations: 102.1 kB / 482.3 MB, free: 89.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.9243, allocations: 2.312 kB / 482.3 MB, free: 89.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001355/0.9256, allocations: 332.3 kB / 482.6 MB, free: 89.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.9257, allocations: 8 kB / 482.6 MB, free: 89.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.9257, allocations: 12.03 kB / 482.7 MB, free: 89.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.985e-05/0.9258, allocations: 11.28 kB / 482.7 MB, free: 89.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.9268, allocations: 113.6 kB / 482.8 MB, free: 89.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009284/0.9277, allocations: 1.216 MB / 484 MB, free: 87.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/0.9285, allocations: 68.91 kB / 484.1 MB, free: 87.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.9286, allocations: 20.19 kB / 484.1 MB, free: 87.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002692/0.9289, allocations: 155.8 kB / 484.2 MB, free: 87.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.929, allocations: 36.44 kB / 484.3 MB, free: 87.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.9301, allocations: 186.5 kB / 484.4 MB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.9301, allocations: 1.156 kB / 484.4 MB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9301, allocations: 0.8438 kB / 484.4 MB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.9301, allocations: 3.688 kB / 484.5 MB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.9308, allocations: 275.3 kB / 484.7 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.9308, allocations: 7.031 kB / 484.7 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/0.9315, allocations: 57.06 kB / 484.8 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.9315, allocations: 0 / 484.8 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.9315, allocations: 2.422 kB / 484.8 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008259/0.9324, allocations: 1.206 MB / 486 MB, free: 86.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9324, allocations: 2.75 kB / 486 MB, free: 86.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/0.9332, allocations: 243.9 kB / 486.2 MB, free: 86.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.9334, allocations: 107.6 kB / 486.3 MB, free: 86.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.967e-05/0.9335, allocations: 1.281 kB / 486.3 MB, free: 86.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.9339, allocations: 13.16 kB / 486.4 MB, free: 86.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.934, allocations: 14.23 kB / 486.4 MB, free: 86.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.934, allocations: 2.875 kB / 486.4 MB, free: 86.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005743/0.9346, allocations: 275.9 kB / 486.6 MB, free: 86.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.9346, allocations: 0 / 486.6 MB, free: 86.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001339/0.936, allocations: 124.5 kB / 486.8 MB, free: 86.04 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.001905/0.9379, allocations: 0.9408 MB / 487.7 MB, free: 85.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.9393, allocations: 205 kB / 487.9 MB, free: 85.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9393, allocations: 1 kB / 487.9 MB, free: 85.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006416/0.94, allocations: 78.8 kB / 488 MB, free: 85.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.9406, allocations: 40.66 kB / 488 MB, free: 85.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007133/0.9478, allocations: 6.797 MB / 494.8 MB, free: 79.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.9482, allocations: 0.778 MB / 495.6 MB, free: 78.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.9486, allocations: 106.9 kB / 495.7 MB, free: 78.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/0.9486, allocations: 0 / 495.7 MB, free: 78.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.714/3.663, allocations: 8.428 MB / 0.4923 GB, free: 77.93 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_roundTube_KC_res.mat does not exist to compare? outputFormat=mat