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_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.428e-05, allocations: 0 / 309.8 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.4732, allocations: 54.84 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.6615, allocations: 87.73 MB / 452.4 MB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003764/0.6619, allocations: 87.94 kB / 452.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05738/0.7193, allocations: 10.65 MB / 463.1 MB, free: 13.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.7194, allocations: 0 / 463.1 MB, free: 13.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.7194, allocations: 4 kB / 463.1 MB, free: 13.86 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.001835/0.7213, allocations: 0.6114 MB / 463.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.742e-05/0.7214, allocations: 12.72 kB / 463.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.7216, allocations: 82.53 kB / 463.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.7218, allocations: 47.38 kB / 463.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007338/0.7225, allocations: 274.5 kB / 464.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.7226, allocations: 40.77 kB / 464.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.7227, allocations: 32 kB / 464.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.7245, allocations: 0.5409 MB / 464.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.7246, allocations: 0 / 464.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.317e-05/0.7247, allocations: 21.27 kB / 464.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.685e-05/0.7248, allocations: 16.78 kB / 464.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.7262, allocations: 370.8 kB / 465.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.7305, allocations: 1.405 MB / 466.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009261/0.7315, allocations: 239.6 kB / 466.8 MB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/0.732, allocations: 110.5 kB / 466.9 MB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.9e-05/0.7321, allocations: 11.89 kB / 466.9 MB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.7321, allocations: 42.56 kB / 466.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 4.929e-06/0.7322, allocations: 0 / 466.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001368/0.7335, allocations: 273.1 kB / 467.2 MB, free: 9.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.7336, allocations: 106.8 kB / 467.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.7349, allocations: 459.8 kB / 467.8 MB, free: 8.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-05/0.735, allocations: 25.7 kB / 467.8 MB, free: 8.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.7353, allocations: 241.9 kB / 468 MB, free: 8.676 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.7354, allocations: 59.19 kB / 468.1 MB, free: 8.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.7355, allocations: 4 kB / 468.1 MB, free: 8.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7356, allocations: 322.8 kB / 468.4 MB, free: 8.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.7361, allocations: 92.11 kB / 468.5 MB, free: 8.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.7367, allocations: 149.4 kB / 468.6 MB, free: 8.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.7372, allocations: 113.7 kB / 468.8 MB, free: 7.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.7372, allocations: 0 / 468.8 MB, free: 7.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00131/0.7386, allocations: 291 kB / 469 MB, free: 7.633 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.7386, allocations: 8 kB / 469 MB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/0.7388, allocations: 32.12 kB / 469.1 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.7388, allocations: 4 kB / 469.1 MB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.7394, allocations: 39.97 kB / 469.1 MB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.7394, allocations: 7.875 kB / 469.1 MB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.7402, allocations: 67.41 kB / 469.2 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.7403, allocations: 12 kB / 469.2 MB, free: 7.465 MB / 394.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.0001781/0.7405, allocations: 116.9 kB / 469.3 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.7407, allocations: 39.48 kB / 469.4 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.7423, allocations: 360.7 kB / 469.7 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.7424, allocations: 7.984 kB / 469.7 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7424, allocations: 0 / 469.7 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7424, allocations: 4 kB / 469.7 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.7437, allocations: 361.3 kB / 470.1 MB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001239/0.7438, allocations: 27.97 kB / 470.1 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.7442, allocations: 35.97 kB / 470.1 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.7443, allocations: 0 / 470.1 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.7443, allocations: 11.94 kB / 470.1 MB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.7444, allocations: 4 kB / 470.2 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.7444, allocations: 0 / 470.2 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.7457, allocations: 0.5441 MB / 470.7 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.746, allocations: 116.6 kB / 470.8 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.7461, allocations: 8 kB / 470.8 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007783/0.7469, allocations: 27.97 kB / 470.8 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.7471, allocations: 19.97 kB / 470.9 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.7472, allocations: 16 kB / 470.9 MB, free: 5.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009724/0.7482, allocations: 365.1 kB / 471.2 MB, free: 5.324 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.7482, allocations: 0 / 471.2 MB, free: 5.324 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00128/0.7495, allocations: 127.8 kB / 471.4 MB, free: 5.199 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 (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.002461/0.752, allocations: 1.32 MB / 472.7 MB, free: 3.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.7534, allocations: 476.5 kB / 473.1 MB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7534, allocations: 0 / 473.1 MB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007446/0.7542, allocations: 355.2 kB / 473.5 MB, free: 2.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.7554, allocations: 89.88 kB / 473.6 MB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.7591, allocations: 0.75 MB / 474.3 MB, free: 2.035 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.7599, allocations: 0.8499 MB / 475.2 MB, free: 1.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/0.7603, allocations: 103.4 kB / 475.3 MB, free: 1.055 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/0.7603, allocations: 0 / 475.3 MB, free: 1.055 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.814/3.575, allocations: 8.823 MB / 484.1 MB, free: 8.242 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.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat