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.724/2.724, allocations: 235 MB / 248 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.855e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4822, allocations: 54.85 MB / 364.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.6519, allocations: 93.11 MB / 457.7 MB, free: 3.336 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004247/0.6523, allocations: 91.92 kB / 457.8 MB, free: 3.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09614/0.7485, allocations: 21.24 MB / 479.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.7486, allocations: 0 / 479.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.7486, allocations: 8 kB / 479.1 MB, free: 13.82 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001662/0.7503, allocations: 0.7127 MB / 479.8 MB, free: 13.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.7504, allocations: 15.97 kB / 479.8 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.7506, allocations: 94.52 kB / 479.9 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.7507, allocations: 51.34 kB / 480 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.7513, allocations: 295.7 kB / 480.2 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.7514, allocations: 41 kB / 480.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.7515, allocations: 48 kB / 480.3 MB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.7532, allocations: 0.6572 MB / 481 MB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.7533, allocations: 7.891 kB / 481 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.7533, allocations: 23.92 kB / 481 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.307e-05/0.7534, allocations: 28.98 kB / 481 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.7546, allocations: 436 kB / 481.5 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/0.7583, allocations: 1.543 MB / 483 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008145/0.7592, allocations: 291.8 kB / 483.3 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.7596, allocations: 125.9 kB / 483.4 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/0.7597, allocations: 11.94 kB / 483.4 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.7598, allocations: 42.56 kB / 483.5 MB, free: 9.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.476e-06/0.7598, allocations: 0 / 483.5 MB, free: 9.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001203/0.761, allocations: 325.9 kB / 483.8 MB, free: 8.879 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.7611, allocations: 106.8 kB / 483.9 MB, free: 8.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.7621, allocations: 0.4997 MB / 484.4 MB, free: 8.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.7622, allocations: 25.7 kB / 484.4 MB, free: 8.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.7624, allocations: 270.9 kB / 484.7 MB, free: 7.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.7626, allocations: 78.84 kB / 484.8 MB, free: 7.871 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.7626, allocations: 12 kB / 484.8 MB, free: 7.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.7628, allocations: 326.8 kB / 485.1 MB, free: 7.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.7632, allocations: 115.9 kB / 485.2 MB, free: 7.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.7637, allocations: 216.8 kB / 485.4 MB, free: 7.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000525/0.7643, allocations: 156.5 kB / 485.6 MB, free: 7.008 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.7643, allocations: 0 / 485.6 MB, free: 7.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001224/0.7655, allocations: 397.6 kB / 486 MB, free: 6.613 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.7656, allocations: 4 kB / 486 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/0.7657, allocations: 43.97 kB / 486 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.7658, allocations: 7.984 kB / 486 MB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.7662, allocations: 39.91 kB / 486.1 MB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.7662, allocations: 8.312 kB / 486.1 MB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.7668, allocations: 75.34 kB / 486.1 MB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.7669, allocations: 16 kB / 486.2 MB, free: 6.422 MB / 410.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 () * 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.0001843/0.7671, allocations: 128.9 kB / 486.3 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.7672, allocations: 43.44 kB / 486.3 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.7688, allocations: 466.8 kB / 486.8 MB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.7688, allocations: 4 kB / 486.8 MB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7689, allocations: 0 / 486.8 MB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.7689, allocations: 3.984 kB / 486.8 MB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.7699, allocations: 405.2 kB / 487.2 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001239/0.7701, allocations: 39.95 kB / 487.2 MB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.7704, allocations: 35.97 kB / 487.3 MB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-06/0.7704, allocations: 0 / 487.3 MB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.7705, allocations: 12 kB / 487.3 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.7705, allocations: 0 / 487.3 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.7705, allocations: 4 kB / 487.3 MB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.7717, allocations: 0.5916 MB / 487.9 MB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.772, allocations: 128.5 kB / 488 MB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.7721, allocations: 4 kB / 488 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/0.7727, allocations: 23.97 kB / 488 MB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.7728, allocations: 31.97 kB / 488 MB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.7729, allocations: 12 kB / 488.1 MB, free: 4.402 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000772/0.7737, allocations: 405.5 kB / 488.5 MB, free: 4.008 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.595e-06/0.7737, allocations: 0 / 488.5 MB, free: 4.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00112/0.7748, allocations: 183.8 kB / 488.6 MB, free: 3.828 MB / 410.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 () * 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.002378/0.7773, allocations: 1.469 MB / 490.1 MB, free: 2.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.7786, allocations: 0.5993 MB / 490.7 MB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7786, allocations: 4 kB / 490.7 MB, free: 1.648 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006745/0.7793, allocations: 460.3 kB / 491.2 MB, free: 1.125 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.7802, allocations: 97.91 kB / 491.2 MB, free: 1.027 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.7834, allocations: 0.8734 MB / 492.1 MB, free: 108 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.7841, allocations: 0.8821 MB / 493 MB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.7845, allocations: 135.4 kB / 493.1 MB, free: 15.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/0.7845, allocations: 0 / 493.1 MB, free: 15.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.978/3.762, allocations: 11.17 MB / 0.4925 GB, free: 3.895 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.Channel.kc_evenGapOverall_res.mat does not exist to compare? outputFormat=mat