Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.683/1.683, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 15.98 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08153, allocations: 38.78 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.141/2.222, allocations: 0.6963 GB / 0.9621 GB, free: 24.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/2.222, allocations: 87.19 kB / 0.9622 GB, free: 24.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.814/5.037, allocations: 0.5695 GB / 1.532 GB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/5.037, allocations: 0 / 1.532 GB, free: 12.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.113e-05/5.037, allocations: 12 kB / 1.532 GB, free: 12.69 MB / 362.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.002221/5.039, allocations: 0.8302 MB / 1.532 GB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/5.039, allocations: 8.031 kB / 1.532 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/5.039, allocations: 78.53 kB / 1.533 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007952/5.04, allocations: 127.3 kB / 1.533 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/5.041, allocations: 381.5 kB / 1.533 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/5.041, allocations: 29 kB / 1.533 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/5.041, allocations: 36 kB / 1.533 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/5.042, allocations: 0.5415 MB / 1.534 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/5.042, allocations: 4 kB / 1.534 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/5.043, allocations: 16 kB / 1.534 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/5.043, allocations: 16 kB / 1.534 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008954/5.043, allocations: 422.3 kB / 1.534 GB, free: 10.11 MB / 362.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.00361/5.047, allocations: 1.823 MB / 1.536 GB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/5.047, allocations: 151.2 kB / 1.536 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/5.048, allocations: 4 kB / 1.536 GB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/5.048, allocations: 42.56 kB / 1.536 GB, free: 7.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 3.337e-06/5.048, allocations: 0 / 1.536 GB, free: 7.934 MB / 362.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.00902/5.057, allocations: 1.664 MB / 1.538 GB, free: 6.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/5.057, allocations: 55.34 kB / 1.538 GB, free: 6.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/5.057, allocations: 432.8 kB / 1.538 GB, free: 5.609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/5.057, allocations: 37.7 kB / 1.538 GB, free: 5.566 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/5.058, allocations: 364.8 kB / 1.538 GB, free: 5.207 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/5.058, allocations: 86.84 kB / 1.539 GB, free: 5.121 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/5.058, allocations: 12 kB / 1.539 GB, free: 5.109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/5.058, allocations: 334.8 kB / 1.539 GB, free: 4.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/5.058, allocations: 133.2 kB / 1.539 GB, free: 4.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/5.059, allocations: 428.5 kB / 1.539 GB, free: 4.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/5.059, allocations: 231.8 kB / 1.54 GB, free: 3.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/5.059, allocations: 7.938 kB / 1.54 GB, free: 3.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001315/5.06, allocations: 0.6005 MB / 1.54 GB, free: 3.238 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/5.06, allocations: 15.95 kB / 1.54 GB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/5.06, allocations: 8 kB / 1.54 GB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/5.061, allocations: 66.19 kB / 1.54 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/5.062, allocations: 143.8 kB / 1.54 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/5.063, allocations: 1.848 MB / 1.542 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/5.064, allocations: 28 kB / 1.542 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/5.064, allocations: 36 kB / 1.542 GB, free: 0.9375 MB / 362.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.0003378/5.064, allocations: 225.5 kB / 1.543 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-05/5.064, allocations: 43.44 kB / 1.543 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007692/5.065, allocations: 286.9 kB / 1.543 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/5.065, allocations: 4 kB / 1.543 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/5.065, allocations: 3.938 kB / 1.543 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.259/5.324, allocations: 0.5188 MB / 1.543 GB, free: 52.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/5.326, allocations: 0.694 MB / 1.544 GB, free: 52.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/5.326, allocations: 0 / 1.544 GB, free: 52.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/5.327, allocations: 57.22 kB / 1.544 GB, free: 52.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/5.327, allocations: 20.5 kB / 1.544 GB, free: 52.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/5.327, allocations: 7.953 kB / 1.544 GB, free: 52.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009214/5.328, allocations: 1.283 MB / 1.545 GB, free: 51.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/5.328, allocations: 4.906 kB / 1.545 GB, free: 51.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/5.329, allocations: 428.8 kB / 1.546 GB, free: 51.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/5.329, allocations: 118.7 kB / 1.546 GB, free: 50.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/5.329, allocations: 15.34 kB / 1.546 GB, free: 50.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/5.329, allocations: 10.91 kB / 1.546 GB, free: 50.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/5.33, allocations: 19.06 kB / 1.546 GB, free: 50.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/5.33, allocations: 19.69 kB / 1.546 GB, free: 50.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006568/5.33, allocations: 319.7 kB / 1.546 GB, free: 50.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/5.33, allocations: 0 / 1.546 GB, free: 50.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001724/5.332, allocations: 289.5 kB / 1.547 GB, free: 50.86 MB / 362.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.004609/5.337, allocations: 1.968 MB / 1.548 GB, free: 50.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/5.338, allocations: 459 kB / 1.549 GB, free: 50 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/5.338, allocations: 0.8125 kB / 1.549 GB, free: 50 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003765/5.338, allocations: 208.5 kB / 1.549 GB, free: 49.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/5.34, allocations: 201 kB / 1.549 GB, free: 49.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007192/5.347, allocations: 9.754 MB / 1.559 GB, free: 41.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/5.348, allocations: 0.8303 MB / 1.56 GB, free: 41.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/5.348, allocations: 157.2 kB / 1.56 GB, free: 41.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/5.348, allocations: 1.203 kB / 1.56 GB, free: 41.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.396/8.744, allocations: 18.7 MB / 1.578 GB, free: 40.68 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat