Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.3 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006145/0.0006146, allocations: 15.98 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3559, allocations: 48.7 MB / 331.3 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002747/0.3588, allocations: 1.615 MB / 332.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3606, allocations: 0.8155 MB / 333.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3607, allocations: 1.375 kB / 333.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.361, allocations: 47.94 kB / 333.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.3614, allocations: 90.2 kB / 333.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.3617, allocations: 70 kB / 333.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.3621, allocations: 257.5 kB / 334.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3623, allocations: 47.69 kB / 334.2 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.3625, allocations: 115.2 kB / 334.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.3628, allocations: 138.7 kB / 334.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.3628, allocations: 8.438 kB / 334.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.3633, allocations: 148.5 kB / 334.6 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3634, allocations: 86.3 kB / 334.7 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.3635, allocations: 80.55 kB / 334.8 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.3641, allocations: 275.3 kB / 335.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3641, allocations: 0 / 335.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3641, allocations: 1.469 kB / 335.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3641, allocations: 0 / 335.1 MB, free: 4.391 MB / 266.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.001259/0.3654, allocations: 0.5933 MB / 335.7 MB, free: 3.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3655, allocations: 13.03 kB / 335.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.3656, allocations: 82.47 kB / 335.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.3657, allocations: 37.97 kB / 335.8 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.3662, allocations: 280.3 kB / 336.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.3662, allocations: 31.64 kB / 336.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/0.3663, allocations: 31.03 kB / 336.1 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3677, allocations: 0.56 MB / 336.7 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.3677, allocations: 0 / 336.7 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.3678, allocations: 16.38 kB / 336.7 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-05/0.3679, allocations: 42.23 kB / 336.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.3695, allocations: 0.58 MB / 337.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.3721, allocations: 1.194 MB / 338.5 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.3733, allocations: 389.4 kB / 338.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.3733, allocations: 3.5 kB / 338.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3734, allocations: 36.53 kB / 338.9 MB, free: 2.082 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.845e-06/0.3734, allocations: 0 / 338.9 MB, free: 2.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001669/0.3751, allocations: 479.3 kB / 339.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3751, allocations: 54.56 kB / 339.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007408/0.3759, allocations: 447.8 kB / 339.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.3759, allocations: 31 kB / 339.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.3761, allocations: 225.8 kB / 340.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.16e-05/0.3762, allocations: 77.17 kB / 340.2 MB, free: 1.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.3762, allocations: 5.094 kB / 340.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.3763, allocations: 325.4 kB / 340.5 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.3768, allocations: 126.2 kB / 340.7 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.3772, allocations: 128.9 kB / 340.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.3777, allocations: 133.4 kB / 340.9 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3777, allocations: 0 / 340.9 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001069/0.3788, allocations: 329.1 kB / 341.2 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3788, allocations: 5.281 kB / 341.2 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3788, allocations: 4.938 kB / 341.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3789, allocations: 1.188 kB / 341.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.3803, allocations: 157.4 kB / 341.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003925/0.3842, allocations: 5.511 MB / 346.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.3848, allocations: 49.92 kB / 347 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.3849, allocations: 11.89 kB / 347 MB, free: 11.06 MB / 282.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.0003945/0.3853, allocations: 198.5 kB / 347.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/0.3854, allocations: 31.59 kB / 347.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.3869, allocations: 469.9 kB / 347.7 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.387, allocations: 2.375 kB / 347.7 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.387, allocations: 4 kB / 347.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.387, allocations: 1.188 kB / 347.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007943/0.3878, allocations: 374.7 kB / 348 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3878, allocations: 0 / 348 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.3892, allocations: 149.1 kB / 348.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.3892, allocations: 1.156 kB / 348.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.3893, allocations: 12.7 kB / 348.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/0.3939, allocations: 5.523 MB / 353.7 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.3939, allocations: 0 / 353.7 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3953, allocations: 454.6 kB / 354.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.3955, allocations: 123.2 kB / 354.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3956, allocations: 5.125 kB / 354.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.396, allocations: 11.66 kB / 354.3 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3961, allocations: 25.34 kB / 354.3 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.562e-05/0.3962, allocations: 11.45 kB / 354.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006461/0.3968, allocations: 331.5 kB / 354.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3968, allocations: 0 / 354.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006057/0.3975, allocations: 105.7 kB / 354.8 MB, free: 4.188 MB / 282.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.001864/0.3993, allocations: 1.029 MB / 355.8 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.4016, allocations: 414.2 kB / 356.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4016, allocations: 0 / 356.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.4034, allocations: 287.3 kB / 356.5 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007492/0.4041, allocations: 76.58 kB / 356.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/0.4107, allocations: 2.656 MB / 359.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.4114, allocations: 0.8549 MB / 360.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/0.4117, allocations: 119.5 kB / 360.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.4117, allocations: 0 / 360.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.208/3.619, allocations: 20.41 MB / 380.6 MB, free: 12.26 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat