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_laminar_KC.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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006026/0.0006027, allocations: 11.98 kB / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3419, allocations: 54.86 MB / 369.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.4975, allocations: 86.83 MB / 456.2 MB, free: 3.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003838/0.498, allocations: 99.92 kB / 456.3 MB, free: 3.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04316/0.5412, allocations: 9.328 MB / 465.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5412, allocations: 3.938 kB / 465.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.5412, allocations: 11.94 kB / 465.6 MB, free: 10.17 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001235/0.5425, allocations: 0.5848 MB / 466.2 MB, free: 9.535 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.5425, allocations: 8.031 kB / 466.2 MB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.5427, allocations: 82.52 kB / 466.3 MB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.5428, allocations: 43.48 kB / 466.4 MB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.5433, allocations: 274.9 kB / 466.6 MB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.5433, allocations: 44.92 kB / 466.7 MB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.945e-05/0.5434, allocations: 39.98 kB / 466.7 MB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.5448, allocations: 0.5373 MB / 467.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5448, allocations: 0 / 467.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/0.5449, allocations: 15.98 kB / 467.3 MB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.719e-05/0.545, allocations: 32.98 kB / 467.3 MB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.5466, allocations: 0.5815 MB / 467.9 MB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.5494, allocations: 1.199 MB / 469.1 MB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.5505, allocations: 378.7 kB / 469.4 MB, free: 6.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.5506, allocations: 12.19 kB / 469.5 MB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5506, allocations: 34.73 kB / 469.5 MB, free: 6.145 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.5507, allocations: 0 / 469.5 MB, free: 6.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.001622/0.5523, allocations: 481.7 kB / 470 MB, free: 5.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.5524, allocations: 59.36 kB / 470 MB, free: 5.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006911/0.5531, allocations: 404.8 kB / 470.4 MB, free: 5.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.5531, allocations: 29.64 kB / 470.4 MB, free: 5.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.5533, allocations: 226.9 kB / 470.7 MB, free: 4.941 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.5534, allocations: 74.94 kB / 470.7 MB, free: 4.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.5534, allocations: 4 kB / 470.7 MB, free: 4.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5536, allocations: 318.8 kB / 471.1 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.554, allocations: 123.9 kB / 471.2 MB, free: 4.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.5545, allocations: 119.9 kB / 471.3 MB, free: 4.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.555, allocations: 135.8 kB / 471.4 MB, free: 4.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.555, allocations: 0 / 471.4 MB, free: 4.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001099/0.5561, allocations: 327.8 kB / 471.7 MB, free: 3.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.5561, allocations: 6.031 kB / 471.8 MB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5561, allocations: 4 kB / 471.8 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5562, allocations: 0 / 471.8 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.5575, allocations: 151.9 kB / 471.9 MB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2995/0.8571, allocations: 5.522 MB / 477.4 MB, free: 95.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.8576, allocations: 48.16 kB / 477.5 MB, free: 95.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.8577, allocations: 11.28 kB / 477.5 MB, free: 95.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003658/0.8581, allocations: 187.7 kB / 477.7 MB, free: 95.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.8582, allocations: 41.47 kB / 477.7 MB, free: 95.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.8598, allocations: 460.5 kB / 478.2 MB, free: 95.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.8599, allocations: 3.016 kB / 478.2 MB, free: 95.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.8599, allocations: 0 / 478.2 MB, free: 95.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.8599, allocations: 6.219 kB / 478.2 MB, free: 95.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006975/0.8606, allocations: 366.9 kB / 478.5 MB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8606, allocations: 0 / 478.5 MB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.862, allocations: 153.3 kB / 478.7 MB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.862, allocations: 7.641 kB / 478.7 MB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.013e-05/0.8621, allocations: 10.45 kB / 478.7 MB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002864/0.865, allocations: 5.525 MB / 484.2 MB, free: 90.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.865, allocations: 0 / 484.2 MB, free: 90.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.8662, allocations: 450.1 kB / 484.7 MB, free: 89.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.8663, allocations: 118.7 kB / 484.8 MB, free: 89.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.8664, allocations: 5.766 kB / 484.8 MB, free: 89.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.8668, allocations: 18.2 kB / 484.8 MB, free: 89.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8669, allocations: 16.91 kB / 484.8 MB, free: 89.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.867, allocations: 16.42 kB / 484.8 MB, free: 89.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005586/0.8675, allocations: 336.4 kB / 485.2 MB, free: 89.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.8675, allocations: 0 / 485.2 MB, free: 89.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006026/0.8682, allocations: 104.2 kB / 485.3 MB, free: 89.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001563/0.8697, allocations: 1.067 MB / 486.3 MB, free: 88.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.8717, allocations: 373.1 kB / 486.7 MB, free: 88.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8717, allocations: 1.375 kB / 486.7 MB, free: 88.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.8731, allocations: 244.9 kB / 486.9 MB, free: 88.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.8738, allocations: 86.89 kB / 487 MB, free: 88.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/0.8794, allocations: 2.634 MB / 489.6 MB, free: 88.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.8798, allocations: 0.8553 MB / 490.5 MB, free: 87.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.88, allocations: 113 kB / 490.6 MB, free: 87.56 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.88, allocations: 4 kB / 490.6 MB, free: 87.56 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.214/4.094, allocations: 20.58 MB / 0.4992 GB, free: 71.36 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_laminar_KC_res.mat does not exist to compare? outputFormat=mat