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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.77e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4076, allocations: 54.85 MB / 364.6 MB, free: 5.434 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2101/0.6177, allocations: 91.78 MB / 456.4 MB, free: 4.578 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004465/0.6182, allocations: 92.56 kB / 456.5 MB, free: 4.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07587/0.6941, allocations: 14.31 MB / 470.8 MB, free: 6.062 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.6941, allocations: 0 / 470.8 MB, free: 6.062 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.6942, allocations: 7.938 kB / 470.8 MB, free: 6.055 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.001377/0.6955, allocations: 0.5996 MB / 471.4 MB, free: 5.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.6956, allocations: 11.97 kB / 471.4 MB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.6958, allocations: 86.52 kB / 471.5 MB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.6959, allocations: 51.33 kB / 471.6 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.6965, allocations: 282.3 kB / 471.9 MB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.6965, allocations: 24.78 kB / 471.9 MB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/0.6966, allocations: 39.98 kB / 471.9 MB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.6979, allocations: 0.5163 MB / 472.4 MB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.698, allocations: 0 / 472.4 MB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.698, allocations: 19.98 kB / 472.5 MB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.542e-05/0.6981, allocations: 36.94 kB / 472.5 MB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.6995, allocations: 0.5387 MB / 473 MB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.7024, allocations: 1.195 MB / 474.2 MB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.7034, allocations: 362.7 kB / 474.6 MB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.7038, allocations: 117.1 kB / 474.7 MB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/0.7038, allocations: 4.188 kB / 474.7 MB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.7039, allocations: 42.73 kB / 474.7 MB, free: 1.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.096e-06/0.7039, allocations: 0 / 474.7 MB, free: 1.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009785/0.7049, allocations: 318.6 kB / 475.1 MB, free: 1.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.7049, allocations: 51.41 kB / 475.1 MB, free: 1.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007135/0.7057, allocations: 399.5 kB / 475.5 MB, free: 1.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.7057, allocations: 33.7 kB / 475.5 MB, free: 1.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.7059, allocations: 222.9 kB / 475.7 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.706, allocations: 78.89 kB / 475.8 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.7061, allocations: 4 kB / 475.8 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7062, allocations: 318.8 kB / 476.1 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.7066, allocations: 99.91 kB / 476.2 MB, free: 448 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.7069, allocations: 107.9 kB / 476.3 MB, free: 340 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.7073, allocations: 113.9 kB / 476.5 MB, free: 228 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7073, allocations: 0 / 476.5 MB, free: 228 kB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008798/0.7082, allocations: 287.9 kB / 476.7 MB, free: 15.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.7082, allocations: 4 kB / 476.7 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7082, allocations: 0 / 476.7 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.7082, allocations: 0 / 476.7 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.7097, allocations: 159.8 kB / 476.9 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.7142, allocations: 5.516 MB / 482.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.7148, allocations: 55.67 kB / 482.5 MB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.7148, allocations: 15.94 kB / 482.5 MB, free: 9.98 MB / 410.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 () * 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.0001518/0.715, allocations: 109 kB / 482.6 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.7151, allocations: 35.53 kB / 482.6 MB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.7164, allocations: 428.1 kB / 483 MB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.7165, allocations: 3.984 kB / 483 MB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7165, allocations: 3.953 kB / 483 MB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.7165, allocations: 4 kB / 483 MB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.7173, allocations: 369.4 kB / 483.4 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.7173, allocations: 3.984 kB / 483.4 MB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.7188, allocations: 151.9 kB / 483.6 MB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.7188, allocations: 0 / 483.6 MB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.7188, allocations: 11.98 kB / 483.6 MB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/0.7231, allocations: 5.531 MB / 489.1 MB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.7232, allocations: 0 / 489.1 MB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.7242, allocations: 414.4 kB / 489.5 MB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.7244, allocations: 112.8 kB / 489.6 MB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.7245, allocations: 12 kB / 489.6 MB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.7249, allocations: 11.98 kB / 489.6 MB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.725, allocations: 23.92 kB / 489.7 MB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.725, allocations: 15.94 kB / 489.7 MB, free: 2.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005909/0.7256, allocations: 326.1 kB / 490 MB, free: 2.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.7257, allocations: 0 / 490 MB, free: 2.156 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007656/0.7264, allocations: 147.8 kB / 490.1 MB, free: 2.012 MB / 410.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 () * 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.001881/0.7283, allocations: 1.106 MB / 491.2 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.7301, allocations: 344.9 kB / 491.6 MB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7301, allocations: 0 / 491.6 MB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.7315, allocations: 226.4 kB / 491.8 MB, free: 332 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.7322, allocations: 90.03 kB / 491.9 MB, free: 240 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.7344, allocations: 0.7212 MB / 492.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.735, allocations: 0.8542 MB / 493.5 MB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.7353, allocations: 115.4 kB / 493.6 MB, free: 14.47 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7353, allocations: 7.938 kB / 493.6 MB, free: 14.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.396/4.131, allocations: 21.19 MB / 0.5027 GB, free: 9.258 MB / 442.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_overall_KC_res.mat does not exist to compare? outputFormat=mat