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/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.Sources,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.279/2.279, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006117/0.0006118, allocations: 12 kB / 314.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3508, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.4986, allocations: 82.94 MB / 452.3 MB, free: 7.551 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4989, allocations: 71.84 kB / 452.4 MB, free: 7.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03042/0.5294, allocations: 6.88 MB / 459.2 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5294, allocations: 0 / 459.2 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.5295, allocations: 4 kB / 459.3 MB, free: 0.5664 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.001537/0.531, allocations: 0.6198 MB / 459.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5311, allocations: 12.03 kB / 459.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.5312, allocations: 74.47 kB / 460 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5313, allocations: 43.48 kB / 460 MB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.5318, allocations: 276.5 kB / 460.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.5319, allocations: 25 kB / 460.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.532, allocations: 36 kB / 460.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.533, allocations: 362.7 kB / 460.7 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5331, allocations: 0 / 460.7 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.5331, allocations: 27.88 kB / 460.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.5332, allocations: 8 kB / 460.7 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.5343, allocations: 277 kB / 461 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.5372, allocations: 1.286 MB / 462.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.538, allocations: 207.1 kB / 462.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.538, allocations: 8.031 kB / 462.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.5381, allocations: 38.75 kB / 462.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.795e-06/0.5381, allocations: 0 / 462.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001305/0.5394, allocations: 281.2 kB / 462.8 MB, free: 12.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/0.5395, allocations: 132.5 kB / 462.9 MB, free: 12.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.54, allocations: 291.5 kB / 463.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.5401, allocations: 37.64 kB / 463.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.5403, allocations: 290 kB / 463.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.5404, allocations: 47.3 kB / 463.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.5404, allocations: 8 kB / 463.6 MB, free: 11.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.5405, allocations: 326.8 kB / 463.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.541, allocations: 88.5 kB / 464 MB, free: 11.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.5415, allocations: 176.2 kB / 464.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.5419, allocations: 111.9 kB / 464.3 MB, free: 11.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.5419, allocations: 4 kB / 464.3 MB, free: 11.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001092/0.5431, allocations: 309.2 kB / 464.6 MB, free: 10.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.5431, allocations: 4 kB / 464.6 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5431, allocations: 4 kB / 464.6 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.5431, allocations: 4 kB / 464.6 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.5438, allocations: 84.33 kB / 464.7 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.5438, allocations: 15.92 kB / 464.7 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.5443, allocations: 51.52 kB / 464.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.5443, allocations: 8 kB / 464.7 MB, free: 10.7 MB / 394.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 () * Number of clocked 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.0002292/0.5446, allocations: 149.7 kB / 464.9 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.5447, allocations: 35.62 kB / 464.9 MB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.57e-05/0.5448, allocations: 38.95 kB / 465 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.5449, allocations: 3.984 kB / 465 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.5449, allocations: 4 kB / 465 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5449, allocations: 0 / 465 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.546, allocations: 0.5876 MB / 465.6 MB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.546, allocations: 8 kB / 465.6 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.5464, allocations: 43.91 kB / 465.6 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.5465, allocations: 4 kB / 465.6 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.5465, allocations: 8 kB / 465.6 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5465, allocations: 0 / 465.6 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.5465, allocations: 7.953 kB / 465.6 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009671/0.5475, allocations: 485 kB / 466.1 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.5476, allocations: 112.7 kB / 466.2 MB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.5477, allocations: 4 kB / 466.2 MB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.5481, allocations: 19.98 kB / 466.2 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.5482, allocations: 27.88 kB / 466.3 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.5483, allocations: 4 kB / 466.3 MB, free: 9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003668/0.5486, allocations: 231 kB / 466.5 MB, free: 8.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5487, allocations: 0 / 466.5 MB, free: 8.777 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005676/0.5492, allocations: 67.84 kB / 466.6 MB, free: 8.711 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 () * Number of clocked 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.001437/0.5507, allocations: 1.439 MB / 468 MB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000933/0.5516, allocations: 208 kB / 468.2 MB, free: 7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5517, allocations: 0.5 kB / 468.2 MB, free: 7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.5521, allocations: 87.89 kB / 468.3 MB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.5525, allocations: 27.45 kB / 468.3 MB, free: 6.891 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.5574, allocations: 3.576 MB / 471.9 MB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.5579, allocations: 0.7877 MB / 472.7 MB, free: 2.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.5581, allocations: 103.4 kB / 472.8 MB, free: 2.281 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5581, allocations: 0 / 472.8 MB, free: 2.281 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.928/3.486, allocations: 4.512 MB / 477.3 MB, free: 96.72 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