Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.791/1.791, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.003e-05/4.003e-05, allocations: 0 / 225.1 MB, free: 2.676 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2932, allocations: 38.77 MB / 263.9 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.818/2.111, allocations: 0.5803 GB / 0.838 GB, free: 79.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/2.112, allocations: 87.5 kB / 0.8381 GB, free: 79.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8704/2.982, allocations: 153.2 MB / 0.9877 GB, free: 76.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/2.982, allocations: 4 kB / 0.9877 GB, free: 76.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.418e-05/2.982, allocations: 8 kB / 0.9877 GB, free: 76.65 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001205/2.984, allocations: 0.5953 MB / 0.9883 GB, free: 76.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/2.984, allocations: 11.97 kB / 0.9883 GB, free: 76 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.039e-05/2.984, allocations: 62.5 kB / 0.9883 GB, free: 75.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/2.984, allocations: 47.61 kB / 0.9884 GB, free: 75.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/2.985, allocations: 280.9 kB / 0.9886 GB, free: 75.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/2.985, allocations: 24.56 kB / 0.9887 GB, free: 75.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/2.985, allocations: 24 kB / 0.9887 GB, free: 75.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/2.985, allocations: 298.6 kB / 0.989 GB, free: 75.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/2.985, allocations: 4 kB / 0.989 GB, free: 75.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/2.985, allocations: 12 kB / 0.989 GB, free: 75.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/2.985, allocations: 11.95 kB / 0.989 GB, free: 75.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/2.986, allocations: 200.7 kB / 0.9892 GB, free: 74.98 MB / 362.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.002255/2.988, allocations: 1.581 MB / 0.9907 GB, free: 73.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/2.989, allocations: 154.9 kB / 0.9909 GB, free: 73.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/2.989, allocations: 97.2 kB / 0.991 GB, free: 73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/2.989, allocations: 6.688 kB / 0.991 GB, free: 72.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/2.989, allocations: 38.69 kB / 0.991 GB, free: 72.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.196e-06/2.989, allocations: 0 / 0.991 GB, free: 72.95 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=27): time 0.008259/2.997, allocations: 1.228 MB / 0.9922 GB, free: 71.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/2.997, allocations: 67.33 kB / 0.9923 GB, free: 71.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/2.998, allocations: 225 kB / 0.9925 GB, free: 71.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/2.998, allocations: 33.7 kB / 0.9925 GB, free: 71.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/2.998, allocations: 222.5 kB / 0.9927 GB, free: 71.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.716e-05/2.998, allocations: 108.9 kB / 0.9928 GB, free: 70.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/2.998, allocations: 8 kB / 0.9929 GB, free: 70.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.23e-05/2.998, allocations: 326.8 kB / 0.9932 GB, free: 70.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/2.998, allocations: 87.78 kB / 0.9933 GB, free: 70.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/2.998, allocations: 175.8 kB / 0.9934 GB, free: 70.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/2.999, allocations: 126.4 kB / 0.9935 GB, free: 70.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/2.999, allocations: 3.938 kB / 0.9935 GB, free: 70.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009184/3, allocations: 355.3 kB / 0.9939 GB, free: 69.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/3, allocations: 12.03 kB / 0.9939 GB, free: 69.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/3, allocations: 4 kB / 0.9939 GB, free: 69.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002956/3, allocations: 73.64 kB / 0.994 GB, free: 69.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/3.001, allocations: 83.89 kB / 0.994 GB, free: 69.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/3.002, allocations: 1.844 MB / 0.9958 GB, free: 67.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/3.003, allocations: 24.17 kB / 0.9959 GB, free: 67.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/3.003, allocations: 36 kB / 0.9959 GB, free: 67.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0001564/3.003, allocations: 132.8 kB / 0.996 GB, free: 67.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.942e-05/3.003, allocations: 27.72 kB / 0.9961 GB, free: 67.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/3.004, allocations: 439.9 kB / 0.9965 GB, free: 67.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/3.004, allocations: 4 kB / 0.9965 GB, free: 67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/3.004, allocations: 0 / 0.9965 GB, free: 67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006207/3.005, allocations: 0.5591 MB / 0.997 GB, free: 66.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/3.006, allocations: 0.7106 MB / 0.9977 GB, free: 65.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/3.006, allocations: 7.953 kB / 0.9977 GB, free: 65.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/3.007, allocations: 67.89 kB / 0.9978 GB, free: 65.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/3.007, allocations: 20.84 kB / 0.9978 GB, free: 65.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/3.007, allocations: 15.98 kB / 0.9978 GB, free: 65.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008454/3.008, allocations: 1.288 MB / 0.9991 GB, free: 64.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/3.008, allocations: 8.016 kB / 0.9991 GB, free: 64.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009167/3.009, allocations: 497.1 kB / 0.9996 GB, free: 63.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/3.009, allocations: 100.8 kB / 0.9997 GB, free: 63.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/3.009, allocations: 8 kB / 0.9997 GB, free: 63.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/3.01, allocations: 19.92 kB / 0.9997 GB, free: 63.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/3.01, allocations: 31.98 kB / 0.9997 GB, free: 63.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/3.01, allocations: 31.98 kB / 0.9998 GB, free: 63.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000255/3.01, allocations: 183.1 kB / 0.9999 GB, free: 63.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.01, allocations: 0 / 0.9999 GB, free: 63.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001071/3.011, allocations: 188 kB / 1 GB, free: 62.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.002614/3.014, allocations: 1.857 MB / 1.002 GB, free: 61.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000913/3.015, allocations: 362.9 kB / 1.002 GB, free: 60.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/3.015, allocations: 4 kB / 1.002 GB, free: 60.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/3.015, allocations: 221.5 kB / 1.002 GB, free: 60.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/3.017, allocations: 156.5 kB / 1.003 GB, free: 60.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/3.018, allocations: 0.5989 MB / 1.003 GB, free: 59.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/3.019, allocations: 0.7687 MB / 1.004 GB, free: 58.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/3.019, allocations: 135.3 kB / 1.004 GB, free: 58.85 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/3.019, allocations: 3.938 kB / 1.004 GB, free: 58.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.06/6.079, allocations: 12.97 MB / 1.017 GB, free: 45.87 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.Air_res.mat does not exist to compare? outputFormat=mat