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.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.395e-05/2.393e-05, allocations: 0 / 303.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3499, allocations: 54.86 MB / 358.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5139, allocations: 92.48 MB / 450.6 MB, free: 3.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/0.5143, allocations: 87.94 kB / 450.7 MB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07369/0.588, allocations: 15.08 MB / 465.8 MB, free: 3.688 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.588, allocations: 0 / 465.8 MB, free: 3.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.5881, allocations: 4 kB / 465.8 MB, free: 3.684 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.001488/0.5896, allocations: 0.6658 MB / 466.5 MB, free: 2.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.5896, allocations: 8.031 kB / 466.5 MB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.5898, allocations: 55.47 kB / 466.5 MB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.5904, allocations: 303.4 kB / 466.8 MB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.5905, allocations: 12 kB / 466.8 MB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.5905, allocations: 24 kB / 466.9 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008567/0.5914, allocations: 325.9 kB / 467.2 MB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.5925, allocations: 0.4947 MB / 467.7 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.5926, allocations: 0 / 467.7 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.5926, allocations: 3.953 kB / 467.7 MB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.215e-05/0.5927, allocations: 24.77 kB / 467.7 MB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.5956, allocations: 1.252 MB / 468.9 MB, free: 380 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.5962, allocations: 235.6 kB / 469.2 MB, free: 116 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.5965, allocations: 106.5 kB / 469.3 MB, free: 0 / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-05/0.5966, allocations: 12.06 kB / 469.3 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.5966, allocations: 42.36 kB / 469.3 MB, free: 15.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.414e-06/0.5967, allocations: 0 / 469.3 MB, free: 15.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008835/0.5976, allocations: 253.3 kB / 469.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.5976, allocations: 106.8 kB / 469.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.598, allocations: 224.5 kB / 469.9 MB, free: 15.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.5981, allocations: 29.7 kB / 469.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.5983, allocations: 286.3 kB / 470.2 MB, free: 15.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.5984, allocations: 59.11 kB / 470.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.5984, allocations: 0 / 470.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5985, allocations: 323 kB / 470.6 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.5988, allocations: 96.05 kB / 470.7 MB, free: 14.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.5992, allocations: 140.9 kB / 470.8 MB, free: 14.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.5996, allocations: 110 kB / 470.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5996, allocations: 4 kB / 470.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008488/0.6004, allocations: 277.3 kB / 471.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6005, allocations: 4 kB / 471.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/0.6006, allocations: 27.98 kB / 471.2 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.6007, allocations: 7.953 kB / 471.2 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.6011, allocations: 48.05 kB / 471.3 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6011, allocations: 0 / 471.3 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.6015, allocations: 31.88 kB / 471.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.6016, allocations: 12 kB / 471.3 MB, free: 13.86 MB / 410.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 () * 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.0001285/0.6017, allocations: 110.5 kB / 471.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008185/0.6026, allocations: 257.9 kB / 471.7 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.6027, allocations: 23.67 kB / 471.7 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.6038, allocations: 342 kB / 472 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.6038, allocations: 4 kB / 472.1 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6038, allocations: 7.922 kB / 472.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.6038, allocations: 0 / 472.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008093/0.6047, allocations: 337.9 kB / 472.4 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/0.6048, allocations: 27.98 kB / 472.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.6051, allocations: 32.03 kB / 472.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.6051, allocations: 4 kB / 472.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.6052, allocations: 7.984 kB / 472.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.6052, allocations: 7.953 kB / 472.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6052, allocations: 0 / 472.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008893/0.6061, allocations: 0.5169 MB / 473 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.6064, allocations: 144.8 kB / 473.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/0.6065, allocations: 4 kB / 473.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.607, allocations: 27.97 kB / 473.2 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.6071, allocations: 15.98 kB / 473.2 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.6072, allocations: 11.98 kB / 473.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002738/0.6075, allocations: 184.5 kB / 473.4 MB, free: 11.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6075, allocations: 0 / 473.4 MB, free: 11.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001028/0.6085, allocations: 179.3 kB / 473.5 MB, free: 11.56 MB / 410.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 () * 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.001913/0.6104, allocations: 1.365 MB / 474.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009829/0.6115, allocations: 459.1 kB / 475.4 MB, free: 9.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6115, allocations: 0 / 475.4 MB, free: 9.652 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.612, allocations: 351.2 kB / 475.7 MB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.6126, allocations: 28.86 kB / 475.7 MB, free: 9.227 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.6154, allocations: 0.7385 MB / 476.5 MB, free: 8.438 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.616, allocations: 0.8722 MB / 477.3 MB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.6163, allocations: 111.4 kB / 477.4 MB, free: 7.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6163, allocations: 0 / 477.4 MB, free: 7.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.34/3.956, allocations: 8.164 MB / 485.6 MB, free: 111.6 MB / 410.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_res.mat does not exist to compare? outputFormat=mat