Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.01/2.01, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.96e-05/3.978e-05, allocations: 7.984 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 44.51 MB / 300 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.46/1.564, allocations: 433.8 MB / 0.7166 GB, free: 104.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.564, allocations: 84.12 kB / 0.7167 GB, free: 104.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7507/2.315, allocations: 143 MB / 0.8564 GB, free: 102.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/2.315, allocations: 1.031 kB / 0.8564 GB, free: 102.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.783e-05/2.315, allocations: 6.844 kB / 0.8564 GB, free: 102.6 MB / 410.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.001295/2.316, allocations: 0.5998 MB / 0.8569 GB, free: 102.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/2.316, allocations: 8.781 kB / 0.857 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.654e-05/2.316, allocations: 62.44 kB / 0.857 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/2.317, allocations: 40.06 kB / 0.8571 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/2.317, allocations: 282.1 kB / 0.8573 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/2.317, allocations: 16.59 kB / 0.8573 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/2.317, allocations: 26.97 kB / 0.8574 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/2.318, allocations: 305.6 kB / 0.8577 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/2.318, allocations: 6.406 kB / 0.8577 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/2.318, allocations: 15.75 kB / 0.8577 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/2.318, allocations: 6.062 kB / 0.8577 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/2.319, allocations: 191.5 kB / 0.8579 GB, free: 101.9 MB / 410.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.002464/2.321, allocations: 1.577 MB / 0.8594 GB, free: 100.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/2.321, allocations: 157.7 kB / 0.8596 GB, free: 100.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/2.322, allocations: 92.69 kB / 0.8596 GB, free: 100.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/2.322, allocations: 9.375 kB / 0.8597 GB, free: 100.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/2.322, allocations: 43.91 kB / 0.8597 GB, free: 100.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.986e-06/2.322, allocations: 2.812 kB / 0.8597 GB, free: 100.6 MB / 410.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.008311/2.33, allocations: 1.242 MB / 0.8609 GB, free: 100.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/2.33, allocations: 58.58 kB / 0.861 GB, free: 100.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/2.331, allocations: 217.2 kB / 0.8612 GB, free: 100 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/2.331, allocations: 34.83 kB / 0.8612 GB, free: 100 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/2.331, allocations: 240.3 kB / 0.8614 GB, free: 99.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/2.331, allocations: 92.11 kB / 0.8615 GB, free: 99.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/2.331, allocations: 8.469 kB / 0.8615 GB, free: 99.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/2.331, allocations: 324.4 kB / 0.8618 GB, free: 99.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/2.331, allocations: 84.31 kB / 0.8619 GB, free: 99.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/2.332, allocations: 184 kB / 0.8621 GB, free: 99.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/2.332, allocations: 114 kB / 0.8622 GB, free: 99.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/2.332, allocations: 6.5 kB / 0.8622 GB, free: 99.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009368/2.333, allocations: 372.2 kB / 0.8626 GB, free: 99.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/2.333, allocations: 8.312 kB / 0.8626 GB, free: 99.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/2.333, allocations: 3.875 kB / 0.8626 GB, free: 99.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/2.333, allocations: 73.41 kB / 0.8627 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/2.334, allocations: 83.34 kB / 0.8627 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/2.335, allocations: 1.841 MB / 0.8645 GB, free: 97.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/2.336, allocations: 23.53 kB / 0.8645 GB, free: 97.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.818e-05/2.336, allocations: 44.02 kB / 0.8646 GB, free: 97.5 MB / 410.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.0001586/2.336, allocations: 123.4 kB / 0.8647 GB, free: 97.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/2.336, allocations: 30.38 kB / 0.8647 GB, free: 97.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/2.338, allocations: 429.2 kB / 0.8651 GB, free: 97.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/2.338, allocations: 0 / 0.8651 GB, free: 97.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/2.338, allocations: 6.984 kB / 0.8652 GB, free: 97.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006322/2.338, allocations: 0.553 MB / 0.8657 GB, free: 96.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/2.34, allocations: 0.7284 MB / 0.8664 GB, free: 96.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/2.34, allocations: 0 / 0.8664 GB, free: 96.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/2.34, allocations: 68.98 kB / 0.8665 GB, free: 96.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/2.34, allocations: 19.23 kB / 0.8665 GB, free: 96.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/2.341, allocations: 14.42 kB / 0.8665 GB, free: 96.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008943/2.341, allocations: 1.286 MB / 0.8678 GB, free: 95.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/2.341, allocations: 0 / 0.8678 GB, free: 95.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/2.342, allocations: 496.8 kB / 0.8682 GB, free: 95.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/2.343, allocations: 107.2 kB / 0.8683 GB, free: 94.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/2.343, allocations: 14.2 kB / 0.8683 GB, free: 94.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/2.343, allocations: 18.91 kB / 0.8684 GB, free: 94.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/2.343, allocations: 24.02 kB / 0.8684 GB, free: 94.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.444e-05/2.343, allocations: 32.41 kB / 0.8684 GB, free: 94.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002993/2.344, allocations: 184.4 kB / 0.8686 GB, free: 94.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.344, allocations: 0 / 0.8686 GB, free: 94.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001134/2.345, allocations: 191.6 kB / 0.8688 GB, free: 94.84 MB / 410.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.00265/2.348, allocations: 1.839 MB / 0.8706 GB, free: 93.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009616/2.349, allocations: 355.4 kB / 0.8709 GB, free: 93.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/2.349, allocations: 3.719 kB / 0.8709 GB, free: 93.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003697/2.349, allocations: 217 kB / 0.8711 GB, free: 93.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/2.351, allocations: 156.4 kB / 0.8713 GB, free: 93.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/2.352, allocations: 0.6108 MB / 0.8719 GB, free: 93.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/2.353, allocations: 0.7672 MB / 0.8726 GB, free: 92.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/2.353, allocations: 138.2 kB / 0.8728 GB, free: 92.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/2.353, allocations: 0 / 0.8728 GB, free: 92.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.1/5.453, allocations: 12.91 MB / 0.8854 GB, free: 92.02 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat