Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003498, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 44.5 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.979/2.08, allocations: 0.6361 GB / 0.9374 GB, free: 45.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/2.08, allocations: 83.64 kB / 0.9374 GB, free: 45.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7209/2.801, allocations: 150.4 MB / 1.084 GB, free: 72.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/2.801, allocations: 4 kB / 1.084 GB, free: 72.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/2.801, allocations: 8 kB / 1.084 GB, free: 72.23 MB / 410.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.001646/2.803, allocations: 0.6943 MB / 1.085 GB, free: 71.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/2.803, allocations: 12.03 kB / 1.085 GB, free: 71.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/2.803, allocations: 82.45 kB / 1.085 GB, free: 71.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007494/2.804, allocations: 79.41 kB / 1.085 GB, free: 71.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/2.804, allocations: 339.7 kB / 1.086 GB, free: 70.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/2.804, allocations: 37 kB / 1.086 GB, free: 70.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.863e-05/2.804, allocations: 36 kB / 1.086 GB, free: 70.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/2.805, allocations: 459.6 kB / 1.086 GB, free: 70.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/2.805, allocations: 11.84 kB / 1.086 GB, free: 70.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/2.806, allocations: 16 kB / 1.086 GB, free: 70.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/2.806, allocations: 8 kB / 1.086 GB, free: 70.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/2.806, allocations: 311.7 kB / 1.086 GB, free: 70.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01664/2.823, allocations: 6.287 MB / 1.092 GB, free: 63.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/2.823, allocations: 277.2 kB / 1.093 GB, free: 62.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/2.837, allocations: 3.452 MB / 1.096 GB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/2.837, allocations: 47.14 kB / 1.096 GB, free: 59.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.765e-06/2.837, allocations: 0 / 1.096 GB, free: 59.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.01583/2.853, allocations: 2.382 MB / 1.098 GB, free: 56.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/2.853, allocations: 63.34 kB / 1.099 GB, free: 56.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/2.853, allocations: 266.4 kB / 1.099 GB, free: 56.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/2.853, allocations: 37.7 kB / 1.099 GB, free: 56.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/2.853, allocations: 274.5 kB / 1.099 GB, free: 56.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/2.854, allocations: 161.6 kB / 1.099 GB, free: 55.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/2.854, allocations: 8 kB / 1.099 GB, free: 55.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/2.854, allocations: 334.8 kB / 1.1 GB, free: 55.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/2.854, allocations: 149.1 kB / 1.1 GB, free: 55.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/2.855, allocations: 271.7 kB / 1.1 GB, free: 55.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/2.855, allocations: 200.7 kB / 1.1 GB, free: 54.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/2.855, allocations: 4 kB / 1.1 GB, free: 54.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001544/2.857, allocations: 0.5685 MB / 1.101 GB, free: 54.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/2.857, allocations: 11.94 kB / 1.101 GB, free: 54.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/2.857, allocations: 4 kB / 1.101 GB, free: 54.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01521/2.872, allocations: 0.8574 MB / 1.102 GB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/2.873, allocations: 107.8 kB / 1.102 GB, free: 53.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/2.875, allocations: 2.467 MB / 1.104 GB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/2.876, allocations: 43.91 kB / 1.104 GB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/2.876, allocations: 20 kB / 1.104 GB, free: 50.57 MB / 410.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.0003223/2.876, allocations: 173.7 kB / 1.104 GB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/2.876, allocations: 39.53 kB / 1.104 GB, free: 50.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/2.878, allocations: 0.859 MB / 1.105 GB, free: 49.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/2.878, allocations: 12.09 kB / 1.105 GB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/2.878, allocations: 0 / 1.105 GB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/2.879, allocations: 0.9689 MB / 1.106 GB, free: 48.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/2.882, allocations: 1.484 MB / 1.108 GB, free: 46.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/2.882, allocations: 7.953 kB / 1.108 GB, free: 46.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/2.882, allocations: 75.91 kB / 1.108 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005263/2.888, allocations: 0.5905 MB / 1.108 GB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/2.888, allocations: 19.98 kB / 1.108 GB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/2.889, allocations: 1.28 MB / 1.11 GB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.889, allocations: 0 / 1.11 GB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/2.891, allocations: 1.228 MB / 1.111 GB, free: 43.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/2.891, allocations: 128.5 kB / 1.111 GB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/2.891, allocations: 12.06 kB / 1.111 GB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/2.892, allocations: 27.84 kB / 1.111 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/2.892, allocations: 27.95 kB / 1.111 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/2.892, allocations: 15.98 kB / 1.111 GB, free: 43.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002876/2.892, allocations: 217.9 kB / 1.111 GB, free: 43.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/2.892, allocations: 4 kB / 1.111 GB, free: 43.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001304/2.894, allocations: 239.9 kB / 1.111 GB, free: 42.91 MB / 410.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.00399/2.898, allocations: 2.188 MB / 1.114 GB, free: 40.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001714/2.899, allocations: 0.6752 MB / 1.114 GB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/2.899, allocations: 0 / 1.114 GB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/2.901, allocations: 443.3 kB / 1.115 GB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/2.903, allocations: 231.5 kB / 1.115 GB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006634/2.91, allocations: 5.307 MB / 1.12 GB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/2.91, allocations: 0.8443 MB / 1.121 GB, free: 33.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/2.911, allocations: 163.4 kB / 1.121 GB, free: 32.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/2.911, allocations: 0 / 1.121 GB, free: 32.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.99/5.901, allocations: 15.12 MB / 1.136 GB, free: 17.77 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat