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.006/1.006, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.891e-05, allocations: 0 / 151.5 MB, free: 15.47 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1784, allocations: 25.14 MB / 176.6 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.885/2.064, allocations: 0.6513 GB / 0.8238 GB, free: 42.79 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/2.064, allocations: 78.88 kB / 0.8239 GB, free: 42.75 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.486/4.55, allocations: 461.2 MB / 1.274 GB, free: 28.44 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.715e-06/4.55, allocations: 0 / 1.274 GB, free: 28.44 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.629e-05/4.55, allocations: 8.688 kB / 1.274 GB, free: 28.44 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.002934/4.553, allocations: 0.8154 MB / 1.275 GB, free: 27.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/4.553, allocations: 12.72 kB / 1.275 GB, free: 27.96 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/4.554, allocations: 73.03 kB / 1.275 GB, free: 27.92 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/4.554, allocations: 59.38 kB / 1.275 GB, free: 27.9 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/4.555, allocations: 370 kB / 1.276 GB, free: 27.69 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/4.555, allocations: 23.84 kB / 1.276 GB, free: 27.69 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/4.555, allocations: 37.84 kB / 1.276 GB, free: 27.69 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/4.557, allocations: 500 kB / 1.276 GB, free: 27.65 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/4.557, allocations: 0 / 1.276 GB, free: 27.65 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/4.557, allocations: 23.89 kB / 1.276 GB, free: 27.65 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/4.557, allocations: 9.406 kB / 1.276 GB, free: 27.65 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/4.558, allocations: 468.6 kB / 1.277 GB, free: 27.64 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.005244/4.564, allocations: 1.868 MB / 1.278 GB, free: 26.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/4.564, allocations: 172.1 kB / 1.279 GB, free: 26.63 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/4.565, allocations: 83.12 kB / 1.279 GB, free: 26.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/4.566, allocations: 0.9104 MB / 1.28 GB, free: 25.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/4.566, allocations: 34.84 kB / 1.28 GB, free: 25.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 3.146e-06/4.566, allocations: 0 / 1.28 GB, free: 25.82 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.00994/4.576, allocations: 1.315 MB / 1.281 GB, free: 25.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/4.576, allocations: 56.59 kB / 1.281 GB, free: 25.19 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/4.577, allocations: 431 kB / 1.281 GB, free: 25.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/4.577, allocations: 30.48 kB / 1.281 GB, free: 25.04 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/4.577, allocations: 371.6 kB / 1.282 GB, free: 24.77 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/4.577, allocations: 80.89 kB / 1.282 GB, free: 24.72 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/4.577, allocations: 15.97 kB / 1.282 GB, free: 24.72 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.717e-05/4.577, allocations: 334.8 kB / 1.282 GB, free: 24.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/4.578, allocations: 125 kB / 1.282 GB, free: 24.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/4.578, allocations: 432.2 kB / 1.283 GB, free: 24.03 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/4.579, allocations: 227 kB / 1.283 GB, free: 24.03 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/4.579, allocations: 3.219 kB / 1.283 GB, free: 24.03 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001394/4.58, allocations: 0.5735 MB / 1.283 GB, free: 23.96 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/4.58, allocations: 15.98 kB / 1.283 GB, free: 23.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/4.58, allocations: 10 kB / 1.283 GB, free: 23.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/4.58, allocations: 59.72 kB / 1.284 GB, free: 23.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008466/4.581, allocations: 149.4 kB / 1.284 GB, free: 23.94 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/4.582, allocations: 1.834 MB / 1.285 GB, free: 22.17 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/4.583, allocations: 35.08 kB / 1.286 GB, free: 22.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-05/4.583, allocations: 38.97 kB / 1.286 GB, free: 22.17 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.0001614/4.584, allocations: 151.5 kB / 1.286 GB, free: 22.05 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/4.584, allocations: 43.94 kB / 1.286 GB, free: 22.03 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007783/4.584, allocations: 287.1 kB / 1.286 GB, free: 21.96 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/4.585, allocations: 4.594 kB / 1.286 GB, free: 21.96 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/4.585, allocations: 0 / 1.286 GB, free: 21.96 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005345/4.585, allocations: 0.5271 MB / 1.287 GB, free: 21.51 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/4.586, allocations: 0.7004 MB / 1.287 GB, free: 21.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/4.586, allocations: 6.734 kB / 1.287 GB, free: 21.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/4.587, allocations: 54.27 kB / 1.287 GB, free: 21.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/4.587, allocations: 21.08 kB / 1.287 GB, free: 21.19 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/4.587, allocations: 10.34 kB / 1.287 GB, free: 21.19 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/4.588, allocations: 1.27 MB / 1.289 GB, free: 19.94 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/4.588, allocations: 6.484 kB / 1.289 GB, free: 19.94 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008186/4.589, allocations: 420.6 kB / 1.289 GB, free: 19.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/4.589, allocations: 143.1 kB / 1.289 GB, free: 19.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/4.589, allocations: 6.719 kB / 1.289 GB, free: 19.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/4.59, allocations: 24.2 kB / 1.289 GB, free: 19.65 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/4.59, allocations: 17.88 kB / 1.289 GB, free: 19.65 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/4.59, allocations: 15.38 kB / 1.289 GB, free: 19.65 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005144/4.59, allocations: 320.4 kB / 1.289 GB, free: 19.56 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.31e-07/4.59, allocations: 2.625 kB / 1.289 GB, free: 19.56 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001619/4.592, allocations: 303 kB / 1.29 GB, free: 19.54 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.004054/4.596, allocations: 2.013 MB / 1.292 GB, free: 18.71 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/4.597, allocations: 437.9 kB / 1.292 GB, free: 18.6 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/4.597, allocations: 0 / 1.292 GB, free: 18.6 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/4.598, allocations: 201.2 kB / 1.292 GB, free: 18.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/4.6, allocations: 223.1 kB / 1.293 GB, free: 18.48 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/4.602, allocations: 0.7995 MB / 1.293 GB, free: 18.2 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/4.602, allocations: 0.8315 MB / 1.294 GB, free: 17.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/4.603, allocations: 154.4 kB / 1.294 GB, free: 17.5 MB / 250.7 MB Notification: Performance of SimCode: time 1.172e-06/4.603, allocations: 0 / 1.294 GB, free: 17.5 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.089/7.691, allocations: 18.87 MB / 1.313 GB, free: 16.22 MB / 250.7 MB