Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.738/1.738, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 8 kB / 233.4 MB, free: 2.91 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.08918, allocations: 38.76 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.252, allocations: 328.6 MB / 0.5867 GB, free: 109.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/1.252, allocations: 86.84 kB / 0.5868 GB, free: 109.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2711/1.523, allocations: 87.56 MB / 0.6723 GB, free: 42.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.523, allocations: 0 / 0.6723 GB, free: 42.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.238e-05/1.523, allocations: 4 kB / 0.6723 GB, free: 42.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000942/1.524, allocations: 0.5621 MB / 0.6728 GB, free: 41.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.524, allocations: 12.03 kB / 0.6728 GB, free: 41.45 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.165e-05/1.524, allocations: 54.92 kB / 0.6729 GB, free: 41.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/1.525, allocations: 51.61 kB / 0.6729 GB, free: 41.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/1.525, allocations: 282.5 kB / 0.6732 GB, free: 41.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/1.525, allocations: 20.56 kB / 0.6732 GB, free: 41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/1.525, allocations: 27.94 kB / 0.6732 GB, free: 40.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/1.526, allocations: 293.3 kB / 0.6735 GB, free: 40.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/1.526, allocations: 3.984 kB / 0.6735 GB, free: 40.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/1.526, allocations: 12 kB / 0.6735 GB, free: 40.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.526, allocations: 8 kB / 0.6736 GB, free: 40.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/1.527, allocations: 198.1 kB / 0.6737 GB, free: 40.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/1.529, allocations: 1.289 MB / 0.675 GB, free: 39.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/1.529, allocations: 192.6 kB / 0.6752 GB, free: 38.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/1.53, allocations: 166.4 kB / 0.6753 GB, free: 38.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/1.53, allocations: 38.75 kB / 0.6754 GB, free: 38.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.805e-06/1.53, allocations: 0 / 0.6754 GB, free: 38.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003596/1.533, allocations: 1.035 MB / 0.6764 GB, free: 37.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/1.533, allocations: 55.34 kB / 0.6764 GB, free: 37.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/1.534, allocations: 237.7 kB / 0.6767 GB, free: 37.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/1.534, allocations: 29.7 kB / 0.6767 GB, free: 37.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/1.534, allocations: 234.6 kB / 0.6769 GB, free: 36.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/1.534, allocations: 94.64 kB / 0.677 GB, free: 36.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/1.534, allocations: 12 kB / 0.677 GB, free: 36.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/1.534, allocations: 328.3 kB / 0.6773 GB, free: 36.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/1.534, allocations: 87.69 kB / 0.6774 GB, free: 36.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/1.534, allocations: 179.8 kB / 0.6776 GB, free: 36.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/1.535, allocations: 107.9 kB / 0.6777 GB, free: 36.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.535, allocations: 0 / 0.6777 GB, free: 36.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008428/1.536, allocations: 432.3 kB / 0.6781 GB, free: 35.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.536, allocations: 8 kB / 0.6781 GB, free: 35.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.536, allocations: 4 kB / 0.6781 GB, free: 35.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/1.536, allocations: 41.7 kB / 0.6782 GB, free: 35.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/1.536, allocations: 83.83 kB / 0.6782 GB, free: 35.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/1.538, allocations: 2.568 MB / 0.6807 GB, free: 32.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/1.539, allocations: 27.92 kB / 0.6808 GB, free: 32.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/1.539, allocations: 12 kB / 0.6808 GB, free: 32.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000237/1.539, allocations: 154 kB / 0.6809 GB, free: 32.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/1.539, allocations: 27.72 kB / 0.681 GB, free: 32.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007121/1.54, allocations: 358.7 kB / 0.6813 GB, free: 32.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.54, allocations: 0 / 0.6813 GB, free: 32.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.54, allocations: 4 kB / 0.6813 GB, free: 32.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005781/1.541, allocations: 0.6153 MB / 0.6819 GB, free: 31.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/1.542, allocations: 0.7547 MB / 0.6826 GB, free: 30.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.542, allocations: 0 / 0.6826 GB, free: 30.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/1.542, allocations: 51.97 kB / 0.6827 GB, free: 30.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/1.543, allocations: 32.75 kB / 0.6827 GB, free: 30.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.543, allocations: 7.984 kB / 0.6827 GB, free: 30.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008442/1.543, allocations: 1.292 MB / 0.684 GB, free: 28.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.543, allocations: 3.938 kB / 0.684 GB, free: 28.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/1.544, allocations: 0.5119 MB / 0.6845 GB, free: 28.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/1.544, allocations: 104.8 kB / 0.6846 GB, free: 28.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/1.545, allocations: 4 kB / 0.6846 GB, free: 28.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/1.545, allocations: 27.88 kB / 0.6846 GB, free: 28.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/1.545, allocations: 15.92 kB / 0.6846 GB, free: 28.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/1.545, allocations: 15.98 kB / 0.6847 GB, free: 28.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002333/1.545, allocations: 186 kB / 0.6848 GB, free: 28 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.545, allocations: 4.062 kB / 0.6848 GB, free: 28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007069/1.546, allocations: 116 kB / 0.6849 GB, free: 27.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001418/1.547, allocations: 1.275 MB / 0.6862 GB, free: 26.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008719/1.548, allocations: 453.1 kB / 0.6866 GB, free: 26.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.548, allocations: 0 / 0.6866 GB, free: 26.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004033/1.549, allocations: 218.6 kB / 0.6868 GB, free: 25.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.55, allocations: 154.3 kB / 0.687 GB, free: 25.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/1.554, allocations: 3.893 MB / 0.6908 GB, free: 21.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/1.555, allocations: 0.7686 MB / 0.6915 GB, free: 20.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/1.555, allocations: 91.41 kB / 0.6916 GB, free: 20.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.243e-06/1.555, allocations: 0 / 0.6916 GB, free: 20.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.818/4.373, allocations: 8.445 MB / 0.6999 GB, free: 12.35 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat