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/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.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.409/2.409, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3808, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1709/0.5518, allocations: 82.1 MB / 440.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5521, allocations: 71.95 kB / 440.3 MB, free: 12.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.5692, allocations: 4.131 MB / 444.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.5693, allocations: 0 / 444.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.5693, allocations: 8 kB / 444.4 MB, free: 8.426 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.001043/0.5703, allocations: 0.5083 MB / 445 MB, free: 7.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.5704, allocations: 12.03 kB / 445 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.906e-05/0.5705, allocations: 31.67 kB / 445 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.5707, allocations: 194.7 kB / 445.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.5709, allocations: 24.77 kB / 445.2 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.571, allocations: 20 kB / 445.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000564/0.5715, allocations: 181.5 kB / 445.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.5721, allocations: 226.1 kB / 445.6 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.5722, allocations: 0 / 445.6 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.5722, allocations: 448 / 445.6 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.5722, allocations: 11.95 kB / 445.6 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.5748, allocations: 0.9617 MB / 446.6 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.231e-05/0.5749, allocations: 26.58 kB / 446.6 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.575, allocations: 28.86 kB / 446.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.575, allocations: 0 / 446.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.5751, allocations: 38.56 kB / 446.7 MB, free: 6.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.235e-06/0.5751, allocations: 0 / 446.7 MB, free: 6.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002094/0.5753, allocations: 53.52 kB / 446.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.5753, allocations: 51.41 kB / 446.8 MB, free: 5.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.5757, allocations: 226 kB / 447 MB, free: 5.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.5757, allocations: 25.7 kB / 447 MB, free: 5.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.576, allocations: 309.1 kB / 447.3 MB, free: 5.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.576, allocations: 11.91 kB / 447.4 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.5761, allocations: 4.031 kB / 447.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5762, allocations: 326.8 kB / 447.7 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.5764, allocations: 48 kB / 447.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.5766, allocations: 81.7 kB / 447.8 MB, free: 4.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.5768, allocations: 63.91 kB / 447.9 MB, free: 4.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5768, allocations: 0 / 447.9 MB, free: 4.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004841/0.5773, allocations: 185.6 kB / 448.1 MB, free: 4.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5773, allocations: 12.03 kB / 448.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5773, allocations: 0 / 448.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.5774, allocations: 0 / 448.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.5779, allocations: 59.89 kB / 448.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.578, allocations: 3.984 kB / 448.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.5784, allocations: 31.59 kB / 448.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.5784, allocations: 7.938 kB / 448.2 MB, free: 4.492 MB / 378.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 () * 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.0001084/0.5785, allocations: 120.9 kB / 448.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001464/0.5787, allocations: 57.55 kB / 448.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.5788, allocations: 15.81 kB / 448.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.5788, allocations: 21.17 kB / 448.4 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5788, allocations: 0 / 448.4 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5788, allocations: 0 / 448.4 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5789, allocations: 3.953 kB / 448.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008294/0.5797, allocations: 475.8 kB / 448.8 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.5797, allocations: 96 / 448.8 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.5798, allocations: 8 kB / 448.9 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5798, allocations: 0 / 448.9 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.5798, allocations: 0 / 448.9 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.5798, allocations: 3.953 kB / 448.9 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5798, allocations: 3.984 kB / 448.9 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.58, allocations: 101.7 kB / 449 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.5801, allocations: 96.91 kB / 449.1 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.5802, allocations: 3.953 kB / 449.1 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.5804, allocations: 4 kB / 449.1 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.5804, allocations: 7.984 kB / 449.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.5804, allocations: 4 kB / 449.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002381/0.5807, allocations: 172.6 kB / 449.2 MB, free: 3.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5807, allocations: 0 / 449.2 MB, free: 3.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003938/0.5811, allocations: 63.75 kB / 449.3 MB, free: 3.25 MB / 378.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 () * 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.0005097/0.5816, allocations: 0.7031 MB / 450 MB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.5819, allocations: 107.9 kB / 450.1 MB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.582, allocations: 4.094 kB / 450.1 MB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.582, allocations: 8 kB / 450.1 MB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.5823, allocations: 17.92 kB / 450.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009551/0.5833, allocations: 306.3 kB / 450.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.5837, allocations: 0.7476 MB / 451.2 MB, free: 1.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.5839, allocations: 79.41 kB / 451.3 MB, free: 1.176 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5839, allocations: 0 / 451.3 MB, free: 1.176 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.678/3.262, allocations: 3.477 MB / 454.7 MB, free: 13.7 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