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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.024/2.024, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005942/0.0005942, allocations: 8 kB / 282.7 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3425, allocations: 48.71 MB / 331.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4871, allocations: 82.48 MB / 413.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003788/0.4875, allocations: 91.94 kB / 414 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05396/0.5415, allocations: 12.15 MB / 426.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5415, allocations: 0 / 426.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.5416, allocations: 12 kB / 426.1 MB, free: 15.5 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001675/0.5433, allocations: 0.6821 MB / 426.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.5433, allocations: 12.03 kB / 426.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002307/0.5436, allocations: 98.52 kB / 426.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.5437, allocations: 47.34 kB / 426.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.5443, allocations: 290.4 kB / 427.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.5444, allocations: 33 kB / 427.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.5445, allocations: 47.98 kB / 427.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.5464, allocations: 0.6674 MB / 428 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.5465, allocations: 0 / 428 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.995e-05/0.5466, allocations: 20 kB / 428 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.5467, allocations: 24.98 kB / 428 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.5484, allocations: 0.4956 MB / 428.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/0.5518, allocations: 1.535 MB / 430.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/0.5528, allocations: 315.6 kB / 430.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.5529, allocations: 19.94 kB / 430.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.553, allocations: 30.56 kB / 430.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.995e-06/0.553, allocations: 3.938 kB / 430.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002379/0.5554, allocations: 0.7619 MB / 431.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.5555, allocations: 110.7 kB / 431.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009817/0.5565, allocations: 0.4929 MB / 431.8 MB, free: 9.527 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.5565, allocations: 29.77 kB / 431.8 MB, free: 9.492 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.5568, allocations: 262.7 kB / 432.1 MB, free: 9.234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.5569, allocations: 74.92 kB / 432.1 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.557, allocations: 4 kB / 432.1 MB, free: 9.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5571, allocations: 326.8 kB / 432.5 MB, free: 8.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/0.5578, allocations: 176 kB / 432.6 MB, free: 8.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.5586, allocations: 275.9 kB / 432.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/0.5594, allocations: 207.8 kB / 433.1 MB, free: 8.125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.5594, allocations: 0 / 433.1 MB, free: 8.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001783/0.5612, allocations: 496.8 kB / 433.6 MB, free: 7.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.5612, allocations: 8 kB / 433.6 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/0.5614, allocations: 35.97 kB / 433.6 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/0.5615, allocations: 8 kB / 433.6 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.5619, allocations: 60.36 kB / 433.7 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.5619, allocations: 7.938 kB / 433.7 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.5626, allocations: 71.41 kB / 433.8 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.5627, allocations: 19.98 kB / 433.8 MB, free: 7.426 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: 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 (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.0004371/0.5631, allocations: 225.5 kB / 434 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.5633, allocations: 39.53 kB / 434.1 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.565, allocations: 464.3 kB / 434.5 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.565, allocations: 7.938 kB / 434.5 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5651, allocations: 4 kB / 434.5 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5651, allocations: 0 / 434.5 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5661, allocations: 389.2 kB / 434.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001125/0.5663, allocations: 39.91 kB / 434.9 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.5666, allocations: 31.97 kB / 435 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.5666, allocations: 0 / 435 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.5667, allocations: 15.98 kB / 435 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.5667, allocations: 4 kB / 435 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5667, allocations: 0 / 435 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.5684, allocations: 0.6495 MB / 435.6 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.5688, allocations: 180.4 kB / 435.8 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.569, allocations: 8 kB / 435.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/0.5696, allocations: 23.97 kB / 435.8 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.5697, allocations: 23.97 kB / 435.9 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.5698, allocations: 15.94 kB / 435.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000777/0.5706, allocations: 395 kB / 436.3 MB, free: 4.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5706, allocations: 0 / 436.3 MB, free: 4.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001107/0.5717, allocations: 147.8 kB / 436.4 MB, free: 4.695 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 (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.002623/0.5744, allocations: 1.442 MB / 437.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.5763, allocations: 0.6838 MB / 438.5 MB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5763, allocations: 0 / 438.5 MB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000929/0.5773, allocations: 493 kB / 439 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.5783, allocations: 113.9 kB / 439.1 MB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009551/0.5879, allocations: 5.672 MB / 444.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.5885, allocations: 0.8662 MB / 445.7 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.5889, allocations: 119.4 kB / 445.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.5889, allocations: 0 / 445.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.905/3.494, allocations: 10.62 MB / 456.4 MB, free: 404 kB / 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_laminar_res.mat does not exist to compare? outputFormat=mat