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.StraightPipe.kc_overall.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.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.319e-05, allocations: 4 kB / 309.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3911, allocations: 54.85 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.5832, allocations: 94.11 MB / 458.8 MB, free: 2.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/0.5836, allocations: 95.94 kB / 458.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1118/0.6954, allocations: 24.07 MB / 482.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6955, allocations: 0 / 482.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.384e-05/0.6955, allocations: 8 kB / 482.9 MB, free: 10.01 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001719/0.6973, allocations: 0.7363 MB / 483.7 MB, free: 9.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.6973, allocations: 11.97 kB / 483.7 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001917/0.6975, allocations: 102.5 kB / 483.8 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.6977, allocations: 55.34 kB / 483.8 MB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/0.6983, allocations: 307.6 kB / 484.1 MB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.6984, allocations: 45.3 kB / 484.2 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.6985, allocations: 52 kB / 484.2 MB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.7002, allocations: 0.7307 MB / 485 MB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.7003, allocations: 3.938 kB / 485 MB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/0.7004, allocations: 24 kB / 485 MB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-05/0.7005, allocations: 33.23 kB / 485 MB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.7017, allocations: 493 kB / 485.5 MB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.7057, allocations: 1.7 MB / 487.2 MB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/0.7065, allocations: 279.5 kB / 487.5 MB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.7069, allocations: 121.7 kB / 487.6 MB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.879e-05/0.707, allocations: 11.94 kB / 487.6 MB, free: 5.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.7071, allocations: 46.5 kB / 487.6 MB, free: 5.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.727e-06/0.7071, allocations: 0 / 487.6 MB, free: 5.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001171/0.7082, allocations: 312.9 kB / 488 MB, free: 4.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.7083, allocations: 106.8 kB / 488.1 MB, free: 4.621 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.7095, allocations: 0.5708 MB / 488.6 MB, free: 4.043 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.7096, allocations: 29.64 kB / 488.7 MB, free: 4.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.7099, allocations: 317.8 kB / 489 MB, free: 3.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.71, allocations: 82.92 kB / 489 MB, free: 3.613 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.71, allocations: 12.06 kB / 489.1 MB, free: 3.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.7103, allocations: 334.8 kB / 489.4 MB, free: 3.266 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.7108, allocations: 153 kB / 489.5 MB, free: 3.117 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000754/0.7115, allocations: 429.3 kB / 490 MB, free: 2.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/0.7122, allocations: 240.8 kB / 490.2 MB, free: 2.332 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.7122, allocations: 0 / 490.2 MB, free: 2.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001718/0.714, allocations: 0.6048 MB / 490.8 MB, free: 1.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.714, allocations: 8 kB / 490.8 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/0.7142, allocations: 48.06 kB / 490.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-05/0.7142, allocations: 16 kB / 490.9 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.7148, allocations: 75.83 kB / 490.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/0.7149, allocations: 19.92 kB / 491 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/0.7157, allocations: 95.25 kB / 491 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/0.7158, allocations: 32 kB / 491.1 MB, free: 1.434 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0002222/0.716, allocations: 155.8 kB / 491.2 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.7162, allocations: 55.3 kB / 491.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.7177, allocations: 453.2 kB / 491.7 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.7177, allocations: 7.984 kB / 491.7 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.7178, allocations: 4 kB / 491.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.7178, allocations: 3.984 kB / 491.7 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.7188, allocations: 405.2 kB / 492.1 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001275/0.719, allocations: 39.97 kB / 492.2 MB, free: 272 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.7193, allocations: 35.97 kB / 492.2 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.7193, allocations: 7.953 kB / 492.2 MB, free: 228 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.7194, allocations: 11.98 kB / 492.2 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7194, allocations: 3.938 kB / 492.2 MB, free: 212 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7194, allocations: 0 / 492.2 MB, free: 212 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.7206, allocations: 0.5833 MB / 492.8 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.7208, allocations: 128.4 kB / 492.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.721, allocations: 8 kB / 493 MB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.7222, allocations: 39.92 kB / 493 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.7224, allocations: 19.98 kB / 493 MB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/0.7225, allocations: 15.98 kB / 493 MB, free: 15.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.7236, allocations: 445.4 kB / 493.5 MB, free: 14.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.7236, allocations: 0 / 493.5 MB, free: 14.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001293/0.7249, allocations: 199.9 kB / 493.7 MB, free: 14.74 MB / 426.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.00232/0.7272, allocations: 1.436 MB / 495.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.7287, allocations: 0.6845 MB / 495.8 MB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7288, allocations: 4 kB / 495.8 MB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.7294, allocations: 458.1 kB / 496.2 MB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009762/0.7304, allocations: 119.4 kB / 496.3 MB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.734, allocations: 0.9426 MB / 497.3 MB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/0.7348, allocations: 0.8935 MB / 498.2 MB, free: 9.965 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.7351, allocations: 151.4 kB / 498.3 MB, free: 9.816 MB / 426.7 MB Notification: Performance of SimCode: time 1.113e-06/0.7352, allocations: 0 / 498.3 MB, free: 9.816 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.825/3.561, allocations: 12.49 MB / 0.4988 GB, free: 13.34 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat