Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.637/1.637, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 16 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08452/0.08492, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.982/2.067, allocations: 0.6308 GB / 0.8965 GB, free: 89.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/2.068, allocations: 82.39 kB / 0.8966 GB, free: 89.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6972/2.765, allocations: 150.4 MB / 1.043 GB, free: 80.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/2.765, allocations: 0 / 1.043 GB, free: 80.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.811e-05/2.765, allocations: 7.781 kB / 1.043 GB, free: 80.67 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.00153/2.767, allocations: 0.7004 MB / 1.044 GB, free: 80.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/2.767, allocations: 11.28 kB / 1.044 GB, free: 80.14 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/2.767, allocations: 81.7 kB / 1.044 GB, free: 80.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007205/2.768, allocations: 72.88 kB / 1.044 GB, free: 80.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/2.768, allocations: 345.4 kB / 1.045 GB, free: 79.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/2.768, allocations: 30.94 kB / 1.045 GB, free: 79.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-05/2.768, allocations: 42.7 kB / 1.045 GB, free: 79.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009386/2.769, allocations: 461.2 kB / 1.045 GB, free: 79.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/2.769, allocations: 5.375 kB / 1.045 GB, free: 79.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/2.769, allocations: 15.84 kB / 1.045 GB, free: 79.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/2.769, allocations: 10.62 kB / 1.045 GB, free: 79.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/2.77, allocations: 304.7 kB / 1.045 GB, free: 79.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/2.787, allocations: 6.295 MB / 1.052 GB, free: 74.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/2.788, allocations: 278.4 kB / 1.052 GB, free: 74.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01388/2.802, allocations: 3.444 MB / 1.055 GB, free: 72.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/2.802, allocations: 34.56 kB / 1.055 GB, free: 72.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.885e-06/2.802, allocations: 6.016 kB / 1.055 GB, free: 72.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.0159/2.818, allocations: 2.395 MB / 1.058 GB, free: 70.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/2.818, allocations: 59.31 kB / 1.058 GB, free: 70.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/2.818, allocations: 271.7 kB / 1.058 GB, free: 70.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/2.818, allocations: 37.64 kB / 1.058 GB, free: 70.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/2.818, allocations: 226 kB / 1.058 GB, free: 70.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/2.819, allocations: 158 kB / 1.058 GB, free: 70.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/2.819, allocations: 8 kB / 1.058 GB, free: 70.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/2.819, allocations: 348 kB / 1.059 GB, free: 70.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/2.819, allocations: 151.3 kB / 1.059 GB, free: 69.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/2.82, allocations: 271.8 kB / 1.059 GB, free: 69.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/2.82, allocations: 197.6 kB / 1.059 GB, free: 69.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/2.82, allocations: 11.59 kB / 1.059 GB, free: 69.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001603/2.822, allocations: 0.5925 MB / 1.06 GB, free: 69.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/2.822, allocations: 6.094 kB / 1.06 GB, free: 69.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/2.822, allocations: 3.906 kB / 1.06 GB, free: 69.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01506/2.837, allocations: 0.8615 MB / 1.061 GB, free: 68.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/2.838, allocations: 112.8 kB / 1.061 GB, free: 68.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/2.84, allocations: 2.467 MB / 1.063 GB, free: 66.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/2.841, allocations: 39.67 kB / 1.063 GB, free: 66.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/2.841, allocations: 19.66 kB / 1.063 GB, free: 66.41 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.0003117/2.841, allocations: 181.1 kB / 1.063 GB, free: 66.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/2.841, allocations: 37.84 kB / 1.064 GB, free: 66.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/2.843, allocations: 0.8557 MB / 1.064 GB, free: 65.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/2.843, allocations: 11.95 kB / 1.064 GB, free: 65.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/2.843, allocations: 0 / 1.064 GB, free: 65.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/2.844, allocations: 0.9571 MB / 1.065 GB, free: 65.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/2.847, allocations: 1.493 MB / 1.067 GB, free: 63.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/2.847, allocations: 0 / 1.067 GB, free: 63.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/2.847, allocations: 82.7 kB / 1.067 GB, free: 63.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005145/2.853, allocations: 0.5925 MB / 1.067 GB, free: 63.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/2.853, allocations: 11.55 kB / 1.067 GB, free: 63.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/2.854, allocations: 1.283 MB / 1.069 GB, free: 62.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/2.854, allocations: 7.156 kB / 1.069 GB, free: 62.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/2.856, allocations: 1.226 MB / 1.07 GB, free: 61.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/2.856, allocations: 124.6 kB / 1.07 GB, free: 61.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/2.856, allocations: 4 kB / 1.07 GB, free: 61.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/2.857, allocations: 31.92 kB / 1.07 GB, free: 61.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/2.857, allocations: 35.42 kB / 1.07 GB, free: 61.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/2.857, allocations: 19.98 kB / 1.07 GB, free: 61.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002893/2.857, allocations: 205.9 kB / 1.07 GB, free: 60.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.857, allocations: 0 / 1.07 GB, free: 60.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001297/2.859, allocations: 247.9 kB / 1.071 GB, free: 60.69 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.003965/2.863, allocations: 2.192 MB / 1.073 GB, free: 58.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001703/2.864, allocations: 0.6948 MB / 1.073 GB, free: 57.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/2.864, allocations: 4.188 kB / 1.073 GB, free: 57.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/2.866, allocations: 432.2 kB / 1.074 GB, free: 57.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/2.868, allocations: 221.1 kB / 1.074 GB, free: 57.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006776/2.875, allocations: 5.276 MB / 1.079 GB, free: 51.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/2.875, allocations: 0.8404 MB / 1.08 GB, free: 50.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005554/2.876, allocations: 72.33 kB / 1.08 GB, free: 50.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/2.876, allocations: 155.4 kB / 1.08 GB, free: 50.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/2.876, allocations: 0 / 1.08 GB, free: 50.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05593/2.932, allocations: 17.38 MB / 1.097 GB, free: 33.34 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/2.933, allocations: 201.9 kB / 1.097 GB, free: 33.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/6.646, allocations: 11.88 kB / 1.097 GB, free: 33.09 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat