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.615/2.615, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.138e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4449, allocations: 54.85 MB / 364.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.6411, allocations: 93.65 MB / 458.3 MB, free: 2.707 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004673/0.6416, allocations: 91.94 kB / 458.4 MB, free: 2.617 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07813/0.7198, allocations: 11.25 MB / 469.6 MB, free: 7.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7199, allocations: 0 / 469.6 MB, free: 7.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.7199, allocations: 8 kB / 469.6 MB, free: 7.352 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.001149/0.7211, allocations: 0.5645 MB / 470.2 MB, free: 6.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.671e-05/0.7212, allocations: 19.97 kB / 470.2 MB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.7214, allocations: 74.53 kB / 470.3 MB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.7216, allocations: 35.53 kB / 470.3 MB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/0.7222, allocations: 242.5 kB / 470.6 MB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.7223, allocations: 29.44 kB / 470.6 MB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.7225, allocations: 32 kB / 470.6 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.724, allocations: 0.5542 MB / 471.2 MB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.7241, allocations: 7.938 kB / 471.2 MB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.7241, allocations: 19.95 kB / 471.2 MB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.7242, allocations: 12 kB / 471.2 MB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.7249, allocations: 305.1 kB / 471.5 MB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005397/0.7303, allocations: 4.047 MB / 475.6 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/0.7309, allocations: 86.53 kB / 475.7 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.731, allocations: 28.98 kB / 475.7 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.7311, allocations: 4 kB / 475.7 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.7311, allocations: 30.56 kB / 475.7 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.286e-06/0.7312, allocations: 0 / 475.7 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004676/0.7316, allocations: 113.3 kB / 475.8 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.7317, allocations: 59.38 kB / 475.9 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006264/0.7323, allocations: 355 kB / 476.2 MB, free: 292 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.7324, allocations: 29.7 kB / 476.3 MB, free: 256 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.7327, allocations: 281.7 kB / 476.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.7327, allocations: 35.64 kB / 476.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.7328, allocations: 4 kB / 476.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.7329, allocations: 338.5 kB / 476.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.7331, allocations: 44.64 kB / 477 MB, free: 15.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.7335, allocations: 242.4 kB / 477.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.7338, allocations: 87.89 kB / 477.3 MB, free: 15.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.7338, allocations: 8 kB / 477.3 MB, free: 15.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008065/0.7346, allocations: 297.2 kB / 477.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.7347, allocations: 8 kB / 477.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.7347, allocations: 8 kB / 477.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.417e-05/0.7347, allocations: 12 kB / 477.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008189/0.7356, allocations: 112.3 kB / 477.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.7367, allocations: 1.219 MB / 478.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.7373, allocations: 67.27 kB / 479 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.7374, allocations: 20 kB / 479 MB, free: 13.33 MB / 410.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 () * 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.0001672/0.7376, allocations: 138.6 kB / 479.2 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-05/0.7377, allocations: 31.62 kB / 479.2 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006428/0.7384, allocations: 157.1 kB / 479.3 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.7384, allocations: 0 / 479.3 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.7384, allocations: 0 / 479.3 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.7384, allocations: 0 / 479.3 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.739, allocations: 277.5 kB / 479.6 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.7391, allocations: 7.953 kB / 479.6 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.7396, allocations: 51.97 kB / 479.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.7396, allocations: 0 / 479.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.7397, allocations: 7.984 kB / 479.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.7407, allocations: 1.203 MB / 480.9 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7407, allocations: 0 / 480.9 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.7412, allocations: 211.3 kB / 481.1 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.7413, allocations: 104.6 kB / 481.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.7414, allocations: 3.984 kB / 481.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.7417, allocations: 8 kB / 481.2 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/0.7418, allocations: 19.88 kB / 481.2 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.7419, allocations: 7.938 kB / 481.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004651/0.7423, allocations: 265.2 kB / 481.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7424, allocations: 4 kB / 481.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001007/0.7434, allocations: 131.9 kB / 481.6 MB, free: 10.58 MB / 410.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 (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.001548/0.745, allocations: 0.8804 MB / 482.5 MB, free: 9.676 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008579/0.7459, allocations: 169.3 kB / 482.7 MB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7459, allocations: 0 / 482.7 MB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.7463, allocations: 60.28 kB / 482.7 MB, free: 9.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.7469, allocations: 45.97 kB / 482.8 MB, free: 9.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.7485, allocations: 408.4 kB / 483.2 MB, free: 8.969 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.749, allocations: 0.7797 MB / 483.9 MB, free: 8.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.7493, allocations: 103.4 kB / 484 MB, free: 8.059 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7493, allocations: 0 / 484 MB, free: 8.059 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.112/3.861, allocations: 8.252 MB / 492.3 MB, free: 15.81 MB / 426.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