Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.536/2.536, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007061/0.0007062, allocations: 16 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4048, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5531, allocations: 82.86 MB / 452.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5534, allocations: 83.88 kB / 452.3 MB, free: 7.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01848/0.5719, allocations: 4.155 MB / 456.5 MB, free: 3.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.572, allocations: 0 / 456.5 MB, free: 3.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.572, allocations: 8 kB / 456.5 MB, free: 3.379 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001227/0.5733, allocations: 0.529 MB / 457 MB, free: 2.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5733, allocations: 12.02 kB / 457 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.5734, allocations: 62.55 kB / 457.1 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.586e-05/0.5736, allocations: 39.56 kB / 457.1 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.5738, allocations: 194.7 kB / 457.3 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.574, allocations: 28.66 kB / 457.3 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/0.5741, allocations: 28 kB / 457.4 MB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007853/0.5749, allocations: 282 kB / 457.6 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5749, allocations: 0 / 457.6 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.575, allocations: 16 kB / 457.6 MB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.575, allocations: 11.95 kB / 457.7 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007205/0.5757, allocations: 222.5 kB / 457.9 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.5785, allocations: 1.032 MB / 458.9 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.5787, allocations: 30.58 kB / 458.9 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.5787, allocations: 3.938 kB / 458.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.5787, allocations: 30.56 kB / 459 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.5788, allocations: 0 / 459 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002881/0.5791, allocations: 65.67 kB / 459 MB, free: 0.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.5791, allocations: 63.38 kB / 459.1 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.5797, allocations: 298 kB / 459.4 MB, free: 256 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.5798, allocations: 25.7 kB / 459.4 MB, free: 224 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.58, allocations: 293.4 kB / 459.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.5801, allocations: 7.891 kB / 459.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.5801, allocations: 8 kB / 459.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5802, allocations: 314.8 kB / 460 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.5805, allocations: 71.97 kB / 460.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.5808, allocations: 89.61 kB / 460.2 MB, free: 15.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.581, allocations: 80.48 kB / 460.3 MB, free: 15.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5811, allocations: 3.938 kB / 460.3 MB, free: 15.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006495/0.5817, allocations: 213.6 kB / 460.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.5818, allocations: 4 kB / 460.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5818, allocations: 7.969 kB / 460.5 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5818, allocations: 0 / 460.5 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.5823, allocations: 55.95 kB / 460.5 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.5824, allocations: 3.781 kB / 460.5 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.5828, allocations: 51.42 kB / 460.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.5829, allocations: 8 kB / 460.6 MB, free: 15.01 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001917/0.5831, allocations: 129.8 kB / 460.7 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.5832, allocations: 19.81 kB / 460.7 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.5832, allocations: 24.89 kB / 460.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.5833, allocations: 4 kB / 460.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5833, allocations: 0 / 460.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.934e-06/0.5833, allocations: 3.953 kB / 460.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.5842, allocations: 0.4993 MB / 461.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.5843, allocations: 4 kB / 461.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.5843, allocations: 3.984 kB / 461.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.5843, allocations: 8.062 kB / 461.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5844, allocations: 3.953 kB / 461.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5844, allocations: 0 / 461.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.5844, allocations: 3.938 kB / 461.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.5846, allocations: 103.5 kB / 461.4 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.5847, allocations: 112.8 kB / 461.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.5848, allocations: 4 kB / 461.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.585, allocations: 4 kB / 461.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.585, allocations: 4 kB / 461.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.5851, allocations: 0 / 461.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003928/0.5855, allocations: 225.9 kB / 461.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5855, allocations: 0 / 461.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004221/0.5859, allocations: 63.84 kB / 461.8 MB, free: 13.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005791/0.5865, allocations: 0.7224 MB / 462.5 MB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004197/0.5869, allocations: 115.9 kB / 462.6 MB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.587, allocations: 4.094 kB / 462.6 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.587, allocations: 11.94 kB / 462.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.5873, allocations: 28.81 kB / 462.7 MB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.5902, allocations: 1.403 MB / 464.1 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.5906, allocations: 0.7482 MB / 464.8 MB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.5909, allocations: 71.41 kB / 464.9 MB, free: 10.44 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5909, allocations: 0 / 464.9 MB, free: 10.44 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.39/2.981, allocations: 3.762 MB / 468.7 MB, free: 6.684 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat