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.Channel.kc_evenGapOverall_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.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.553/2.553, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.932e-05, allocations: 4 kB / 309.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4053, allocations: 54.85 MB / 364.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/0.6222, allocations: 92.55 MB / 457.2 MB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/0.6227, allocations: 95.92 kB / 457.3 MB, free: 3.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09802/0.7207, allocations: 20.28 MB / 477.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7208, allocations: 0 / 477.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.58e-05/0.7208, allocations: 8 kB / 477.6 MB, free: 15.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001793/0.7226, allocations: 0.6701 MB / 478.2 MB, free: 14.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.7227, allocations: 11.97 kB / 478.3 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002269/0.7229, allocations: 102.5 kB / 478.4 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.7231, allocations: 55.3 kB / 478.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/0.7237, allocations: 302.9 kB / 478.7 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.7238, allocations: 37.31 kB / 478.7 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.7239, allocations: 55.92 kB / 478.8 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.7256, allocations: 0.6701 MB / 479.5 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.7257, allocations: 0 / 479.5 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.7258, allocations: 16 kB / 479.5 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.7259, allocations: 49.25 kB / 479.5 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.7277, allocations: 0.7078 MB / 480.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.7316, allocations: 1.453 MB / 481.7 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.7329, allocations: 432.5 kB / 482.1 MB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.7333, allocations: 145.2 kB / 482.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.451e-05/0.7334, allocations: 16.2 kB / 482.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.7334, allocations: 38.73 kB / 482.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.767e-06/0.7334, allocations: 0 / 482.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001217/0.7346, allocations: 370 kB / 482.7 MB, free: 9.957 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.7347, allocations: 55.41 kB / 482.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008976/0.7356, allocations: 479 kB / 483.2 MB, free: 9.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.7357, allocations: 29.7 kB / 483.2 MB, free: 9.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.7359, allocations: 282.4 kB / 483.5 MB, free: 9.105 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.7361, allocations: 106.5 kB / 483.6 MB, free: 9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.7361, allocations: 4 kB / 483.6 MB, free: 8.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.7363, allocations: 334.8 kB / 483.9 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.7367, allocations: 140.6 kB / 484.1 MB, free: 8.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.7373, allocations: 281.6 kB / 484.3 MB, free: 8.188 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.7378, allocations: 199.7 kB / 484.5 MB, free: 7.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.7379, allocations: 3.938 kB / 484.5 MB, free: 7.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001353/0.7392, allocations: 485.5 kB / 485 MB, free: 7.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.7393, allocations: 8 kB / 485 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.7393, allocations: 4 kB / 485 MB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.7394, allocations: 8 kB / 485 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.7413, allocations: 219.7 kB / 485.3 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005373/0.7467, allocations: 7.317 MB / 492.6 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006966/0.7474, allocations: 67.27 kB / 492.6 MB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.7475, allocations: 20.09 kB / 492.7 MB, free: 15.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.7477, allocations: 136.8 kB / 492.8 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.7478, allocations: 39.53 kB / 492.8 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.7508, allocations: 0.5173 MB / 493.3 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.7508, allocations: 4 kB / 493.3 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.7509, allocations: 0 / 493.3 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.7509, allocations: 7.938 kB / 493.4 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009343/0.7518, allocations: 421.1 kB / 493.8 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.7519, allocations: 4 kB / 493.8 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.7537, allocations: 199.8 kB / 494 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/0.7537, allocations: 4 kB / 494 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.7538, allocations: 11.98 kB / 494 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005427/0.7592, allocations: 7.302 MB / 0.4895 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.7593, allocations: 3.953 kB / 0.4895 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.7605, allocations: 479.7 kB / 0.49 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.7607, allocations: 124.5 kB / 0.4901 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.7608, allocations: 11.94 kB / 0.4901 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.7613, allocations: 24.08 kB / 0.4901 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.7614, allocations: 23.97 kB / 0.4902 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.7615, allocations: 15.94 kB / 0.4902 GB, free: 5.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006908/0.7622, allocations: 377.1 kB / 0.4905 GB, free: 5.547 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7622, allocations: 0 / 0.4905 GB, free: 5.547 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009056/0.7631, allocations: 179.8 kB / 0.4907 GB, free: 5.371 MB / 426.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001999/0.7651, allocations: 1.177 MB / 0.4919 GB, free: 4.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.7675, allocations: 484.5 kB / 0.4923 GB, free: 3.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7676, allocations: 4 kB / 0.4923 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.7692, allocations: 291.6 kB / 0.4926 GB, free: 3.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.7699, allocations: 80.67 kB / 0.4927 GB, free: 3.324 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.7725, allocations: 0.8763 MB / 0.4935 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.7733, allocations: 0.9013 MB / 0.4944 GB, free: 1.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.7736, allocations: 147.4 kB / 0.4946 GB, free: 1.336 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7736, allocations: 0 / 0.4946 GB, free: 1.336 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.788/4.561, allocations: 31.43 MB / 0.5253 GB, free: 1.875 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat