Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.509/2.509, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.74e-05, allocations: 0 / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4281, allocations: 54.85 MB / 359.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.346/1.774, allocations: 492.7 MB / 0.8326 GB, free: 61.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.775, allocations: 70.09 kB / 0.8327 GB, free: 61.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.222/1.997, allocations: 57.22 MB / 0.8886 GB, free: 10.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.997, allocations: 0 / 0.8886 GB, free: 10.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/1.997, allocations: 7.938 kB / 0.8886 GB, free: 10.86 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001924/1.999, allocations: 0.6858 MB / 0.8892 GB, free: 10.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.999, allocations: 12.03 kB / 0.8892 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/1.999, allocations: 62.52 kB / 0.8893 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/2.011, allocations: 0.5897 MB / 0.8899 GB, free: 9.453 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/2.012, allocations: 258.6 kB / 0.8901 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/2.012, allocations: 127.4 kB / 0.8903 GB, free: 9.012 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/2.012, allocations: 20 kB / 0.8903 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/2.013, allocations: 0.5233 MB / 0.8908 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/2.013, allocations: 0 / 0.8908 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/2.014, allocations: 12 kB / 0.8908 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/2.014, allocations: 8 kB / 0.8908 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/2.015, allocations: 0.5628 MB / 0.8914 GB, free: 7.848 MB / 490.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.002697/2.018, allocations: 1.628 MB / 0.8929 GB, free: 6.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/2.018, allocations: 142.9 kB / 0.8931 GB, free: 5.941 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/2.019, allocations: 80.84 kB / 0.8932 GB, free: 5.859 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/2.02, allocations: 1.199 MB / 0.8943 GB, free: 4.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/2.02, allocations: 34.56 kB / 0.8944 GB, free: 4.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.266e-06/2.02, allocations: 4 kB / 0.8944 GB, free: 4.406 MB / 490.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.001144/2.021, allocations: 283.3 kB / 0.8946 GB, free: 4.125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/2.021, allocations: 55.41 kB / 0.8947 GB, free: 4.059 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/2.021, allocations: 161.4 kB / 0.8948 GB, free: 3.895 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/2.021, allocations: 33.7 kB / 0.8949 GB, free: 3.855 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/2.022, allocations: 249.8 kB / 0.8951 GB, free: 3.605 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/2.022, allocations: 74.95 kB / 0.8952 GB, free: 3.531 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/2.022, allocations: 4 kB / 0.8952 GB, free: 3.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/2.022, allocations: 330.8 kB / 0.8955 GB, free: 3.195 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/2.022, allocations: 60.69 kB / 0.8956 GB, free: 3.133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/2.022, allocations: 255.7 kB / 0.8958 GB, free: 2.789 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/2.022, allocations: 97.3 kB / 0.8959 GB, free: 2.695 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/2.022, allocations: 8 kB / 0.8959 GB, free: 2.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007623/2.023, allocations: 330.2 kB / 0.8962 GB, free: 2.359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/2.023, allocations: 11.94 kB / 0.8962 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/2.023, allocations: 7.953 kB / 0.8962 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/2.023, allocations: 12 kB / 0.8962 GB, free: 2.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/2.024, allocations: 119.9 kB / 0.8964 GB, free: 2.211 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000322/2.024, allocations: 0.6098 MB / 0.897 GB, free: 1.578 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/2.025, allocations: 43.53 kB / 0.897 GB, free: 1.535 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/2.025, allocations: 47.92 kB / 0.897 GB, free: 1.488 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/2.025, allocations: 128.8 kB / 0.8972 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/2.025, allocations: 19.81 kB / 0.8972 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/2.026, allocations: 325 kB / 0.8975 GB, free: 1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/2.026, allocations: 7.984 kB / 0.8975 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/2.026, allocations: 0 / 0.8975 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/2.026, allocations: 0 / 0.8975 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/2.027, allocations: 0.5394 MB / 0.898 GB, free: 392 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/2.027, allocations: 0 / 0.898 GB, free: 392 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/2.028, allocations: 63.95 kB / 0.8981 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/2.028, allocations: 4 kB / 0.8981 GB, free: 324 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/2.028, allocations: 8 kB / 0.8981 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3351/2.363, allocations: 0.5942 MB / 0.8987 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/2.363, allocations: 1.781 kB / 0.8987 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/2.363, allocations: 333.6 kB / 0.899 GB, free: 149.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/2.363, allocations: 117.4 kB / 0.8991 GB, free: 149.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/2.364, allocations: 3.781 kB / 0.8991 GB, free: 149.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/2.364, allocations: 20.06 kB / 0.8991 GB, free: 149.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/2.364, allocations: 17.03 kB / 0.8992 GB, free: 149.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.139e-05/2.364, allocations: 24.58 kB / 0.8992 GB, free: 149.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001508/2.364, allocations: 130.4 kB / 0.8993 GB, free: 149.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.364, allocations: 0 / 0.8993 GB, free: 149.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001364/2.366, allocations: 261 kB / 0.8996 GB, free: 149.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002805/2.369, allocations: 1.872 MB / 0.9014 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008267/2.369, allocations: 197.1 kB / 0.9016 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/2.369, allocations: 1.062 kB / 0.9016 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/2.37, allocations: 79.95 kB / 0.9016 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/2.37, allocations: 51.11 kB / 0.9017 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1212/2.492, allocations: 30.5 MB / 0.9315 GB, free: 147 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/2.492, allocations: 0.7244 MB / 0.9322 GB, free: 146.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/2.492, allocations: 99.81 kB / 0.9323 GB, free: 146.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/2.492, allocations: 0 / 0.9323 GB, free: 146.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.949/5.442, allocations: 9.186 MB / 0.9412 GB, free: 145.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat