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.221/2.221, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004456, allocations: 15.98 kB / 314.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3342, allocations: 54.85 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.5113, allocations: 87.82 MB / 457.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000482/0.5119, allocations: 99.88 kB / 457.3 MB, free: 2.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05713/0.569, allocations: 10.61 MB / 467.9 MB, free: 7.879 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.5691, allocations: 4 kB / 467.9 MB, free: 7.875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.571e-05/0.5691, allocations: 8 kB / 467.9 MB, free: 7.867 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.001883/0.571, allocations: 0.647 MB / 468.6 MB, free: 7.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.5711, allocations: 16.03 kB / 468.6 MB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.5713, allocations: 82.52 kB / 468.7 MB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.5715, allocations: 43.53 kB / 468.7 MB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006331/0.5721, allocations: 282.4 kB / 469 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.5722, allocations: 29 kB / 469 MB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5723, allocations: 36 kB / 469 MB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.5744, allocations: 0.5894 MB / 469.6 MB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.5744, allocations: 0 / 469.6 MB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.5745, allocations: 23.89 kB / 469.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/0.5746, allocations: 17 kB / 469.7 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.5765, allocations: 459.5 kB / 470.1 MB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.5926, allocations: 1.406 MB / 471.5 MB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.5938, allocations: 283.6 kB / 471.8 MB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/0.5939, allocations: 15.94 kB / 471.8 MB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.5939, allocations: 31.38 kB / 471.8 MB, free: 3.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 4.018e-06/0.594, allocations: 0 / 471.8 MB, free: 3.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002703/0.5967, allocations: 0.7122 MB / 472.6 MB, free: 2.938 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.5968, allocations: 110.8 kB / 472.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.5978, allocations: 461.1 kB / 473.1 MB, free: 2.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.5979, allocations: 29.7 kB / 473.1 MB, free: 2.312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.5981, allocations: 234.8 kB / 473.4 MB, free: 2.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5982, allocations: 59.11 kB / 473.4 MB, free: 2.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.5983, allocations: 0 / 473.4 MB, free: 2.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5985, allocations: 322.8 kB / 473.8 MB, free: 1.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01297/0.6114, allocations: 140 kB / 473.9 MB, free: 1.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008805/0.6124, allocations: 183.1 kB / 474.1 MB, free: 1.363 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/0.6133, allocations: 155 kB / 474.2 MB, free: 1.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.6133, allocations: 0 / 474.2 MB, free: 1.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002013/0.6153, allocations: 369.1 kB / 474.6 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.6154, allocations: 11.94 kB / 474.6 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/0.6155, allocations: 27.98 kB / 474.6 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.6156, allocations: 4.156 kB / 474.6 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.6161, allocations: 43.89 kB / 474.7 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.6161, allocations: 4 kB / 474.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.6168, allocations: 63.42 kB / 474.7 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.6169, allocations: 15.98 kB / 474.7 MB, free: 0.6797 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 () * Number of clocked 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.0004299/0.6173, allocations: 189.6 kB / 474.9 MB, free: 496 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.6176, allocations: 35.53 kB / 475 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/0.6334, allocations: 392.6 kB / 475.3 MB, free: 60 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.6334, allocations: 7.938 kB / 475.4 MB, free: 52 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.6335, allocations: 4 kB / 475.4 MB, free: 48 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.6335, allocations: 3.984 kB / 475.4 MB, free: 44 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3269/0.9604, allocations: 355.3 kB / 475.7 MB, free: 96.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001077/0.9606, allocations: 28.91 kB / 475.7 MB, free: 96.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.9609, allocations: 34.38 kB / 475.8 MB, free: 96.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.9609, allocations: 4.438 kB / 475.8 MB, free: 96.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.961, allocations: 9.797 kB / 475.8 MB, free: 96.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/0.961, allocations: 7.031 kB / 475.8 MB, free: 96.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.961, allocations: 1 kB / 475.8 MB, free: 96.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.9627, allocations: 0.6203 MB / 476.4 MB, free: 96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.9629, allocations: 120 kB / 476.5 MB, free: 95.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.9631, allocations: 4.422 kB / 476.5 MB, free: 95.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/0.9636, allocations: 28.36 kB / 476.6 MB, free: 95.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.9637, allocations: 21.83 kB / 476.6 MB, free: 95.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.9638, allocations: 12.12 kB / 476.6 MB, free: 95.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007982/0.9646, allocations: 371.9 kB / 477 MB, free: 95.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.9646, allocations: 0 / 477 MB, free: 95.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008114/0.9654, allocations: 122.9 kB / 477.1 MB, free: 95.8 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 () * Number of clocked 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.002061/0.9675, allocations: 1.392 MB / 478.5 MB, free: 94.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.969, allocations: 0.5385 MB / 479 MB, free: 94.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.969, allocations: 1.531 kB / 479 MB, free: 94.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.9698, allocations: 402 kB / 479.4 MB, free: 94.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.9706, allocations: 95.5 kB / 479.5 MB, free: 94.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007071/0.9777, allocations: 3.574 MB / 483.1 MB, free: 92.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.9782, allocations: 0.8502 MB / 483.9 MB, free: 92.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.9785, allocations: 107.6 kB / 484 MB, free: 92.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.9785, allocations: 0 / 484 MB, free: 92.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.528/3.507, allocations: 9.029 MB / 493.1 MB, free: 89.47 MB / 394.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