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.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,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.245e-05, allocations: 3.984 kB / 309.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.414, allocations: 54.84 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.6023, allocations: 88.67 MB / 453.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/0.6027, allocations: 91.94 kB / 453.4 MB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05219/0.6549, allocations: 12.17 MB / 465.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6549, allocations: 0 / 465.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.655, allocations: 4 kB / 465.6 MB, free: 11.4 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001356/0.6563, allocations: 0.662 MB / 466.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.6564, allocations: 15.97 kB / 466.3 MB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.6566, allocations: 94.5 kB / 466.4 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.6567, allocations: 48.28 kB / 466.4 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.6573, allocations: 287.7 kB / 466.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.6573, allocations: 37 kB / 466.7 MB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.6574, allocations: 40 kB / 466.8 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.6589, allocations: 0.6285 MB / 467.4 MB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.659, allocations: 7.953 kB / 467.4 MB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.659, allocations: 20 kB / 467.4 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/0.6591, allocations: 21 kB / 467.4 MB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.6602, allocations: 423.7 kB / 467.8 MB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.6635, allocations: 1.535 MB / 469.4 MB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.6642, allocations: 267.6 kB / 469.6 MB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.6646, allocations: 118.5 kB / 469.8 MB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/0.6647, allocations: 19.91 kB / 469.8 MB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.6647, allocations: 38.45 kB / 469.8 MB, free: 6.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.246e-06/0.6647, allocations: 0 / 469.8 MB, free: 6.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001041/0.6658, allocations: 317.2 kB / 470.1 MB, free: 6.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.6659, allocations: 106.8 kB / 470.2 MB, free: 6.496 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008894/0.6668, allocations: 491.5 kB / 470.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.6669, allocations: 29.7 kB / 470.7 MB, free: 5.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.6671, allocations: 257.7 kB / 471 MB, free: 5.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.6673, allocations: 71 kB / 471.1 MB, free: 5.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.6674, allocations: 8 kB / 471.1 MB, free: 5.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.6676, allocations: 322.9 kB / 471.4 MB, free: 5.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006055/0.6682, allocations: 132.1 kB / 471.5 MB, free: 5.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/0.669, allocations: 243.8 kB / 471.8 MB, free: 4.895 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.6697, allocations: 159.8 kB / 471.9 MB, free: 4.738 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6697, allocations: 0 / 471.9 MB, free: 4.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00129/0.671, allocations: 414 kB / 472.3 MB, free: 4.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.671, allocations: 11.98 kB / 472.3 MB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.6712, allocations: 39.92 kB / 472.4 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/0.6712, allocations: 8 kB / 472.4 MB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.6717, allocations: 52.44 kB / 472.4 MB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.6717, allocations: 7.984 kB / 472.4 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.6728, allocations: 67.36 kB / 472.5 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.6729, allocations: 23.98 kB / 472.5 MB, free: 4.121 MB / 394.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: 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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002692/0.6732, allocations: 132.8 kB / 472.6 MB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.6735, allocations: 55.36 kB / 472.7 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.6751, allocations: 414.1 kB / 473.1 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.6751, allocations: 7.953 kB / 473.1 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6751, allocations: 0 / 473.1 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6751, allocations: 3.984 kB / 473.1 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009281/0.6761, allocations: 385.2 kB / 473.5 MB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001112/0.6762, allocations: 39.95 kB / 473.5 MB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.6765, allocations: 31.97 kB / 473.6 MB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.6765, allocations: 4 kB / 473.6 MB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.6766, allocations: 12 kB / 473.6 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6766, allocations: 0 / 473.6 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.6766, allocations: 11.83 kB / 473.6 MB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.6777, allocations: 0.5715 MB / 474.2 MB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.6779, allocations: 132.4 kB / 474.3 MB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.6781, allocations: 8 kB / 474.3 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/0.6786, allocations: 23.98 kB / 474.3 MB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6787, allocations: 27.92 kB / 474.4 MB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.6788, allocations: 15.98 kB / 474.4 MB, free: 2.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007007/0.6795, allocations: 385.1 kB / 474.7 MB, free: 1.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6795, allocations: 0 / 474.7 MB, free: 1.785 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008733/0.6804, allocations: 135.9 kB / 474.9 MB, free: 1.652 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00188/0.6823, allocations: 1.371 MB / 476.2 MB, free: 252 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.6835, allocations: 0.6032 MB / 476.8 MB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6836, allocations: 4 kB / 476.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.6842, allocations: 453.3 kB / 477.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009104/0.6851, allocations: 114 kB / 477.4 MB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.6881, allocations: 0.8314 MB / 478.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.6887, allocations: 0.8667 MB / 479.1 MB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.689, allocations: 123.4 kB / 479.2 MB, free: 13.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.689, allocations: 0 / 479.2 MB, free: 13.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.67/3.359, allocations: 10.38 MB / 489.6 MB, free: 2.688 MB / 410.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_res.mat does not exist to compare? outputFormat=mat