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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006105/0.0006105, allocations: 8 kB / 314.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3388, allocations: 54.86 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5028, allocations: 93.55 MB / 462.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/0.5033, allocations: 95.92 kB / 463 MB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3961/0.8994, allocations: 23.47 MB / 486.5 MB, free: 95.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.8994, allocations: 3.938 kB / 486.5 MB, free: 95.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.8995, allocations: 3.719 kB / 486.5 MB, free: 95.65 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001436/0.9009, allocations: 0.7097 MB / 487.2 MB, free: 95.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.901, allocations: 11.31 kB / 487.2 MB, free: 95.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.9011, allocations: 115.9 kB / 487.3 MB, free: 95.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.9013, allocations: 56.2 kB / 487.4 MB, free: 94.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.9017, allocations: 300.8 kB / 487.7 MB, free: 94.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.9018, allocations: 48.66 kB / 487.7 MB, free: 94.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.724e-05/0.9019, allocations: 54.47 kB / 487.8 MB, free: 94.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.9034, allocations: 0.7349 MB / 488.5 MB, free: 94.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.9035, allocations: 0 / 488.5 MB, free: 94.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.9036, allocations: 31.84 kB / 488.5 MB, free: 94.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.169e-05/0.9036, allocations: 45.16 kB / 488.6 MB, free: 94.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.9054, allocations: 0.8069 MB / 489.4 MB, free: 94.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.9085, allocations: 1.536 MB / 490.9 MB, free: 93.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.9096, allocations: 450.1 kB / 491.4 MB, free: 93.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.9097, allocations: 15.5 kB / 491.4 MB, free: 93.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.9097, allocations: 41.27 kB / 491.4 MB, free: 93.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.507e-06/0.9097, allocations: 0 / 491.4 MB, free: 93.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001675/0.9114, allocations: 0.5475 MB / 492 MB, free: 93.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.9115, allocations: 55.19 kB / 492 MB, free: 93.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007479/0.9122, allocations: 0.5191 MB / 492.6 MB, free: 92.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.9123, allocations: 33.7 kB / 492.6 MB, free: 92.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.9125, allocations: 309.2 kB / 492.9 MB, free: 92.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.553e-05/0.9126, allocations: 102.3 kB / 493 MB, free: 92.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.9126, allocations: 13.22 kB / 493 MB, free: 92.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.9127, allocations: 326.8 kB / 493.3 MB, free: 91.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/0.9132, allocations: 196.9 kB / 493.5 MB, free: 91.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.9139, allocations: 436 kB / 493.9 MB, free: 91.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.9146, allocations: 271.9 kB / 494.2 MB, free: 90.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.9146, allocations: 4 kB / 494.2 MB, free: 90.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001598/0.9162, allocations: 0.651 MB / 494.9 MB, free: 90.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.9162, allocations: 11.95 kB / 494.9 MB, free: 90.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.9163, allocations: 15.98 kB / 494.9 MB, free: 90.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.9163, allocations: 12 kB / 494.9 MB, free: 90.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.9181, allocations: 243.6 kB / 495.1 MB, free: 90.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.9215, allocations: 7.31 MB / 0.4907 GB, free: 82.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/0.9223, allocations: 79.2 kB / 0.4907 GB, free: 82.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.9224, allocations: 36.23 kB / 0.4908 GB, free: 82.34 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.0004428/0.9228, allocations: 266.1 kB / 0.491 GB, free: 82.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.923, allocations: 55.3 kB / 0.4911 GB, free: 82.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.9247, allocations: 0.558 MB / 0.4916 GB, free: 81.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.9247, allocations: 0 / 0.4916 GB, free: 81.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.9248, allocations: 0 / 0.4916 GB, free: 81.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.9248, allocations: 11.98 kB / 0.4916 GB, free: 81.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007857/0.9256, allocations: 425.2 kB / 0.492 GB, free: 80.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.9256, allocations: 3.938 kB / 0.4921 GB, free: 80.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.9273, allocations: 211.8 kB / 0.4923 GB, free: 80.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.9273, allocations: 3.953 kB / 0.4923 GB, free: 80.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.9274, allocations: 15.98 kB / 0.4923 GB, free: 80.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.9306, allocations: 7.294 MB / 0.4994 GB, free: 73.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9307, allocations: 0 / 0.4994 GB, free: 73.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.9319, allocations: 0.5078 MB / 0.4999 GB, free: 72.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.9321, allocations: 131.2 kB / 0.5 GB, free: 72.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.9322, allocations: 4 kB / 0.5 GB, free: 72.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.9326, allocations: 12 kB / 0.5 GB, free: 72.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.9328, allocations: 27.95 kB / 0.5001 GB, free: 72.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.9328, allocations: 23.92 kB / 0.5001 GB, free: 72.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005906/0.9334, allocations: 402.8 kB / 0.5005 GB, free: 72.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9334, allocations: 0 / 0.5005 GB, free: 72.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001014/0.9345, allocations: 195.7 kB / 0.5007 GB, free: 71.86 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.001884/0.9364, allocations: 1.222 MB / 0.5018 GB, free: 70.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.9388, allocations: 0.5677 MB / 0.5024 GB, free: 70.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9389, allocations: 4 kB / 0.5024 GB, free: 70.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.9405, allocations: 311.6 kB / 0.5027 GB, free: 69.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.9413, allocations: 110.8 kB / 0.5028 GB, free: 69.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007427/0.9488, allocations: 8.89 MB / 0.5115 GB, free: 60.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.9493, allocations: 0.9131 MB / 0.5124 GB, free: 59.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.9496, allocations: 151.4 kB / 0.5125 GB, free: 59.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.9496, allocations: 0 / 0.5125 GB, free: 59.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.336/4.286, allocations: 34.22 MB / 0.5459 GB, free: 25.24 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.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat