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.829/1.829, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.497e-05, allocations: 4 kB / 225.1 MB, free: 2.719 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2979, allocations: 38.77 MB / 263.9 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/1.639, allocations: 428.1 MB / 0.6757 GB, free: 97.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.64, allocations: 87.38 kB / 0.6758 GB, free: 97.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7326/2.372, allocations: 143 MB / 0.8155 GB, free: 90.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/2.372, allocations: 0 / 0.8155 GB, free: 90.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.455e-05/2.372, allocations: 7.781 kB / 0.8155 GB, free: 90.27 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.001177/2.373, allocations: 0.5919 MB / 0.8161 GB, free: 89.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/2.374, allocations: 11.38 kB / 0.8161 GB, free: 89.84 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.345e-05/2.374, allocations: 57.59 kB / 0.8161 GB, free: 89.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/2.374, allocations: 41.2 kB / 0.8162 GB, free: 89.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/2.374, allocations: 291 kB / 0.8165 GB, free: 89.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/2.375, allocations: 21.53 kB / 0.8165 GB, free: 89.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/2.375, allocations: 26.09 kB / 0.8165 GB, free: 89.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/2.375, allocations: 310.1 kB / 0.8168 GB, free: 89.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/2.375, allocations: 0 / 0.8168 GB, free: 89.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/2.375, allocations: 18.41 kB / 0.8168 GB, free: 89.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/2.375, allocations: 3.969 kB / 0.8168 GB, free: 89.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/2.376, allocations: 193 kB / 0.817 GB, free: 89.47 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.002269/2.378, allocations: 1.574 MB / 0.8185 GB, free: 88.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/2.379, allocations: 157.3 kB / 0.8187 GB, free: 88.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/2.379, allocations: 99.41 kB / 0.8188 GB, free: 88.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.226e-05/2.379, allocations: 9.484 kB / 0.8188 GB, free: 88.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/2.379, allocations: 37.53 kB / 0.8188 GB, free: 88.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.487e-06/2.379, allocations: 0 / 0.8188 GB, free: 88.22 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.0083/2.387, allocations: 1.233 MB / 0.82 GB, free: 87.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/2.387, allocations: 59.14 kB / 0.8201 GB, free: 87.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/2.388, allocations: 224.5 kB / 0.8203 GB, free: 87.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/2.388, allocations: 36.55 kB / 0.8203 GB, free: 87.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/2.388, allocations: 232.9 kB / 0.8206 GB, free: 87.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.679e-05/2.388, allocations: 101.5 kB / 0.8207 GB, free: 87.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/2.388, allocations: 9.969 kB / 0.8207 GB, free: 87.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/2.388, allocations: 324.6 kB / 0.821 GB, free: 87.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/2.388, allocations: 84.28 kB / 0.8211 GB, free: 87.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/2.389, allocations: 187.7 kB / 0.8212 GB, free: 86.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/2.389, allocations: 121.2 kB / 0.8214 GB, free: 86.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/2.389, allocations: 0 / 0.8214 GB, free: 86.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009015/2.39, allocations: 362.5 kB / 0.8217 GB, free: 86.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/2.39, allocations: 7.344 kB / 0.8217 GB, free: 86.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/2.39, allocations: 3.625 kB / 0.8217 GB, free: 86.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/2.39, allocations: 80.95 kB / 0.8218 GB, free: 86.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/2.391, allocations: 84.11 kB / 0.8219 GB, free: 86.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/2.392, allocations: 1.846 MB / 0.8237 GB, free: 85.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/2.393, allocations: 24.64 kB / 0.8237 GB, free: 85.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/2.393, allocations: 42.83 kB / 0.8237 GB, free: 85.1 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.0001615/2.393, allocations: 126.4 kB / 0.8239 GB, free: 85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/2.393, allocations: 25 kB / 0.8239 GB, free: 84.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/2.395, allocations: 445.6 kB / 0.8243 GB, free: 84.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/2.395, allocations: 7.25 kB / 0.8243 GB, free: 84.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/2.395, allocations: 3.953 kB / 0.8243 GB, free: 84.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006539/2.395, allocations: 0.5537 MB / 0.8249 GB, free: 84.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/2.397, allocations: 0.7134 MB / 0.8256 GB, free: 84.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/2.397, allocations: 0 / 0.8256 GB, free: 84.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/2.397, allocations: 75.53 kB / 0.8256 GB, free: 84.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/2.397, allocations: 22.45 kB / 0.8256 GB, free: 84.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/2.398, allocations: 10.06 kB / 0.8257 GB, free: 84.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008839/2.398, allocations: 1.281 MB / 0.8269 GB, free: 82.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/2.398, allocations: 3 kB / 0.8269 GB, free: 82.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009986/2.399, allocations: 494.3 kB / 0.8274 GB, free: 82.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/2.4, allocations: 100.9 kB / 0.8275 GB, free: 82.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/2.4, allocations: 11.03 kB / 0.8275 GB, free: 82.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/2.4, allocations: 14.84 kB / 0.8275 GB, free: 82.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/2.4, allocations: 31.25 kB / 0.8275 GB, free: 82.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/2.4, allocations: 28.91 kB / 0.8276 GB, free: 82.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002585/2.401, allocations: 184.8 kB / 0.8277 GB, free: 82.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.401, allocations: 0 / 0.8277 GB, free: 82.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001103/2.402, allocations: 186.3 kB / 0.8279 GB, free: 82.45 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.00268/2.404, allocations: 1.839 MB / 0.8297 GB, free: 81.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000972/2.405, allocations: 362.2 kB / 0.8301 GB, free: 81.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/2.405, allocations: 0 / 0.8301 GB, free: 81.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/2.406, allocations: 217.1 kB / 0.8303 GB, free: 81.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/2.407, allocations: 169.4 kB / 0.8304 GB, free: 81.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/2.409, allocations: 0.5986 MB / 0.831 GB, free: 81.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/2.41, allocations: 0.768 MB / 0.8318 GB, free: 80.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/2.41, allocations: 136 kB / 0.8319 GB, free: 80.32 MB / 362.7 MB Notification: Performance of SimCode: time 2.575e-06/2.41, allocations: 0 / 0.8319 GB, free: 80.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.001/5.411, allocations: 12.91 MB / 0.8445 GB, free: 74.61 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