Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.11/1.11, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 8 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05553/0.05585, allocations: 25.17 MB / 183.6 MB, free: 5.863 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.175/2.231, allocations: 0.6514 GB / 0.8307 GB, free: 64.7 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/2.231, allocations: 75.36 kB / 0.8307 GB, free: 64.7 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.392/4.623, allocations: 462 MB / 1.282 GB, free: 11.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.364e-06/4.623, allocations: 0 / 1.282 GB, free: 11.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.947e-05/4.624, allocations: 11.98 kB / 1.282 GB, free: 11.15 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002328/4.626, allocations: 0.8655 MB / 1.283 GB, free: 10.24 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/4.626, allocations: 8.031 kB / 1.283 GB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/4.626, allocations: 78.53 kB / 1.283 GB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/4.626, allocations: 55.44 kB / 1.283 GB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006632/4.627, allocations: 365.6 kB / 1.283 GB, free: 9.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/4.627, allocations: 29 kB / 1.283 GB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/4.627, allocations: 39.91 kB / 1.283 GB, free: 9.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/4.628, allocations: 0.5101 MB / 1.284 GB, free: 9.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/4.628, allocations: 4 kB / 1.284 GB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.981e-05/4.629, allocations: 20 kB / 1.284 GB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/4.629, allocations: 8 kB / 1.284 GB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009916/4.63, allocations: 479.7 kB / 1.284 GB, free: 8.605 MB / 250.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.004114/4.634, allocations: 1.87 MB / 1.286 GB, free: 6.555 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/4.634, allocations: 175.1 kB / 1.286 GB, free: 6.375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/4.635, allocations: 0.87 MB / 1.287 GB, free: 5.387 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/4.635, allocations: 38.56 kB / 1.287 GB, free: 5.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/4.635, allocations: 0 / 1.287 GB, free: 5.34 MB / 250.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.009086/4.644, allocations: 1.682 MB / 1.289 GB, free: 3.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/4.645, allocations: 55.41 kB / 1.289 GB, free: 3.438 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/4.645, allocations: 436.8 kB / 1.289 GB, free: 3.004 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/4.645, allocations: 29.7 kB / 1.289 GB, free: 2.969 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/4.645, allocations: 360.8 kB / 1.29 GB, free: 2.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/4.646, allocations: 90.83 kB / 1.29 GB, free: 2.523 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/4.646, allocations: 12 kB / 1.29 GB, free: 2.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/4.646, allocations: 330.8 kB / 1.29 GB, free: 2.18 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/4.646, allocations: 133.2 kB / 1.29 GB, free: 2.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/4.646, allocations: 436.5 kB / 1.291 GB, free: 1.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/4.647, allocations: 223.8 kB / 1.291 GB, free: 1.262 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/4.647, allocations: 4 kB / 1.291 GB, free: 1.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001306/4.648, allocations: 0.6126 MB / 1.291 GB, free: 0.6328 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/4.648, allocations: 8 kB / 1.291 GB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/4.648, allocations: 12 kB / 1.291 GB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/4.649, allocations: 62.19 kB / 1.291 GB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008308/4.649, allocations: 143.8 kB / 1.292 GB, free: 416 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1885/4.838, allocations: 1.846 MB / 1.293 GB, free: 16.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/4.839, allocations: 30.7 kB / 1.293 GB, free: 16.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/4.839, allocations: 40.69 kB / 1.293 GB, free: 16.98 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * 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: 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 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000397/4.839, allocations: 216.9 kB / 1.294 GB, free: 16.86 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/4.84, allocations: 48.59 kB / 1.294 GB, free: 16.86 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009411/4.84, allocations: 288.4 kB / 1.294 GB, free: 16.8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/4.84, allocations: 3.828 kB / 1.294 GB, free: 16.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/4.841, allocations: 3.516 kB / 1.294 GB, free: 16.8 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006588/4.841, allocations: 0.5298 MB / 1.295 GB, free: 16.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/4.843, allocations: 0.7023 MB / 1.295 GB, free: 16.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/4.843, allocations: 3.812 kB / 1.295 GB, free: 16.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/4.843, allocations: 58.78 kB / 1.295 GB, free: 16.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/4.843, allocations: 27.38 kB / 1.295 GB, free: 16.04 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/4.844, allocations: 10.73 kB / 1.295 GB, free: 16.03 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009245/4.844, allocations: 1.282 MB / 1.297 GB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/4.844, allocations: 0 / 1.297 GB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000963/4.845, allocations: 434.7 kB / 1.297 GB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/4.846, allocations: 149.6 kB / 1.297 GB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/4.846, allocations: 7.594 kB / 1.297 GB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/4.846, allocations: 15.64 kB / 1.297 GB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/4.846, allocations: 17.27 kB / 1.297 GB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/4.847, allocations: 13.28 kB / 1.297 GB, free: 14.53 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005927/4.847, allocations: 321.2 kB / 1.297 GB, free: 14.45 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.273e-06/4.847, allocations: 2.406 kB / 1.297 GB, free: 14.45 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001814/4.849, allocations: 308.5 kB / 1.298 GB, free: 14.45 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.004555/4.854, allocations: 2.003 MB / 1.3 GB, free: 13.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/4.855, allocations: 459.9 kB / 1.3 GB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/4.855, allocations: 2.5 kB / 1.3 GB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/4.855, allocations: 215.4 kB / 1.3 GB, free: 13.44 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/4.857, allocations: 221.3 kB / 1.301 GB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008811/4.866, allocations: 9.736 MB / 1.31 GB, free: 21.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/4.867, allocations: 0.8351 MB / 1.311 GB, free: 20.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/4.867, allocations: 154.3 kB / 1.311 GB, free: 20.65 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/4.867, allocations: 1.5 kB / 1.311 GB, free: 20.65 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.104/7.971, allocations: 18.95 MB / 1.33 GB, free: 20.19 MB / 266.7 MB