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/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,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.433/2.433, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004492, allocations: 15.98 kB / 314.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3611, allocations: 54.85 MB / 369.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.531, allocations: 93.22 MB / 462.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/0.5314, allocations: 99.92 kB / 462.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07421/0.6056, allocations: 15.26 MB / 478 MB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.488e-06/0.6057, allocations: 4 kB / 478 MB, free: 15.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.6057, allocations: 4 kB / 478 MB, free: 15.78 MB / 410.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.001755/0.6075, allocations: 0.7149 MB / 478.7 MB, free: 15.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.6075, allocations: 8.031 kB / 478.7 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.6077, allocations: 86.52 kB / 478.8 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.6078, allocations: 47.44 kB / 478.8 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.6084, allocations: 295.5 kB / 479.1 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.6084, allocations: 29 kB / 479.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/0.6085, allocations: 39.94 kB / 479.2 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.6101, allocations: 0.5817 MB / 479.8 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6101, allocations: 4 kB / 479.8 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.6102, allocations: 19.95 kB / 479.8 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.6103, allocations: 20.98 kB / 479.8 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.6118, allocations: 451.6 kB / 480.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.6148, allocations: 1.43 MB / 481.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009208/0.6157, allocations: 279.6 kB / 481.9 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.616e-05/0.6158, allocations: 8.062 kB / 482 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.6158, allocations: 46.5 kB / 482 MB, free: 11.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.875e-06/0.6158, allocations: 0 / 482 MB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002253/0.6181, allocations: 0.7074 MB / 482.7 MB, free: 10.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.6182, allocations: 110.8 kB / 482.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009503/0.6192, allocations: 0.4931 MB / 483.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.6192, allocations: 29.64 kB / 483.3 MB, free: 10.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.6194, allocations: 250.6 kB / 483.6 MB, free: 9.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.6195, allocations: 55.19 kB / 483.6 MB, free: 9.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.6196, allocations: 4 kB / 483.6 MB, free: 9.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6197, allocations: 322.8 kB / 484 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.6204, allocations: 136 kB / 484.1 MB, free: 9.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.621, allocations: 182.3 kB / 484.3 MB, free: 9.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.6217, allocations: 153.1 kB / 484.4 MB, free: 8.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6217, allocations: 0 / 484.4 MB, free: 8.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001491/0.6232, allocations: 373.2 kB / 484.8 MB, free: 8.602 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.6232, allocations: 15.94 kB / 484.8 MB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.6234, allocations: 23.98 kB / 484.8 MB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.6234, allocations: 7.938 kB / 484.8 MB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.6238, allocations: 39.95 kB / 484.9 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.6238, allocations: 0 / 484.9 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.6243, allocations: 67.45 kB / 484.9 MB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.6244, allocations: 15.92 kB / 484.9 MB, free: 8.434 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 () * 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.0003101/0.6247, allocations: 189.7 kB / 485.1 MB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.6249, allocations: 43.42 kB / 485.2 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.6263, allocations: 402.2 kB / 485.6 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.6263, allocations: 4 kB / 485.6 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6263, allocations: 0 / 485.6 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.6263, allocations: 4 kB / 485.6 MB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008502/0.6272, allocations: 369.2 kB / 485.9 MB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.854e-05/0.6273, allocations: 31.97 kB / 486 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.6276, allocations: 35.91 kB / 486 MB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.6276, allocations: 0 / 486 MB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.6277, allocations: 15.98 kB / 486 MB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.6277, allocations: 7.953 kB / 486 MB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6277, allocations: 0 / 486 MB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.6292, allocations: 0.6183 MB / 486.6 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.6295, allocations: 168.4 kB / 486.8 MB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.6296, allocations: 4 kB / 486.8 MB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/0.6302, allocations: 31.97 kB / 486.8 MB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6303, allocations: 23.92 kB / 486.9 MB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.6303, allocations: 11.98 kB / 486.9 MB, free: 6.387 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007624/0.6311, allocations: 399 kB / 487.3 MB, free: 5.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6311, allocations: 0 / 487.3 MB, free: 5.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009824/0.6321, allocations: 167.8 kB / 487.4 MB, free: 5.832 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 () * 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.002548/0.6347, allocations: 1.471 MB / 488.9 MB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.6362, allocations: 0.5381 MB / 489.4 MB, free: 3.734 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6362, allocations: 320 / 489.4 MB, free: 3.734 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008144/0.6371, allocations: 395.1 kB / 489.8 MB, free: 3.293 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008162/0.6379, allocations: 98.72 kB / 489.9 MB, free: 3.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008043/0.646, allocations: 3.796 MB / 493.7 MB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.6466, allocations: 0.8577 MB / 494.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.6469, allocations: 119.4 kB / 494.7 MB, free: 14.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6469, allocations: 4 kB / 494.7 MB, free: 14.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.619/3.266, allocations: 10.14 MB / 0.493 GB, free: 4.191 MB / 426.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