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.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,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.229/2.229, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.000426, allocations: 12 kB / 314.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3444, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.5224, allocations: 88.62 MB / 458 MB, free: 1.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004952/0.523, allocations: 91.94 kB / 458.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05227/0.5753, allocations: 10.75 MB / 468.8 MB, free: 6.836 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5753, allocations: 4 kB / 468.8 MB, free: 6.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.5754, allocations: 4 kB / 468.9 MB, free: 6.828 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.001448/0.5768, allocations: 0.6548 MB / 469.5 MB, free: 6.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5769, allocations: 8.031 kB / 469.5 MB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.577, allocations: 86.52 kB / 469.6 MB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.5771, allocations: 39.53 kB / 469.6 MB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.5776, allocations: 282.3 kB / 469.9 MB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.5777, allocations: 33 kB / 469.9 MB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.5778, allocations: 36 kB / 470 MB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.5794, allocations: 0.5816 MB / 470.6 MB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.5794, allocations: 0 / 470.6 MB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.5795, allocations: 27.94 kB / 470.6 MB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.044e-05/0.5796, allocations: 21 kB / 470.6 MB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.5811, allocations: 451.5 kB / 471.1 MB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/0.5841, allocations: 1.406 MB / 472.5 MB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009546/0.5851, allocations: 283.5 kB / 472.7 MB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.337e-05/0.5852, allocations: 15.94 kB / 472.8 MB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.5852, allocations: 34.56 kB / 472.8 MB, free: 2.672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.186e-06/0.5852, allocations: 3.938 kB / 472.8 MB, free: 2.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002212/0.5874, allocations: 0.7178 MB / 473.5 MB, free: 1.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.5875, allocations: 102.8 kB / 473.6 MB, free: 1.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/0.5884, allocations: 457 kB / 474.1 MB, free: 1.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.5884, allocations: 25.7 kB / 474.1 MB, free: 1.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.5887, allocations: 246.7 kB / 474.3 MB, free: 1.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.488e-05/0.5888, allocations: 55.16 kB / 474.4 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.5888, allocations: 4 kB / 474.4 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5889, allocations: 314.8 kB / 474.7 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005953/0.5896, allocations: 140 kB / 474.8 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.5902, allocations: 186.2 kB / 475 MB, free: 332 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.5908, allocations: 155.8 kB / 475.2 MB, free: 176 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5909, allocations: 0 / 475.2 MB, free: 176 kB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.3445/0.9353, allocations: 362.6 kB / 475.5 MB, free: 95.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.9354, allocations: 12.8 kB / 475.5 MB, free: 95.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.9355, allocations: 29.81 kB / 475.6 MB, free: 95.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.9356, allocations: 2.625 kB / 475.6 MB, free: 95.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.936, allocations: 38.17 kB / 475.6 MB, free: 95.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.936, allocations: 3.719 kB / 475.6 MB, free: 95.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.9366, allocations: 67.22 kB / 475.7 MB, free: 95.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.9367, allocations: 12.31 kB / 475.7 MB, free: 95.93 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.0003668/0.9371, allocations: 189.6 kB / 475.9 MB, free: 95.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.9372, allocations: 37.62 kB / 475.9 MB, free: 95.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.9389, allocations: 400 kB / 476.3 MB, free: 95.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.9389, allocations: 3.984 kB / 476.3 MB, free: 95.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.9389, allocations: 3.719 kB / 476.3 MB, free: 95.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.939, allocations: 2 kB / 476.3 MB, free: 95.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.9399, allocations: 365.1 kB / 476.7 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.875e-05/0.94, allocations: 28.8 kB / 476.7 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.9404, allocations: 36.8 kB / 476.7 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.9404, allocations: 1.156 kB / 476.7 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.9404, allocations: 9.203 kB / 476.7 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.9405, allocations: 1.438 kB / 476.7 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9405, allocations: 3.234 kB / 476.7 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.942, allocations: 0.6222 MB / 477.4 MB, free: 95.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.9422, allocations: 122 kB / 477.5 MB, free: 95.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.9423, allocations: 4.688 kB / 477.5 MB, free: 95.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005032/0.9428, allocations: 23.55 kB / 477.5 MB, free: 95.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.943, allocations: 25.53 kB / 477.5 MB, free: 95.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.943, allocations: 12.2 kB / 477.5 MB, free: 95.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006933/0.9437, allocations: 375.6 kB / 477.9 MB, free: 95.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9438, allocations: 0 / 477.9 MB, free: 95.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008909/0.9447, allocations: 123.9 kB / 478 MB, free: 95.03 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.002189/0.9469, allocations: 1.404 MB / 479.4 MB, free: 94.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.9484, allocations: 0.539 MB / 480 MB, free: 93.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.9485, allocations: 0 / 480 MB, free: 93.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007844/0.9493, allocations: 398.2 kB / 480.4 MB, free: 93.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.9502, allocations: 99.05 kB / 480.5 MB, free: 93.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007452/0.9577, allocations: 3.576 MB / 484 MB, free: 91.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.9581, allocations: 0.8496 MB / 484.9 MB, free: 91.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.9584, allocations: 108.1 kB / 485 MB, free: 91.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.9584, allocations: 0 / 485 MB, free: 91.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.598/3.556, allocations: 9.059 MB / 494 MB, free: 88.2 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_res.mat does not exist to compare? outputFormat=mat