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_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.283/2.283, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000633/0.0006331, allocations: 8 kB / 282.7 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3836, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.5426, allocations: 79.32 MB / 410.7 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/0.543, allocations: 99.94 kB / 410.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05875/0.6018, allocations: 11.83 MB / 422.6 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.6019, allocations: 0 / 422.6 MB, free: 2.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.6019, allocations: 4 kB / 422.6 MB, free: 2.922 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001117/0.603, allocations: 0.5187 MB / 423.2 MB, free: 2.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.6031, allocations: 8.031 kB / 423.2 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.6032, allocations: 70.53 kB / 423.2 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.992e-05/0.6033, allocations: 27.62 kB / 423.3 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.6038, allocations: 238.7 kB / 423.5 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.6038, allocations: 16.56 kB / 423.5 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.6039, allocations: 27.98 kB / 423.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6049, allocations: 365.3 kB / 423.9 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.605, allocations: 0 / 423.9 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.605, allocations: 8 kB / 423.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/0.6051, allocations: 24.58 kB / 423.9 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.6062, allocations: 390.2 kB / 424.3 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.6084, allocations: 0.8502 MB / 425.2 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009016/0.6094, allocations: 262.3 kB / 425.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/0.6095, allocations: 4 kB / 425.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6095, allocations: 42.52 kB / 425.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 3.196e-06/0.6095, allocations: 0 / 425.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001333/0.6109, allocations: 343 kB / 425.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.6109, allocations: 55.41 kB / 425.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.6115, allocations: 306 kB / 426.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.6116, allocations: 25.7 kB / 426.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.6118, allocations: 230.4 kB / 426.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.6119, allocations: 55.2 kB / 426.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.6119, allocations: 8 kB / 426.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.6121, allocations: 322.8 kB / 426.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.6125, allocations: 92.38 kB / 426.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.613, allocations: 195.9 kB / 427.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.6135, allocations: 132.4 kB / 427.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6135, allocations: 0 / 427.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001105/0.6146, allocations: 341.3 kB / 427.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.6147, allocations: 8.062 kB / 427.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.6147, allocations: 4 kB / 427.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.6147, allocations: 7.953 kB / 427.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.6159, allocations: 127.8 kB / 427.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.6189, allocations: 3.649 MB / 431.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.6193, allocations: 39.7 kB / 431.3 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.6194, allocations: 12 kB / 431.4 MB, free: 9.797 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003414/0.6197, allocations: 181.8 kB / 431.5 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.16e-05/0.6198, allocations: 27.62 kB / 431.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.621, allocations: 335.6 kB / 431.9 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.621, allocations: 7.984 kB / 431.9 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6211, allocations: 0 / 431.9 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6211, allocations: 0 / 431.9 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.6217, allocations: 293.4 kB / 432.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6217, allocations: 0 / 432.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009481/0.6226, allocations: 103.9 kB / 432.3 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.6227, allocations: 7.922 kB / 432.3 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.6227, allocations: 8 kB / 432.3 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.6256, allocations: 3.649 MB / 436 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.6257, allocations: 288 / 436 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009522/0.6266, allocations: 363.3 kB / 436.3 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.6268, allocations: 104.8 kB / 436.4 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.6269, allocations: 4 kB / 436.4 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.6272, allocations: 19.95 kB / 436.4 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/0.6273, allocations: 15.97 kB / 436.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.6273, allocations: 8 kB / 436.5 MB, free: 4.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004318/0.6278, allocations: 241.9 kB / 436.7 MB, free: 4.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6278, allocations: 0 / 436.7 MB, free: 4.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005963/0.6284, allocations: 75.94 kB / 436.8 MB, free: 4.141 MB / 362.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001597/0.63, allocations: 0.9434 MB / 437.7 MB, free: 3.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.6316, allocations: 312.2 kB / 438 MB, free: 2.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6317, allocations: 0 / 438 MB, free: 2.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009957/0.6327, allocations: 167.8 kB / 438.2 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.6333, allocations: 72.09 kB / 438.3 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/0.6389, allocations: 3.741 MB / 442 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.6395, allocations: 0.795 MB / 442.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.6398, allocations: 75.41 kB / 442.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6398, allocations: 0 / 442.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.129/3.769, allocations: 11.91 MB / 454.8 MB, free: 1.98 MB / 378.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_turbulent_KC_res.mat does not exist to compare? outputFormat=mat