Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sources.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.Sources,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.287e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4104, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.5585, allocations: 82.18 MB / 440.3 MB, free: 12.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.5588, allocations: 63.97 kB / 440.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03196/0.5908, allocations: 6.825 MB / 447.2 MB, free: 5.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5908, allocations: 0 / 447.2 MB, free: 5.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.5909, allocations: 8 kB / 447.2 MB, free: 5.648 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001618/0.5925, allocations: 0.5938 MB / 447.8 MB, free: 5.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.5926, allocations: 12.03 kB / 447.8 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.5928, allocations: 43.48 kB / 447.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.5933, allocations: 272.3 kB / 448.1 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.5934, allocations: 8 kB / 448.1 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.5935, allocations: 20 kB / 448.1 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006497/0.5941, allocations: 189.5 kB / 448.3 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/0.5949, allocations: 282.3 kB / 448.6 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.5949, allocations: 3.953 kB / 448.6 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.5949, allocations: 0 / 448.6 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.595, allocations: 12 kB / 448.6 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.5979, allocations: 1.212 MB / 449.8 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/0.5985, allocations: 158.6 kB / 450 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.5986, allocations: 51.8 kB / 450 MB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.5987, allocations: 11.95 kB / 450 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.5987, allocations: 38.5 kB / 450.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.437e-06/0.5988, allocations: 0 / 450.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005107/0.5993, allocations: 129.4 kB / 450.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.5994, allocations: 128.5 kB / 450.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.5998, allocations: 234.3 kB / 450.6 MB, free: 1.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5998, allocations: 25.7 kB / 450.6 MB, free: 1.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.6001, allocations: 306 kB / 450.9 MB, free: 1.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.6002, allocations: 47.36 kB / 450.9 MB, free: 1.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.6002, allocations: 0 / 450.9 MB, free: 1.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6004, allocations: 318.8 kB / 451.2 MB, free: 1.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.6005, allocations: 48.56 kB / 451.3 MB, free: 1.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.6008, allocations: 136.6 kB / 451.4 MB, free: 1.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.601, allocations: 76 kB / 451.5 MB, free: 1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6011, allocations: 0 / 451.5 MB, free: 1 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005929/0.6017, allocations: 209.2 kB / 451.7 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.6017, allocations: 8 kB / 451.7 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.6017, allocations: 7.953 kB / 451.7 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.6018, allocations: 4.25 kB / 451.7 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/0.6024, allocations: 83.89 kB / 451.8 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.6025, allocations: 7.938 kB / 451.8 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.603, allocations: 43.66 kB / 451.9 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.603, allocations: 8 kB / 451.9 MB, free: 0.6289 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001445/0.6032, allocations: 116.9 kB / 452 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004372/0.6036, allocations: 133.3 kB / 452.1 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.6037, allocations: 27.67 kB / 452.1 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.6039, allocations: 29.64 kB / 452.2 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6039, allocations: 0 / 452.2 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6039, allocations: 7.938 kB / 452.2 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6039, allocations: 0 / 452.2 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.6051, allocations: 0.5374 MB / 452.7 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.6052, allocations: 4 kB / 452.7 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.6056, allocations: 39.97 kB / 452.7 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.6056, allocations: 4 kB / 452.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.6056, allocations: 160 / 452.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.6056, allocations: 8 kB / 452.8 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/0.6057, allocations: 3.938 kB / 452.8 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.6062, allocations: 413.2 kB / 453.2 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.6064, allocations: 100.8 kB / 453.3 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.6064, allocations: 4 kB / 453.3 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.6068, allocations: 19.98 kB / 453.3 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.6069, allocations: 20.11 kB / 453.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.607, allocations: 7.984 kB / 453.3 MB, free: 15.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002732/0.6072, allocations: 174 kB / 453.5 MB, free: 14.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6072, allocations: 0 / 453.5 MB, free: 14.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006136/0.6079, allocations: 75.64 kB / 453.6 MB, free: 14.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.001126/0.609, allocations: 1.352 MB / 454.9 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.6095, allocations: 131.9 kB / 455 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6095, allocations: 3.938 kB / 455 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.6097, allocations: 51.92 kB / 455.1 MB, free: 13.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.6102, allocations: 18.3 kB / 455.1 MB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.6117, allocations: 435 kB / 455.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.6123, allocations: 0.7791 MB / 456.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.6126, allocations: 99.41 kB / 456.4 MB, free: 11.76 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6126, allocations: 0 / 456.4 MB, free: 11.76 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.608/3.22, allocations: 4.336 MB / 460.7 MB, free: 7.426 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat