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.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09749, allocations: 44.52 MB / 308.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.101, allocations: 333.9 MB / 0.6274 GB, free: 45.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/1.102, allocations: 89.75 kB / 0.6275 GB, free: 45.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5455/1.647, allocations: 87.54 MB / 0.713 GB, free: 131.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.647, allocations: 0 / 0.713 GB, free: 131.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.877e-05/1.647, allocations: 3.906 kB / 0.713 GB, free: 131.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001236/1.649, allocations: 0.5597 MB / 0.7136 GB, free: 131.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.649, allocations: 7.812 kB / 0.7136 GB, free: 131.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/1.649, allocations: 66.28 kB / 0.7136 GB, free: 131.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000518/1.649, allocations: 47.67 kB / 0.7137 GB, free: 131.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/1.65, allocations: 277 kB / 0.7139 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/1.65, allocations: 20.19 kB / 0.714 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-05/1.65, allocations: 25.42 kB / 0.714 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009254/1.651, allocations: 295.5 kB / 0.7143 GB, free: 130.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.651, allocations: 3.938 kB / 0.7143 GB, free: 130.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/1.651, allocations: 11.97 kB / 0.7143 GB, free: 130.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/1.651, allocations: 7.312 kB / 0.7143 GB, free: 130.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000656/1.652, allocations: 200.5 kB / 0.7145 GB, free: 130.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/1.655, allocations: 1.301 MB / 0.7158 GB, free: 129.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/1.655, allocations: 173.2 kB / 0.7159 GB, free: 129.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/1.656, allocations: 169.2 kB / 0.7161 GB, free: 129.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.656, allocations: 45.22 kB / 0.7161 GB, free: 129.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.955e-06/1.656, allocations: 0 / 0.7161 GB, free: 129.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.004567/1.66, allocations: 1.034 MB / 0.7171 GB, free: 128.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/1.66, allocations: 59.31 kB / 0.7172 GB, free: 128.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/1.661, allocations: 237.8 kB / 0.7174 GB, free: 128.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/1.661, allocations: 29.7 kB / 0.7174 GB, free: 128 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/1.661, allocations: 241.8 kB / 0.7177 GB, free: 127.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.661, allocations: 90.22 kB / 0.7178 GB, free: 127.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/1.661, allocations: 4 kB / 0.7178 GB, free: 127.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/1.661, allocations: 330.3 kB / 0.7181 GB, free: 127.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/1.662, allocations: 78.16 kB / 0.7182 GB, free: 127.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/1.662, allocations: 172.2 kB / 0.7183 GB, free: 127.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/1.662, allocations: 114.8 kB / 0.7184 GB, free: 127.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.662, allocations: 3.938 kB / 0.7184 GB, free: 127.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001156/1.664, allocations: 419.8 kB / 0.7188 GB, free: 126.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.664, allocations: 10.7 kB / 0.7188 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.664, allocations: 0 / 0.7188 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/1.664, allocations: 43.39 kB / 0.7189 GB, free: 126.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/1.665, allocations: 77.72 kB / 0.719 GB, free: 126.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/1.667, allocations: 2.584 MB / 0.7215 GB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/1.668, allocations: 28.17 kB / 0.7215 GB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/1.668, allocations: 16 kB / 0.7215 GB, free: 124.1 MB / 410.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.0003056/1.668, allocations: 145.8 kB / 0.7217 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/1.668, allocations: 23.72 kB / 0.7217 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009587/1.669, allocations: 366.6 kB / 0.722 GB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/1.669, allocations: 4 kB / 0.722 GB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.669, allocations: 0 / 0.722 GB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008027/1.67, allocations: 0.6109 MB / 0.7226 GB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/1.672, allocations: 0.7664 MB / 0.7234 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.672, allocations: 4 kB / 0.7234 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/1.673, allocations: 51.97 kB / 0.7234 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/1.673, allocations: 20.84 kB / 0.7235 GB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/1.673, allocations: 15.55 kB / 0.7235 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/1.674, allocations: 1.272 MB / 0.7247 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.674, allocations: 12.02 kB / 0.7247 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/1.675, allocations: 0.5238 MB / 0.7252 GB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/1.675, allocations: 104.2 kB / 0.7253 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/1.676, allocations: 11.95 kB / 0.7253 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006044/1.676, allocations: 23.98 kB / 0.7254 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/1.676, allocations: 15.98 kB / 0.7254 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/1.676, allocations: 11.98 kB / 0.7254 GB, free: 119.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003136/1.677, allocations: 186 kB / 0.7256 GB, free: 119.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.677, allocations: 0 / 0.7256 GB, free: 119.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001027/1.678, allocations: 116 kB / 0.7257 GB, free: 119.4 MB / 410.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.001905/1.68, allocations: 1.269 MB / 0.7269 GB, free: 118.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/1.681, allocations: 453.8 kB / 0.7274 GB, free: 117.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.681, allocations: 0 / 0.7274 GB, free: 117.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005144/1.681, allocations: 227 kB / 0.7276 GB, free: 117.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.683, allocations: 154.8 kB / 0.7277 GB, free: 117.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/1.688, allocations: 3.88 MB / 0.7315 GB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/1.688, allocations: 0.7726 MB / 0.7323 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/1.688, allocations: 95.41 kB / 0.7324 GB, free: 112.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.565e-06/1.688, allocations: 0 / 0.7324 GB, free: 112.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.072/4.76, allocations: 8.435 MB / 0.7406 GB, free: 103.9 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat