Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.977/1.977, allocations: 209.2 MB / 224.8 MB, free: 456 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000677/0.000677, allocations: 15.98 kB / 282.7 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3367, allocations: 48.7 MB / 331.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.4921, allocations: 87.83 MB / 419.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004099/0.4926, allocations: 103.9 kB / 419.3 MB, free: 6.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2024/0.695, allocations: 24.03 MB / 443.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.6951, allocations: 3.938 kB / 443.4 MB, free: 14.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.159e-05/0.6952, allocations: 12 kB / 443.4 MB, free: 14.2 MB / 378.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.002663/0.6979, allocations: 0.7603 MB / 444.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.135e-05/0.698, allocations: 12.03 kB / 444.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002894/0.6983, allocations: 106.5 kB / 444.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.6985, allocations: 59.34 kB / 444.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.6994, allocations: 310.2 kB / 444.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.6995, allocations: 37.31 kB / 444.6 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.6997, allocations: 52 kB / 444.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.7029, allocations: 0.7735 MB / 445.5 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.703, allocations: 0 / 445.5 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.7031, allocations: 28 kB / 445.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-05/0.7032, allocations: 25.3 kB / 445.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/0.7063, allocations: 0.5749 MB / 446.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006154/0.7125, allocations: 1.708 MB / 447.8 MB, free: 9.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.7141, allocations: 315.5 kB / 448.1 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.635e-05/0.7143, allocations: 11.97 kB / 448.1 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.7144, allocations: 38.56 kB / 448.2 MB, free: 9.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 6.022e-06/0.7144, allocations: 0 / 448.2 MB, free: 9.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.003715/0.7181, allocations: 0.7618 MB / 448.9 MB, free: 8.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.7183, allocations: 114.7 kB / 449 MB, free: 8.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.7201, allocations: 0.5759 MB / 449.6 MB, free: 7.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.7202, allocations: 33.77 kB / 449.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.7206, allocations: 326.1 kB / 450 MB, free: 7.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.7208, allocations: 71 kB / 450 MB, free: 7.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.7209, allocations: 8 kB / 450 MB, free: 7.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.7211, allocations: 330.8 kB / 450.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.7224, allocations: 204.9 kB / 450.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.724, allocations: 473.4 kB / 451 MB, free: 6.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.7256, allocations: 275.7 kB / 451.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.7257, allocations: 0 / 451.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002731/0.7284, allocations: 0.6809 MB / 452 MB, free: 5.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.7285, allocations: 12 kB / 452 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/0.7287, allocations: 43.97 kB / 452 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/0.7287, allocations: 16 kB / 452 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.7293, allocations: 79.81 kB / 452.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.7293, allocations: 20.06 kB / 452.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/0.7301, allocations: 95.14 kB / 452.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/0.7302, allocations: 32 kB / 452.3 MB, free: 4.84 MB / 378.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 () * Number of clocked 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.0005371/0.7308, allocations: 253.5 kB / 452.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.731, allocations: 51.34 kB / 452.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.7328, allocations: 0.493 MB / 453.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.7328, allocations: 4 kB / 453.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7328, allocations: 0 / 453.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.7328, allocations: 0 / 453.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.7339, allocations: 413.2 kB / 453.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001259/0.734, allocations: 35.97 kB / 453.5 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.7343, allocations: 35.97 kB / 453.5 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.7343, allocations: 0 / 453.5 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.7344, allocations: 11.98 kB / 453.5 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.7344, allocations: 7.938 kB / 453.5 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7344, allocations: 3.938 kB / 453.6 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.7362, allocations: 0.665 MB / 454.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.7366, allocations: 180.4 kB / 454.4 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7367, allocations: 4 kB / 454.4 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.7373, allocations: 27.97 kB / 454.4 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.7374, allocations: 23.97 kB / 454.4 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.7375, allocations: 16 kB / 454.5 MB, free: 2.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008491/0.7384, allocations: 446.7 kB / 454.9 MB, free: 2.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7384, allocations: 0 / 454.9 MB, free: 2.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00128/0.7397, allocations: 203.7 kB / 455.1 MB, free: 1.883 MB / 378.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.002901/0.7426, allocations: 1.531 MB / 456.6 MB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.7447, allocations: 0.7737 MB / 457.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7448, allocations: 0 / 457.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00094/0.7457, allocations: 492.3 kB / 457.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.7468, allocations: 122.2 kB / 458 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.759, allocations: 9.773 MB / 467.8 MB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.7602, allocations: 0.8974 MB / 468.7 MB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007071/0.761, allocations: 151.4 kB / 468.8 MB, free: 3.703 MB / 394.7 MB Notification: Performance of SimCode: time 1.724e-06/0.761, allocations: 0 / 468.8 MB, free: 3.703 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.113/3.874, allocations: 12.73 MB / 481.6 MB, free: 113.1 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat