Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.277/2.277, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004311, allocations: 8 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3907, allocations: 54.85 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.931/2.322, allocations: 0.6368 GB / 0.9975 GB, free: 22.61 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003828/2.322, allocations: 97.25 kB / 0.9976 GB, free: 22.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.517/3.839, allocations: 230.2 MB / 1.222 GB, free: 90.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.268e-06/3.839, allocations: 0 / 1.222 GB, free: 90.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.541e-05/3.839, allocations: 21.48 kB / 1.222 GB, free: 90.64 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.005185/3.844, allocations: 1.231 MB / 1.224 GB, free: 90.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/3.844, allocations: 9.469 kB / 1.224 GB, free: 90.23 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004379/3.845, allocations: 99.22 kB / 1.224 GB, free: 90.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/3.846, allocations: 135.5 kB / 1.224 GB, free: 90.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/3.848, allocations: 0.5566 MB / 1.224 GB, free: 89.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/3.849, allocations: 106.9 kB / 1.224 GB, free: 89.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/3.849, allocations: 48.64 kB / 1.224 GB, free: 89.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/3.851, allocations: 0.8003 MB / 1.225 GB, free: 89.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/3.851, allocations: 4.281 kB / 1.225 GB, free: 89.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/3.851, allocations: 24.89 kB / 1.225 GB, free: 89.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.499e-05/3.851, allocations: 39.83 kB / 1.225 GB, free: 89.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/3.853, allocations: 0.6202 MB / 1.226 GB, free: 89.64 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006899/3.86, allocations: 3.907 MB / 1.23 GB, free: 87.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/3.861, allocations: 334.6 kB / 1.23 GB, free: 87.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/3.861, allocations: 25.75 kB / 1.23 GB, free: 87.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/3.861, allocations: 42.53 kB / 1.23 GB, free: 87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.326e-06/3.861, allocations: 0 / 1.23 GB, free: 87 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.009423/3.87, allocations: 1.617 MB / 1.232 GB, free: 86.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/3.871, allocations: 143.6 kB / 1.232 GB, free: 86.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/3.872, allocations: 0.5259 MB / 1.232 GB, free: 86.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/3.872, allocations: 33.48 kB / 1.232 GB, free: 86.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/3.872, allocations: 411.3 kB / 1.233 GB, free: 85.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/3.872, allocations: 139.1 kB / 1.233 GB, free: 85.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/3.872, allocations: 14.47 kB / 1.233 GB, free: 85.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.433e-05/3.872, allocations: 340.7 kB / 1.233 GB, free: 85.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/3.873, allocations: 198 kB / 1.233 GB, free: 85.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/3.874, allocations: 0.5303 MB / 1.234 GB, free: 85.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/3.875, allocations: 302.4 kB / 1.234 GB, free: 85.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/3.875, allocations: 3.906 kB / 1.234 GB, free: 85.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002153/3.877, allocations: 0.8517 MB / 1.235 GB, free: 85.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/3.877, allocations: 11.16 kB / 1.235 GB, free: 85.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/3.877, allocations: 10.88 kB / 1.235 GB, free: 85.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/3.879, allocations: 302.5 kB / 1.235 GB, free: 85.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008341/3.88, allocations: 132.8 kB / 1.236 GB, free: 85.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/3.882, allocations: 0.9047 MB / 1.236 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/3.883, allocations: 53.16 kB / 1.236 GB, free: 84.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/3.883, allocations: 66.25 kB / 1.237 GB, free: 84.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005866/3.884, allocations: 248.6 kB / 1.237 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/3.884, allocations: 69.02 kB / 1.237 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/3.886, allocations: 0.673 MB / 1.237 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/3.886, allocations: 3.25 kB / 1.237 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/3.886, allocations: 0 / 1.237 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/3.886, allocations: 0 / 1.237 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/3.889, allocations: 1.254 MB / 1.239 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/3.889, allocations: 0 / 1.239 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/3.891, allocations: 211 kB / 1.239 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/3.892, allocations: 26.22 kB / 1.239 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.972e-05/3.892, allocations: 17.89 kB / 1.239 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/3.894, allocations: 2.701 MB / 1.242 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/3.894, allocations: 4.719 kB / 1.242 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/3.896, allocations: 0.838 MB / 1.242 GB, free: 81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/3.897, allocations: 188.7 kB / 1.243 GB, free: 80.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/3.897, allocations: 14.08 kB / 1.243 GB, free: 80.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007317/3.897, allocations: 31.19 kB / 1.243 GB, free: 80.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/3.898, allocations: 37.23 kB / 1.243 GB, free: 80.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/3.898, allocations: 46.67 kB / 1.243 GB, free: 80.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007424/3.899, allocations: 414 kB / 1.243 GB, free: 80.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.899, allocations: 0 / 1.243 GB, free: 80.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002198/3.901, allocations: 385.6 kB / 1.243 GB, free: 80.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004796/3.906, allocations: 2.69 MB / 1.246 GB, free: 79.51 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/3.908, allocations: 0.5461 MB / 1.247 GB, free: 79.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/3.908, allocations: 0 / 1.247 GB, free: 79.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/3.909, allocations: 391.8 kB / 1.247 GB, free: 79.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/3.912, allocations: 308.7 kB / 1.247 GB, free: 79.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/3.932, allocations: 12.95 MB / 1.26 GB, free: 70.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/3.932, allocations: 0.942 MB / 1.261 GB, free: 69.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009216/3.933, allocations: 276.7 kB / 1.261 GB, free: 69.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/3.933, allocations: 0 / 1.261 GB, free: 69.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.375/7.309, allocations: 23.69 MB / 1.284 GB, free: 69.18 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat