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.432/2.432, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.376e-05, allocations: 4 kB / 309.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4327, allocations: 54.84 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.6028, allocations: 88.29 MB / 452.9 MB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/0.6032, allocations: 96.86 kB / 453 MB, free: 8.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06724/0.6705, allocations: 11.76 MB / 464.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6706, allocations: 0 / 464.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.6706, allocations: 4.844 kB / 464.8 MB, free: 12.21 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.001754/0.6724, allocations: 0.6036 MB / 465.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.6725, allocations: 19.97 kB / 465.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002182/0.6727, allocations: 94.5 kB / 465.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.6729, allocations: 47.39 kB / 465.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007234/0.6736, allocations: 294.4 kB / 465.8 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.6737, allocations: 36.94 kB / 465.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.6739, allocations: 47.98 kB / 465.9 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.6759, allocations: 0.6172 MB / 466.5 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.676, allocations: 0.5625 kB / 466.5 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.6761, allocations: 23.89 kB / 466.6 MB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.6762, allocations: 49.28 kB / 466.6 MB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.6784, allocations: 0.657 MB / 467.3 MB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.6832, allocations: 1.376 MB / 468.6 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.685, allocations: 428.4 kB / 469.1 MB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.6856, allocations: 154.2 kB / 469.2 MB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.41e-05/0.6857, allocations: 8.219 kB / 469.2 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.6857, allocations: 42.8 kB / 469.3 MB, free: 7.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.787e-06/0.6857, allocations: 0 / 469.3 MB, free: 7.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001523/0.6873, allocations: 358.1 kB / 469.6 MB, free: 7.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.6873, allocations: 59.39 kB / 469.7 MB, free: 7.125 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.6884, allocations: 438.7 kB / 470.1 MB, free: 6.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.6885, allocations: 33.7 kB / 470.1 MB, free: 6.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.6888, allocations: 258.6 kB / 470.4 MB, free: 6.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.689, allocations: 94.64 kB / 470.5 MB, free: 6.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.6891, allocations: 4 kB / 470.5 MB, free: 6.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6893, allocations: 334.8 kB / 470.8 MB, free: 5.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.6899, allocations: 140.5 kB / 470.9 MB, free: 5.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.6905, allocations: 228.3 kB / 471.2 MB, free: 5.559 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/0.6912, allocations: 175.9 kB / 471.3 MB, free: 5.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.6913, allocations: 7.938 kB / 471.4 MB, free: 5.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001674/0.693, allocations: 429.2 kB / 471.8 MB, free: 4.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.693, allocations: 7.953 kB / 471.8 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.693, allocations: 4.375 kB / 471.8 MB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.6931, allocations: 8 kB / 471.8 MB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.6955, allocations: 203.8 kB / 472 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007158/0.7027, allocations: 7.294 MB / 479.3 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/0.7035, allocations: 63.69 kB / 479.3 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.7035, allocations: 23.98 kB / 479.4 MB, free: 13.07 MB / 410.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 () * 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.0002081/0.7038, allocations: 129.5 kB / 479.5 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.7039, allocations: 47.42 kB / 479.5 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.7055, allocations: 0.5013 MB / 480 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.7055, allocations: 0 / 480 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7055, allocations: 4 kB / 480 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.7055, allocations: 4 kB / 480.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/0.7064, allocations: 405.2 kB / 480.4 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.7064, allocations: 4 kB / 480.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/0.7081, allocations: 187.8 kB / 480.6 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.7081, allocations: 3.953 kB / 480.6 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.7082, allocations: 11.98 kB / 480.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005376/0.7135, allocations: 7.297 MB / 487.9 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.7136, allocations: 7.969 kB / 488 MB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.7148, allocations: 471.8 kB / 488.4 MB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.715, allocations: 128.7 kB / 488.5 MB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/0.7151, allocations: 4 kB / 488.5 MB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.7155, allocations: 15.98 kB / 488.6 MB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.7157, allocations: 19.97 kB / 488.6 MB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.7157, allocations: 15.98 kB / 488.6 MB, free: 3.469 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006451/0.7164, allocations: 349.1 kB / 488.9 MB, free: 3.133 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7164, allocations: 0 / 488.9 MB, free: 3.133 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007737/0.7172, allocations: 131.8 kB / 489.1 MB, free: 3.004 MB / 410.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 () * 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.001868/0.7191, allocations: 1.088 MB / 490.2 MB, free: 1.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002236/0.7213, allocations: 459.4 kB / 490.6 MB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.7214, allocations: 0 / 490.6 MB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.723, allocations: 292.3 kB / 490.9 MB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.7239, allocations: 105.4 kB / 491 MB, free: 1.051 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.7263, allocations: 0.7876 MB / 491.8 MB, free: 228 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.727, allocations: 0.8895 MB / 492.7 MB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.7273, allocations: 127.4 kB / 492.8 MB, free: 15.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7274, allocations: 0 / 492.8 MB, free: 15.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.528/4.256, allocations: 28.66 MB / 0.5092 GB, free: 2.496 MB / 442.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