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.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,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.286/2.286, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.0005946, allocations: 8 kB / 314.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3406, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.5094, allocations: 93.19 MB / 462.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003915/0.5099, allocations: 103.9 kB / 462.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.438/0.9479, allocations: 21.21 MB / 483.9 MB, free: 93.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.948, allocations: 0 / 483.9 MB, free: 93.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.948, allocations: 3.938 kB / 483.9 MB, free: 93.35 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001596/0.9496, allocations: 0.7376 MB / 484.6 MB, free: 92.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.9497, allocations: 11.88 kB / 484.6 MB, free: 92.81 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.9498, allocations: 96.75 kB / 484.7 MB, free: 92.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.95, allocations: 47.06 kB / 484.8 MB, free: 92.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.9505, allocations: 305.8 kB / 485.1 MB, free: 92.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.9505, allocations: 33.03 kB / 485.1 MB, free: 92.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.866e-05/0.9506, allocations: 52.53 kB / 485.2 MB, free: 92.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.9523, allocations: 0.6977 MB / 485.8 MB, free: 92.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.9523, allocations: 1.062 kB / 485.8 MB, free: 92.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.9524, allocations: 23.86 kB / 485.9 MB, free: 92.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.374e-05/0.9525, allocations: 24.34 kB / 485.9 MB, free: 92.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.954, allocations: 0.5161 MB / 486.4 MB, free: 92.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.9572, allocations: 1.534 MB / 487.9 MB, free: 91.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.9583, allocations: 331.3 kB / 488.3 MB, free: 91.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/0.9584, allocations: 14.22 kB / 488.3 MB, free: 91.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.9584, allocations: 40.97 kB / 488.3 MB, free: 91.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 4.528e-06/0.9584, allocations: 3.938 kB / 488.3 MB, free: 91.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.002325/0.9608, allocations: 1.011 MB / 489.3 MB, free: 91.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.9609, allocations: 106.8 kB / 489.4 MB, free: 90.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/0.9617, allocations: 0.502 MB / 489.9 MB, free: 90.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.9618, allocations: 32.52 kB / 490 MB, free: 90.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.962, allocations: 263.4 kB / 490.2 MB, free: 90.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/0.9621, allocations: 82.73 kB / 490.3 MB, free: 90.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.9622, allocations: 7.594 kB / 490.3 MB, free: 90.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.9622, allocations: 321.9 kB / 490.6 MB, free: 90.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.9629, allocations: 165.1 kB / 490.8 MB, free: 90.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.9635, allocations: 259.2 kB / 491.1 MB, free: 90.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.9642, allocations: 201 kB / 491.2 MB, free: 90.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.9642, allocations: 3.953 kB / 491.3 MB, free: 90.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001599/0.9659, allocations: 481.2 kB / 491.7 MB, free: 89.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.9659, allocations: 6.812 kB / 491.7 MB, free: 89.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/0.966, allocations: 37.45 kB / 491.8 MB, free: 89.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.9661, allocations: 3.656 kB / 491.8 MB, free: 89.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.9664, allocations: 48.38 kB / 491.8 MB, free: 89.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.9664, allocations: 8.5 kB / 491.8 MB, free: 89.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.967, allocations: 73.77 kB / 491.9 MB, free: 89.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.9671, allocations: 20.12 kB / 491.9 MB, free: 89.91 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003644/0.9675, allocations: 214.7 kB / 492.1 MB, free: 89.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.9676, allocations: 52.02 kB / 492.2 MB, free: 89.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.9692, allocations: 487.7 kB / 492.7 MB, free: 89.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.9693, allocations: 3.656 kB / 492.7 MB, free: 89.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.9693, allocations: 3.5 kB / 492.7 MB, free: 89.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.9693, allocations: 0 / 492.7 MB, free: 89.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.9702, allocations: 405.1 kB / 493.1 MB, free: 89.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001063/0.9703, allocations: 39.5 kB / 493.1 MB, free: 89.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.9706, allocations: 35.92 kB / 493.1 MB, free: 89.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.9707, allocations: 3.906 kB / 493.1 MB, free: 89.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.9707, allocations: 13.58 kB / 493.1 MB, free: 89.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.9707, allocations: 3.906 kB / 493.2 MB, free: 89.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9707, allocations: 0 / 493.2 MB, free: 89.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.9722, allocations: 0.672 MB / 493.8 MB, free: 88.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.9724, allocations: 127.7 kB / 493.9 MB, free: 88.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.9726, allocations: 7.812 kB / 494 MB, free: 88.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.9731, allocations: 31.22 kB / 494 MB, free: 88.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.9732, allocations: 18.72 kB / 494 MB, free: 88.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.9733, allocations: 19.22 kB / 494 MB, free: 88.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006412/0.9739, allocations: 407.2 kB / 494.4 MB, free: 88.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.974, allocations: 0 / 494.4 MB, free: 88.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001157/0.9751, allocations: 189 kB / 494.6 MB, free: 88.61 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0025/0.9777, allocations: 1.541 MB / 496.1 MB, free: 87.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.9793, allocations: 0.6829 MB / 496.8 MB, free: 86.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.9793, allocations: 0 / 496.8 MB, free: 86.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007732/0.9801, allocations: 0.4901 MB / 497.3 MB, free: 86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008684/0.981, allocations: 98.97 kB / 497.4 MB, free: 85.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/0.989, allocations: 5.394 MB / 0.491 GB, free: 80.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.9895, allocations: 0.886 MB / 0.4919 GB, free: 79.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.9897, allocations: 131.4 kB / 0.492 GB, free: 79.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9897, allocations: 0 / 0.492 GB, free: 79.42 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.648/3.637, allocations: 11.43 MB / 0.5032 GB, free: 68.03 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.Channel.kc_evenGapOverall_res.mat does not exist to compare? outputFormat=mat