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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005901/0.0005902, allocations: 12 kB / 314.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3624, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.5301, allocations: 88.38 MB / 457.8 MB, free: 2.094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/0.5305, allocations: 95.94 kB / 457.9 MB, free: 2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05692/0.5874, allocations: 11.72 MB / 469.6 MB, free: 6.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5875, allocations: 0 / 469.6 MB, free: 6.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.5875, allocations: 12 kB / 469.6 MB, free: 6.098 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001812/0.5894, allocations: 0.6276 MB / 470.2 MB, free: 5.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.5894, allocations: 8.031 kB / 470.2 MB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/0.5897, allocations: 94.5 kB / 470.3 MB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.5899, allocations: 51.39 kB / 470.4 MB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.5907, allocations: 294.3 kB / 470.6 MB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/0.5908, allocations: 33 kB / 470.7 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.591, allocations: 51.94 kB / 470.7 MB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.5933, allocations: 0.6444 MB / 471.4 MB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.5933, allocations: 0 / 471.4 MB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.5935, allocations: 23.94 kB / 471.4 MB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.5936, allocations: 45.28 kB / 471.4 MB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.5963, allocations: 0.7038 MB / 472.1 MB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004596/0.6009, allocations: 1.376 MB / 473.5 MB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.6028, allocations: 448.5 kB / 474 MB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.447e-05/0.603, allocations: 20.16 kB / 474 MB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.603, allocations: 42.73 kB / 474 MB, free: 1.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 4.017e-06/0.603, allocations: 0 / 474 MB, free: 1.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0026/0.6056, allocations: 0.5297 MB / 474.5 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.6057, allocations: 55.41 kB / 474.6 MB, free: 0.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.6069, allocations: 440.6 kB / 475 MB, free: 448 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/0.607, allocations: 33.7 kB / 475.1 MB, free: 408 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.6073, allocations: 258.8 kB / 475.3 MB, free: 144 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.6075, allocations: 94.59 kB / 475.4 MB, free: 48 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.6075, allocations: 4.109 kB / 475.4 MB, free: 44 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.3197/0.9273, allocations: 327.4 kB / 475.7 MB, free: 96.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007537/0.9281, allocations: 155.7 kB / 475.9 MB, free: 96.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/0.9289, allocations: 249.4 kB / 476.1 MB, free: 96.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.9296, allocations: 194.6 kB / 476.3 MB, free: 96.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.9297, allocations: 3.594 kB / 476.3 MB, free: 96.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00171/0.9314, allocations: 472.8 kB / 476.8 MB, free: 96.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.9314, allocations: 8.359 kB / 476.8 MB, free: 96.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9315, allocations: 2.625 kB / 476.8 MB, free: 96.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.9315, allocations: 5.312 kB / 476.8 MB, free: 96.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.9332, allocations: 202.9 kB / 477 MB, free: 96.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.9369, allocations: 7.3 MB / 484.3 MB, free: 89.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.9375, allocations: 57.53 kB / 484.4 MB, free: 89.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.9376, allocations: 20.94 kB / 484.4 MB, free: 89.07 MB / 394.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: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * 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.0004137/0.938, allocations: 221.2 kB / 484.6 MB, free: 88.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.9382, allocations: 38.47 kB / 484.6 MB, free: 88.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.94, allocations: 0.5368 MB / 485.2 MB, free: 88.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.94, allocations: 5.969 kB / 485.2 MB, free: 88.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.9401, allocations: 4.828 kB / 485.2 MB, free: 88.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.9401, allocations: 2.953 kB / 485.2 MB, free: 88.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008509/0.9409, allocations: 408.1 kB / 485.6 MB, free: 88.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.9409, allocations: 0 / 485.6 MB, free: 88.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.9426, allocations: 198.4 kB / 485.8 MB, free: 88.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-06/0.9426, allocations: 3.312 kB / 485.8 MB, free: 88.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.9427, allocations: 13.66 kB / 485.8 MB, free: 88.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/0.9462, allocations: 7.295 MB / 493.1 MB, free: 81.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9463, allocations: 0 / 493.1 MB, free: 81.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.9477, allocations: 0.5008 MB / 493.6 MB, free: 81.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.9479, allocations: 124.4 kB / 493.7 MB, free: 81.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.948, allocations: 10.31 kB / 493.7 MB, free: 81.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.9484, allocations: 14.66 kB / 493.7 MB, free: 81.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.9486, allocations: 24.8 kB / 493.8 MB, free: 81.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.9486, allocations: 16.11 kB / 493.8 MB, free: 81.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005991/0.9493, allocations: 354.2 kB / 494.1 MB, free: 81.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9493, allocations: 4 kB / 494.1 MB, free: 81.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007945/0.9501, allocations: 132.1 kB / 494.3 MB, free: 81.29 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.001844/0.9519, allocations: 1.124 MB / 495.4 MB, free: 80.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.9544, allocations: 495.3 kB / 495.9 MB, free: 80.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.9544, allocations: 1.625 kB / 495.9 MB, free: 80.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.9561, allocations: 315.9 kB / 496.2 MB, free: 80.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.9569, allocations: 108.4 kB / 496.3 MB, free: 80.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.963, allocations: 4.792 MB / 0.4893 GB, free: 77.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.9635, allocations: 0.8873 MB / 0.4902 GB, free: 77.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.9638, allocations: 135 kB / 0.4903 GB, free: 77.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9638, allocations: 0 / 0.4903 GB, free: 77.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.308/4.272, allocations: 28.82 MB / 0.5185 GB, free: 51.68 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_laminar_KC_res.mat does not exist to compare? outputFormat=mat