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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006256/0.0006257, allocations: 8 kB / 282.7 MB, free: 9.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4342, allocations: 48.7 MB / 331.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.5947, allocations: 87.14 MB / 418.5 MB, free: 7.238 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003865/0.5951, allocations: 99.92 kB / 418.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1093/0.7045, allocations: 23.46 MB / 442.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7045, allocations: 0 / 442.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.7045, allocations: 8 kB / 442.1 MB, free: 15.48 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001645/0.7062, allocations: 0.7019 MB / 442.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.7063, allocations: 16.03 kB / 442.8 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/0.7065, allocations: 102.5 kB / 442.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.7066, allocations: 59.33 kB / 443 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.7072, allocations: 310.2 kB / 443.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.259e-05/0.7072, allocations: 41.31 kB / 443.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.7074, allocations: 52 kB / 443.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.7092, allocations: 0.7441 MB / 444.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.7092, allocations: 0 / 444.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/0.7093, allocations: 28 kB / 444.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.952e-05/0.7094, allocations: 45.28 kB / 444.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.7115, allocations: 0.7975 MB / 445 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/0.7154, allocations: 1.535 MB / 446.5 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.7168, allocations: 456.5 kB / 447 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.373e-05/0.7169, allocations: 8.219 kB / 447 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.7169, allocations: 38.73 kB / 447 MB, free: 10.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.516e-06/0.7169, allocations: 0 / 447 MB, free: 10.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.00193/0.7189, allocations: 0.553 MB / 447.6 MB, free: 9.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.7189, allocations: 55.41 kB / 447.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/0.7199, allocations: 0.5241 MB / 448.1 MB, free: 9.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.72, allocations: 33.7 kB / 448.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.7203, allocations: 313.9 kB / 448.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.7204, allocations: 110.6 kB / 448.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.7205, allocations: 8 kB / 448.6 MB, free: 8.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7207, allocations: 330.8 kB / 448.9 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006421/0.7213, allocations: 192.9 kB / 449.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.7222, allocations: 437.2 kB / 449.5 MB, free: 7.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008058/0.723, allocations: 271.7 kB / 449.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.723, allocations: 4 kB / 449.8 MB, free: 7.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00194/0.725, allocations: 0.6467 MB / 450.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.725, allocations: 8.812 kB / 450.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.7251, allocations: 15.98 kB / 450.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/0.7251, allocations: 16 kB / 450.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.727, allocations: 239.7 kB / 450.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005371/0.7324, allocations: 7.321 MB / 458 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007799/0.7333, allocations: 75.27 kB / 458.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.7334, allocations: 35.98 kB / 458.1 MB, free: 14.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (64): * Single equations (assignments): 52 * 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.0005049/0.7339, allocations: 261.5 kB / 458.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.734, allocations: 47.44 kB / 458.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.736, allocations: 0.5606 MB / 459 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.736, allocations: 4 kB / 459 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.736, allocations: 0 / 459 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.736, allocations: 7.938 kB / 459 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.7372, allocations: 425.2 kB / 459.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7373, allocations: 0 / 459.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.739, allocations: 215.7 kB / 459.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.7391, allocations: 7.984 kB / 459.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.7391, allocations: 8 kB / 459.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/0.7445, allocations: 7.302 MB / 467 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.7446, allocations: 7.938 kB / 467 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.7461, allocations: 0.4995 MB / 467.5 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.7463, allocations: 136.4 kB / 467.6 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.7465, allocations: 4 kB / 467.6 MB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.7469, allocations: 12 kB / 467.6 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.747, allocations: 27.91 kB / 467.6 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.7471, allocations: 19.98 kB / 467.7 MB, free: 4.898 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007595/0.7479, allocations: 402.8 kB / 468.1 MB, free: 4.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7479, allocations: 0 / 468.1 MB, free: 4.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001097/0.749, allocations: 191.8 kB / 468.2 MB, free: 4.32 MB / 394.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 () * Number of clocked 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.002368/0.7514, allocations: 1.213 MB / 469.5 MB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.7541, allocations: 0.5755 MB / 470 MB, free: 2.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7542, allocations: 0 / 470 MB, free: 2.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.756, allocations: 311.6 kB / 470.3 MB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008286/0.7569, allocations: 117.8 kB / 470.5 MB, free: 2.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2816/1.039, allocations: 8.877 MB / 479.3 MB, free: 111.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/1.039, allocations: 0.9064 MB / 480.2 MB, free: 111.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/1.04, allocations: 153.5 kB / 480.4 MB, free: 111.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/1.04, allocations: 0 / 480.4 MB, free: 111.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.725/4.764, allocations: 34.22 MB / 0.5026 GB, free: 93.68 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_KC_res.mat does not exist to compare? outputFormat=mat