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 0.9952/0.9952, allocations: 111.2 MB / 124.2 MB, free: 11.22 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.241e-05, allocations: 4 kB / 154.4 MB, free: 13.08 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1702, allocations: 25.15 MB / 179.5 MB, free: 0.707 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.923/2.094, allocations: 0.6513 GB / 0.8266 GB, free: 26.79 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/2.094, allocations: 75.39 kB / 0.8267 GB, free: 26.75 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.53/4.624, allocations: 461.3 MB / 1.277 GB, free: 27.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.683e-06/4.624, allocations: 0 / 1.277 GB, free: 27.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.887e-05/4.624, allocations: 7.375 kB / 1.277 GB, free: 27.16 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.002171/4.626, allocations: 0.8154 MB / 1.278 GB, free: 26.65 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/4.626, allocations: 11.09 kB / 1.278 GB, free: 26.65 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/4.626, allocations: 83.61 kB / 1.278 GB, free: 26.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/4.626, allocations: 53.34 kB / 1.278 GB, free: 26.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/4.627, allocations: 351.2 kB / 1.278 GB, free: 26.36 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/4.627, allocations: 27.5 kB / 1.278 GB, free: 26.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.176e-05/4.627, allocations: 43.81 kB / 1.278 GB, free: 26.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/4.629, allocations: 0.4931 MB / 1.279 GB, free: 26.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/4.629, allocations: 6.906 kB / 1.279 GB, free: 26.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/4.629, allocations: 20.12 kB / 1.279 GB, free: 26.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/4.629, allocations: 10 kB / 1.279 GB, free: 26.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009975/4.63, allocations: 469.3 kB / 1.279 GB, free: 26.31 MB / 250.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00438/4.634, allocations: 1.878 MB / 1.281 GB, free: 25.3 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/4.635, allocations: 176.1 kB / 1.281 GB, free: 25.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/4.635, allocations: 82.33 kB / 1.282 GB, free: 25.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/4.636, allocations: 0.9159 MB / 1.282 GB, free: 24.49 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/4.636, allocations: 39.58 kB / 1.282 GB, free: 24.45 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 2.936e-06/4.636, allocations: 0 / 1.282 GB, free: 24.45 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.008862/4.645, allocations: 1.324 MB / 1.284 GB, free: 23.88 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/4.645, allocations: 54.84 kB / 1.284 GB, free: 23.82 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/4.646, allocations: 427.2 kB / 1.284 GB, free: 23.69 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/4.646, allocations: 32.64 kB / 1.284 GB, free: 23.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/4.647, allocations: 366.2 kB / 1.285 GB, free: 23.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.528e-05/4.647, allocations: 86.94 kB / 1.285 GB, free: 23.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/4.647, allocations: 13 kB / 1.285 GB, free: 23.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.902e-05/4.647, allocations: 335.7 kB / 1.285 GB, free: 23.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/4.647, allocations: 132.7 kB / 1.285 GB, free: 23.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/4.648, allocations: 430.2 kB / 1.286 GB, free: 22.65 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/4.648, allocations: 222.8 kB / 1.286 GB, free: 22.65 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.068e-06/4.648, allocations: 6.219 kB / 1.286 GB, free: 22.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001493/4.65, allocations: 0.6108 MB / 1.286 GB, free: 22.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/4.65, allocations: 11.94 kB / 1.286 GB, free: 22.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/4.65, allocations: 8.281 kB / 1.286 GB, free: 22.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/4.65, allocations: 65.14 kB / 1.286 GB, free: 22.56 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/4.651, allocations: 139.3 kB / 1.287 GB, free: 22.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/4.653, allocations: 1.834 MB / 1.288 GB, free: 20.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/4.654, allocations: 35.11 kB / 1.288 GB, free: 20.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-05/4.654, allocations: 38.22 kB / 1.288 GB, free: 20.79 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 () * 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.0002059/4.654, allocations: 143.4 kB / 1.289 GB, free: 20.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/4.654, allocations: 51.06 kB / 1.289 GB, free: 20.65 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009447/4.655, allocations: 300.3 kB / 1.289 GB, free: 20.58 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/4.655, allocations: 0 / 1.289 GB, free: 20.58 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/4.655, allocations: 2.844 kB / 1.289 GB, free: 20.58 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005967/4.656, allocations: 0.5197 MB / 1.289 GB, free: 20.13 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/4.657, allocations: 0.7085 MB / 1.29 GB, free: 19.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/4.657, allocations: 0 / 1.29 GB, free: 19.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/4.658, allocations: 60.69 kB / 1.29 GB, free: 19.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/4.658, allocations: 20.05 kB / 1.29 GB, free: 19.81 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/4.658, allocations: 3.938 kB / 1.29 GB, free: 19.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008911/4.659, allocations: 1.282 MB / 1.291 GB, free: 18.56 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/4.659, allocations: 4.984 kB / 1.291 GB, free: 18.56 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/4.66, allocations: 418.4 kB / 1.292 GB, free: 18.39 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/4.66, allocations: 143.8 kB / 1.292 GB, free: 18.28 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.66e-05/4.66, allocations: 3.562 kB / 1.292 GB, free: 18.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/4.661, allocations: 28.27 kB / 1.292 GB, free: 18.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/4.661, allocations: 17.34 kB / 1.292 GB, free: 18.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/4.661, allocations: 14.09 kB / 1.292 GB, free: 18.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005184/4.661, allocations: 321.5 kB / 1.292 GB, free: 18.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.21e-07/4.661, allocations: 1.094 kB / 1.292 GB, free: 18.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001639/4.663, allocations: 301.5 kB / 1.293 GB, free: 18.16 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 () * 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.004298/4.667, allocations: 2.006 MB / 1.295 GB, free: 17.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/4.669, allocations: 464.8 kB / 1.295 GB, free: 17.22 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/4.669, allocations: 0 / 1.295 GB, free: 17.22 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/4.669, allocations: 203.2 kB / 1.295 GB, free: 17.11 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/4.671, allocations: 227.8 kB / 1.295 GB, free: 17.1 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/4.674, allocations: 0.8011 MB / 1.296 GB, free: 16.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/4.674, allocations: 0.8373 MB / 1.297 GB, free: 32.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/4.675, allocations: 149.2 kB / 1.297 GB, free: 32.11 MB / 266.7 MB Notification: Performance of SimCode: time 1.282e-06/4.675, allocations: 0 / 1.297 GB, free: 32.11 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.226/7.901, allocations: 18.86 MB / 1.316 GB, free: 25.83 MB / 266.7 MB