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.HelicalPipe.kc_overall.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.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.152e-05/4.181e-05, allocations: 0 / 309.8 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4088, allocations: 54.85 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1756/0.5845, allocations: 93.14 MB / 457.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/0.585, allocations: 95.94 kB / 457.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07706/0.6621, allocations: 15.26 MB / 473.1 MB, free: 3.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6621, allocations: 0 / 473.1 MB, free: 3.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.6622, allocations: 7.938 kB / 473.1 MB, free: 3.875 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001503/0.6637, allocations: 0.6696 MB / 473.8 MB, free: 3.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.6638, allocations: 11.97 kB / 473.8 MB, free: 3.148 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.6639, allocations: 82.52 kB / 473.9 MB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.664, allocations: 43.44 kB / 474 MB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.6647, allocations: 311.5 kB / 474.3 MB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.6647, allocations: 28.78 kB / 474.3 MB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.092e-05/0.6648, allocations: 36 kB / 474.3 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.6661, allocations: 0.5293 MB / 474.8 MB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.6661, allocations: 0 / 474.8 MB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.6662, allocations: 19.95 kB / 474.9 MB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.686e-05/0.6663, allocations: 24.77 kB / 474.9 MB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009424/0.6672, allocations: 366.8 kB / 475.3 MB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.6705, allocations: 1.424 MB / 476.7 MB, free: 164 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.6713, allocations: 243.6 kB / 476.9 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.6716, allocations: 113.7 kB / 477 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.479e-05/0.6717, allocations: 15.94 kB / 477 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.6717, allocations: 34.56 kB / 477.1 MB, free: 15.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 3.697e-06/0.6717, allocations: 0 / 477.1 MB, free: 15.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001012/0.6728, allocations: 276.9 kB / 477.3 MB, free: 15.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.6728, allocations: 110.8 kB / 477.5 MB, free: 15.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009697/0.6738, allocations: 495.1 kB / 477.9 MB, free: 14.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.6739, allocations: 29.77 kB / 478 MB, free: 14.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.6741, allocations: 254.7 kB / 478.2 MB, free: 14.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.765e-05/0.6742, allocations: 55.17 kB / 478.3 MB, free: 14.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.6743, allocations: 0 / 478.3 MB, free: 14.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6744, allocations: 322.8 kB / 478.6 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.6748, allocations: 100.1 kB / 478.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.6751, allocations: 145.5 kB / 478.8 MB, free: 13.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.6755, allocations: 109.4 kB / 478.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6755, allocations: 0 / 478.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009224/0.6765, allocations: 294.2 kB / 479.2 MB, free: 13.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.6765, allocations: 12 kB / 479.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.6766, allocations: 27.97 kB / 479.3 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.6767, allocations: 7.938 kB / 479.3 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.6771, allocations: 35.97 kB / 479.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.6771, allocations: 0 / 479.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.6777, allocations: 71.41 kB / 479.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.6778, allocations: 15.98 kB / 479.4 MB, free: 13.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001331/0.678, allocations: 116.8 kB / 479.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.6781, allocations: 43.48 kB / 479.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.6793, allocations: 365 kB / 479.9 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.6793, allocations: 4 kB / 479.9 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6793, allocations: 4 kB / 479.9 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6794, allocations: 0 / 479.9 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/0.6802, allocations: 373.3 kB / 480.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.461e-05/0.6803, allocations: 27.97 kB / 480.3 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.6806, allocations: 31.91 kB / 480.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.6807, allocations: 4 kB / 480.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.6807, allocations: 11.94 kB / 480.3 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.6807, allocations: 8 kB / 480.4 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6807, allocations: 0 / 480.4 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.6818, allocations: 0.5381 MB / 480.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.6821, allocations: 172.4 kB / 481.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/0.6822, allocations: 8 kB / 481.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/0.6828, allocations: 27.97 kB / 481.1 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.6829, allocations: 19.92 kB / 481.1 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.683, allocations: 11.98 kB / 481.1 MB, free: 11.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007428/0.6837, allocations: 401.1 kB / 481.5 MB, free: 11.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6837, allocations: 0 / 481.5 MB, free: 11.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009481/0.6847, allocations: 163.8 kB / 481.7 MB, free: 10.93 MB / 410.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002135/0.6868, allocations: 1.39 MB / 483.1 MB, free: 9.496 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009752/0.6879, allocations: 471 kB / 483.5 MB, free: 8.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6879, allocations: 320 / 483.5 MB, free: 8.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005228/0.6884, allocations: 359.2 kB / 483.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.6893, allocations: 82.03 kB / 484 MB, free: 8.496 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.6921, allocations: 0.811 MB / 484.8 MB, free: 7.637 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/0.693, allocations: 0.8732 MB / 485.6 MB, free: 6.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.6933, allocations: 119.4 kB / 485.8 MB, free: 6.617 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6933, allocations: 0 / 485.8 MB, free: 6.617 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.896/3.589, allocations: 9.894 MB / 495.7 MB, free: 12.73 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat