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.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,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005966/0.0005966, allocations: 12 kB / 282.7 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3606, allocations: 48.7 MB / 331.4 MB, free: 6.426 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.207/0.5677, allocations: 81.32 MB / 412.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003904/0.5681, allocations: 99.94 kB / 412.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06367/0.6318, allocations: 13.35 MB / 426.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6319, allocations: 7.938 kB / 426.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.6319, allocations: 4 kB / 426.2 MB, free: 15.42 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001274/0.6332, allocations: 0.5845 MB / 426.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.6332, allocations: 12.03 kB / 426.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.6334, allocations: 66.55 kB / 426.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.6335, allocations: 35.53 kB / 426.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.6339, allocations: 254.5 kB / 427.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.6339, allocations: 24.55 kB / 427.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.634, allocations: 24 kB / 427.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.6352, allocations: 437.9 kB / 427.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.6353, allocations: 0 / 427.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/0.6353, allocations: 12 kB / 427.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/0.6354, allocations: 20.55 kB / 427.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.6366, allocations: 353.9 kB / 428 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.6389, allocations: 1.116 MB / 429.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.6398, allocations: 255.7 kB / 429.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.6399, allocations: 3.984 kB / 429.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.6399, allocations: 42.59 kB / 429.4 MB, free: 12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.116e-06/0.6399, allocations: 0 / 429.4 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001902/0.6418, allocations: 0.606 MB / 430 MB, free: 11.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.6419, allocations: 106.8 kB / 430.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.6426, allocations: 360.7 kB / 430.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.6426, allocations: 33.77 kB / 430.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.6428, allocations: 242.2 kB / 430.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.6429, allocations: 51.3 kB / 430.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.643, allocations: 4 kB / 430.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6431, allocations: 326.8 kB / 431.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.6437, allocations: 128.1 kB / 431.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.6443, allocations: 239.8 kB / 431.4 MB, free: 9.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/0.645, allocations: 167.8 kB / 431.6 MB, free: 9.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.645, allocations: 4 kB / 431.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001461/0.6465, allocations: 408.9 kB / 432 MB, free: 9.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.6465, allocations: 4.781 kB / 432 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.408e-05/0.6466, allocations: 27.98 kB / 432 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.6466, allocations: 4 kB / 432 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.6471, allocations: 60.36 kB / 432.1 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.6471, allocations: 4 kB / 432.1 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.6477, allocations: 59.59 kB / 432.2 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.6477, allocations: 16.19 kB / 432.2 MB, free: 9.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002861/0.648, allocations: 181.6 kB / 432.4 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.6481, allocations: 39.56 kB / 432.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.6492, allocations: 300.2 kB / 432.7 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.6492, allocations: 7.984 kB / 432.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6493, allocations: 0 / 432.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6493, allocations: 0 / 432.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006739/0.65, allocations: 309.3 kB / 433 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.356e-05/0.65, allocations: 15.98 kB / 433 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.6503, allocations: 35.97 kB / 433 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.6503, allocations: 0 / 433 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.6504, allocations: 8 kB / 433.1 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.6504, allocations: 4 kB / 433.1 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6504, allocations: 96 / 433.1 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.6517, allocations: 0.5634 MB / 433.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.6519, allocations: 132.8 kB / 433.8 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.279e-05/0.652, allocations: 7.984 kB / 433.8 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.6525, allocations: 27.98 kB / 433.8 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6526, allocations: 19.97 kB / 433.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.6526, allocations: 8 kB / 433.8 MB, free: 7.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004822/0.6531, allocations: 283.1 kB / 434.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6532, allocations: 3.938 kB / 434.1 MB, free: 6.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007815/0.6539, allocations: 107.8 kB / 434.2 MB, free: 6.883 MB / 362.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001985/0.6559, allocations: 1.308 MB / 435.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.6573, allocations: 450.8 kB / 435.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.6573, allocations: 4 kB / 436 MB, free: 5.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006475/0.658, allocations: 282.1 kB / 436.2 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.6587, allocations: 77.78 kB / 436.3 MB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/0.6654, allocations: 4.743 MB / 441 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.666, allocations: 0.8067 MB / 441.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.6662, allocations: 83.41 kB / 441.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6662, allocations: 0 / 441.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.933/3.599, allocations: 7.055 MB / 449 MB, free: 7.84 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_res.mat does not exist to compare? outputFormat=mat