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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.3 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004599, allocations: 12 kB / 282.6 MB, free: 9.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3636, allocations: 48.7 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.002742/0.3664, allocations: 1.599 MB / 332.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.3696, allocations: 1.588 MB / 334.5 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.3698, allocations: 1.312 kB / 334.5 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.3702, allocations: 56.53 kB / 334.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.3706, allocations: 83.53 kB / 334.6 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.3718, allocations: 298.7 kB / 334.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.3723, allocations: 250.2 kB / 335.2 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3724, allocations: 43.55 kB / 335.2 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.3727, allocations: 122.2 kB / 335.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.3729, allocations: 143.6 kB / 335.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.373, allocations: 8.594 kB / 335.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.3746, allocations: 0.5499 MB / 336 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.3747, allocations: 87.61 kB / 336.1 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3749, allocations: 80.02 kB / 336.2 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009069/0.3758, allocations: 388.4 kB / 336.6 MB, free: 3.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.3758, allocations: 3.938 kB / 336.6 MB, free: 3.719 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3758, allocations: 4 kB / 336.6 MB, free: 3.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3758, allocations: 1.031 kB / 336.6 MB, free: 3.715 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.001267/0.3771, allocations: 0.6167 MB / 337.2 MB, free: 3.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3772, allocations: 9.719 kB / 337.2 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.3773, allocations: 84.08 kB / 337.3 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.3774, allocations: 39.81 kB / 337.3 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.3778, allocations: 283 kB / 337.6 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.3779, allocations: 32.88 kB / 337.6 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.378, allocations: 34.66 kB / 337.7 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.3792, allocations: 0.5545 MB / 338.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3793, allocations: 0 / 338.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.3793, allocations: 14.56 kB / 338.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.368e-05/0.3794, allocations: 40.56 kB / 338.3 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.3809, allocations: 0.5819 MB / 338.9 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.3836, allocations: 1.203 MB / 340.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.3848, allocations: 384.1 kB / 340.4 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.3849, allocations: 6.656 kB / 340.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3849, allocations: 40.95 kB / 340.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 3.015e-06/0.3849, allocations: 0 / 340.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001702/0.3866, allocations: 471.5 kB / 340.9 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.3867, allocations: 55.03 kB / 341 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007246/0.3874, allocations: 450.9 kB / 341.4 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.3875, allocations: 30.92 kB / 341.5 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3876, allocations: 230.5 kB / 341.7 MB, free: 368 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/0.3877, allocations: 68.97 kB / 341.8 MB, free: 308 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.3878, allocations: 8.969 kB / 341.8 MB, free: 300 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3879, allocations: 329.5 kB / 342.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.3883, allocations: 118.4 kB / 342.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.3888, allocations: 132.3 kB / 342.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.3893, allocations: 134.5 kB / 342.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3893, allocations: 0 / 342.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001165/0.3905, allocations: 321.5 kB / 342.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3905, allocations: 5.125 kB / 342.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3905, allocations: 0 / 342.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.3906, allocations: 9.734 kB / 342.8 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.392, allocations: 152.4 kB / 342.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003996/0.396, allocations: 5.524 MB / 348.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.3966, allocations: 49.44 kB / 348.5 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.3967, allocations: 11.86 kB / 348.5 MB, free: 10.11 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.0003765/0.3971, allocations: 193.8 kB / 348.7 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.3972, allocations: 32.19 kB / 348.7 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.3988, allocations: 465.8 kB / 349.2 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3988, allocations: 2.406 kB / 349.2 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3988, allocations: 0 / 349.2 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3988, allocations: 1 kB / 349.2 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000805/0.3997, allocations: 383.1 kB / 349.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3997, allocations: 11.88 kB / 349.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.4011, allocations: 149 kB / 349.7 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.4011, allocations: 1.344 kB / 349.7 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.4011, allocations: 8.812 kB / 349.7 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003989/0.4051, allocations: 5.518 MB / 355.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4052, allocations: 1.062 kB / 355.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.4065, allocations: 454 kB / 355.7 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.4067, allocations: 123.6 kB / 355.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.4068, allocations: 1.812 kB / 355.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.4072, allocations: 15.27 kB / 355.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4073, allocations: 20.72 kB / 355.9 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.4074, allocations: 11.16 kB / 355.9 MB, free: 3.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006209/0.408, allocations: 336.3 kB / 356.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.408, allocations: 0 / 356.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007884/0.4088, allocations: 142.8 kB / 356.3 MB, free: 3.223 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.002107/0.411, allocations: 1.1 MB / 357.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.4132, allocations: 412.8 kB / 357.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4133, allocations: 0 / 357.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.4149, allocations: 280 kB / 358.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.4157, allocations: 89.23 kB / 358.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/0.4223, allocations: 2.673 MB / 360.9 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.4231, allocations: 0.862 MB / 361.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.4234, allocations: 115.4 kB / 361.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4234, allocations: 0 / 361.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.354/3.777, allocations: 21.16 MB / 383 MB, free: 9.918 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_overall_KC_res.mat does not exist to compare? outputFormat=mat