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.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.804/1.804, allocations: 171.2 MB / 186.8 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 12 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08689, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.037/2.124, allocations: 0.6308 GB / 0.8965 GB, free: 90.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/2.124, allocations: 78.3 kB / 0.8966 GB, free: 90.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6979/2.822, allocations: 150.4 MB / 1.043 GB, free: 80.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/2.822, allocations: 0 / 1.043 GB, free: 80.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.968e-05/2.822, allocations: 7.875 kB / 1.043 GB, free: 80.48 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001531/2.824, allocations: 0.7013 MB / 1.044 GB, free: 79.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/2.824, allocations: 11.59 kB / 1.044 GB, free: 79.97 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/2.824, allocations: 84.66 kB / 1.044 GB, free: 79.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007253/2.825, allocations: 71.88 kB / 1.044 GB, free: 79.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/2.825, allocations: 338.6 kB / 1.045 GB, free: 79.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/2.825, allocations: 28.69 kB / 1.045 GB, free: 79.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.34e-05/2.825, allocations: 43.39 kB / 1.045 GB, free: 79.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/2.826, allocations: 464.5 kB / 1.045 GB, free: 79.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/2.826, allocations: 0 / 1.045 GB, free: 79.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/2.826, allocations: 19.59 kB / 1.045 GB, free: 79.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/2.826, allocations: 7.625 kB / 1.045 GB, free: 79.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/2.827, allocations: 308 kB / 1.045 GB, free: 79.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01656/2.844, allocations: 6.297 MB / 1.052 GB, free: 74.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/2.844, allocations: 276.9 kB / 1.052 GB, free: 74.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0132/2.857, allocations: 3.452 MB / 1.055 GB, free: 72.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/2.858, allocations: 34.56 kB / 1.055 GB, free: 72.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/2.858, allocations: 3.906 kB / 1.055 GB, free: 72.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01626/2.874, allocations: 2.387 MB / 1.058 GB, free: 71.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/2.874, allocations: 54.44 kB / 1.058 GB, free: 71.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/2.874, allocations: 277.1 kB / 1.058 GB, free: 71.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/2.874, allocations: 33.7 kB / 1.058 GB, free: 71.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/2.875, allocations: 273.7 kB / 1.058 GB, free: 71.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/2.875, allocations: 163.4 kB / 1.058 GB, free: 71.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/2.875, allocations: 8 kB / 1.058 GB, free: 71.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/2.875, allocations: 334.7 kB / 1.059 GB, free: 70.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/2.875, allocations: 155.1 kB / 1.059 GB, free: 70.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/2.876, allocations: 275.2 kB / 1.059 GB, free: 70.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/2.876, allocations: 191.5 kB / 1.059 GB, free: 70.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/2.876, allocations: 0 / 1.059 GB, free: 70.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001605/2.878, allocations: 0.5831 MB / 1.06 GB, free: 69.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/2.878, allocations: 11.94 kB / 1.06 GB, free: 69.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/2.878, allocations: 3.781 kB / 1.06 GB, free: 69.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01513/2.893, allocations: 0.8577 MB / 1.061 GB, free: 69.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/2.894, allocations: 109.7 kB / 1.061 GB, free: 69.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/2.896, allocations: 2.472 MB / 1.063 GB, free: 67.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/2.897, allocations: 38.42 kB / 1.063 GB, free: 67.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/2.897, allocations: 19.31 kB / 1.063 GB, free: 67.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003319/2.897, allocations: 180.6 kB / 1.063 GB, free: 66.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/2.897, allocations: 42.39 kB / 1.064 GB, free: 66.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/2.899, allocations: 0.8508 MB / 1.064 GB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/2.899, allocations: 3.875 kB / 1.064 GB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/2.899, allocations: 3.938 kB / 1.064 GB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001306/2.901, allocations: 0.958 MB / 1.065 GB, free: 65.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/2.903, allocations: 1.499 MB / 1.067 GB, free: 64.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/2.904, allocations: 0 / 1.067 GB, free: 64.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/2.904, allocations: 76.12 kB / 1.067 GB, free: 64.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005186/2.909, allocations: 0.5876 MB / 1.067 GB, free: 64.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/2.909, allocations: 15.89 kB / 1.067 GB, free: 64.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/2.911, allocations: 1.283 MB / 1.069 GB, free: 63.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.911, allocations: 0 / 1.069 GB, free: 63.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/2.913, allocations: 1.233 MB / 1.07 GB, free: 62.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/2.913, allocations: 127.2 kB / 1.07 GB, free: 62.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.831e-05/2.913, allocations: 12.03 kB / 1.07 GB, free: 62.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/2.914, allocations: 26.91 kB / 1.07 GB, free: 62.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/2.914, allocations: 34.56 kB / 1.07 GB, free: 62.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/2.914, allocations: 15.23 kB / 1.07 GB, free: 62.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003085/2.914, allocations: 212.6 kB / 1.07 GB, free: 62.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.914, allocations: 0 / 1.07 GB, free: 62.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001364/2.916, allocations: 248.7 kB / 1.071 GB, free: 62.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004105/2.92, allocations: 2.188 MB / 1.073 GB, free: 60.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/2.922, allocations: 0.6836 MB / 1.073 GB, free: 59.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/2.922, allocations: 0 / 1.073 GB, free: 59.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/2.923, allocations: 449 kB / 1.074 GB, free: 59.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/2.925, allocations: 236.5 kB / 1.074 GB, free: 58.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007606/2.933, allocations: 5.298 MB / 1.079 GB, free: 53.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/2.933, allocations: 0.8521 MB / 1.08 GB, free: 52.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/2.934, allocations: 159.4 kB / 1.08 GB, free: 52.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/2.934, allocations: 0 / 1.08 GB, free: 52.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.894/5.828, allocations: 15.12 MB / 1.095 GB, free: 37.36 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat