Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.769/1.769, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.386e-05, allocations: 4 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2917, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.338/1.63, allocations: 428.1 MB / 0.6757 GB, free: 93.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/1.63, allocations: 85.53 kB / 0.6758 GB, free: 93.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7133/2.343, allocations: 143.1 MB / 0.8155 GB, free: 92.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/2.344, allocations: 0 / 0.8155 GB, free: 92.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.602e-05/2.344, allocations: 9.422 kB / 0.8155 GB, free: 92.07 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.001185/2.345, allocations: 0.5894 MB / 0.816 GB, free: 91.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/2.345, allocations: 7.438 kB / 0.8161 GB, free: 91.64 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.447e-05/2.345, allocations: 62.25 kB / 0.8161 GB, free: 91.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/2.345, allocations: 43.39 kB / 0.8162 GB, free: 91.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/2.346, allocations: 287.8 kB / 0.8164 GB, free: 91.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/2.346, allocations: 21.64 kB / 0.8165 GB, free: 91.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/2.346, allocations: 23.88 kB / 0.8165 GB, free: 91.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/2.347, allocations: 310.8 kB / 0.8168 GB, free: 91.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/2.347, allocations: 2.812 kB / 0.8168 GB, free: 91.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/2.347, allocations: 12.06 kB / 0.8168 GB, free: 91.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/2.347, allocations: 7.781 kB / 0.8168 GB, free: 91.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/2.347, allocations: 194.4 kB / 0.817 GB, free: 91.28 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.002674/2.35, allocations: 1.577 MB / 0.8185 GB, free: 90.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/2.35, allocations: 173.2 kB / 0.8187 GB, free: 90.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/2.351, allocations: 95.17 kB / 0.8188 GB, free: 90.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.886e-05/2.351, allocations: 4.062 kB / 0.8188 GB, free: 90.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/2.351, allocations: 41.42 kB / 0.8188 GB, free: 90.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 5.831e-06/2.351, allocations: 0 / 0.8188 GB, free: 90.02 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.00827/2.359, allocations: 1.245 MB / 0.82 GB, free: 89.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/2.359, allocations: 58.8 kB / 0.8201 GB, free: 89.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/2.359, allocations: 218.5 kB / 0.8203 GB, free: 89.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/2.36, allocations: 36.67 kB / 0.8203 GB, free: 89.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/2.36, allocations: 237.1 kB / 0.8206 GB, free: 89.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/2.36, allocations: 99.48 kB / 0.8207 GB, free: 89.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/2.36, allocations: 6.125 kB / 0.8207 GB, free: 89.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.395e-05/2.36, allocations: 329 kB / 0.821 GB, free: 88.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/2.36, allocations: 84.78 kB / 0.8211 GB, free: 88.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/2.36, allocations: 184 kB / 0.8212 GB, free: 88.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/2.361, allocations: 123.7 kB / 0.8213 GB, free: 88.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/2.361, allocations: 3.562 kB / 0.8213 GB, free: 88.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009462/2.362, allocations: 375.7 kB / 0.8217 GB, free: 88.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/2.362, allocations: 7 kB / 0.8217 GB, free: 88.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/2.362, allocations: 3.719 kB / 0.8217 GB, free: 88.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/2.362, allocations: 72.36 kB / 0.8218 GB, free: 88.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/2.363, allocations: 83.69 kB / 0.8219 GB, free: 88.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/2.364, allocations: 1.853 MB / 0.8237 GB, free: 86.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/2.365, allocations: 28.47 kB / 0.8237 GB, free: 86.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/2.365, allocations: 37.91 kB / 0.8237 GB, free: 86.9 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.0001558/2.365, allocations: 122.7 kB / 0.8239 GB, free: 86.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/2.365, allocations: 33.17 kB / 0.8239 GB, free: 86.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/2.366, allocations: 446 kB / 0.8243 GB, free: 86.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/2.366, allocations: 3.906 kB / 0.8243 GB, free: 86.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/2.366, allocations: 0 / 0.8243 GB, free: 86.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006366/2.367, allocations: 0.5562 MB / 0.8249 GB, free: 86.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/2.368, allocations: 0.7159 MB / 0.8256 GB, free: 85.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/2.368, allocations: 0 / 0.8256 GB, free: 85.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/2.369, allocations: 71.66 kB / 0.8256 GB, free: 85.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/2.369, allocations: 26.58 kB / 0.8257 GB, free: 85.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/2.369, allocations: 13.3 kB / 0.8257 GB, free: 85.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009718/2.37, allocations: 1.283 MB / 0.8269 GB, free: 84.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/2.37, allocations: 2.656 kB / 0.8269 GB, free: 84.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/2.371, allocations: 491.2 kB / 0.8274 GB, free: 84.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/2.371, allocations: 102.6 kB / 0.8275 GB, free: 84.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/2.372, allocations: 11.27 kB / 0.8275 GB, free: 84.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/2.372, allocations: 17.11 kB / 0.8275 GB, free: 84.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/2.372, allocations: 26.47 kB / 0.8275 GB, free: 84.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-05/2.372, allocations: 38.69 kB / 0.8276 GB, free: 84.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002842/2.373, allocations: 189.6 kB / 0.8278 GB, free: 84.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.82e-07/2.373, allocations: 3.938 kB / 0.8278 GB, free: 84.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001145/2.374, allocations: 181.2 kB / 0.8279 GB, free: 84.06 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.00277/2.376, allocations: 1.844 MB / 0.8297 GB, free: 82.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009619/2.377, allocations: 366.9 kB / 0.8301 GB, free: 82.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/2.378, allocations: 2.75 kB / 0.8301 GB, free: 82.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/2.378, allocations: 223.1 kB / 0.8303 GB, free: 82.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/2.379, allocations: 155.3 kB / 0.8304 GB, free: 82.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/2.381, allocations: 0.6105 MB / 0.831 GB, free: 82.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/2.382, allocations: 0.769 MB / 0.8318 GB, free: 81.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/2.382, allocations: 135.1 kB / 0.8319 GB, free: 81.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/2.382, allocations: 0 / 0.8319 GB, free: 81.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.989/5.371, allocations: 12.88 MB / 0.8445 GB, free: 70.69 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.Nitrogen_res.mat does not exist to compare? outputFormat=mat