Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.942e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.455/1.564, allocations: 449.6 MB / 0.7534 GB, free: 60.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/1.564, allocations: 64.72 kB / 0.7534 GB, free: 60.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1008/1.665, allocations: 29.76 MB / 0.7825 GB, free: 32.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.665, allocations: 0 / 0.7825 GB, free: 32.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/1.665, allocations: 0 / 0.7825 GB, free: 32.98 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004948/1.666, allocations: 390.6 kB / 0.7829 GB, free: 32.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.666, allocations: 8.031 kB / 0.7829 GB, free: 32.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/1.666, allocations: 42.55 kB / 0.7829 GB, free: 32.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/1.668, allocations: 180.2 kB / 0.7831 GB, free: 32.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/1.669, allocations: 202.9 kB / 0.7833 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/1.669, allocations: 8 kB / 0.7833 GB, free: 32.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.435e-05/1.669, allocations: 11.95 kB / 0.7833 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/1.669, allocations: 208.1 kB / 0.7835 GB, free: 31.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/1.669, allocations: 4 kB / 0.7835 GB, free: 31.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/1.669, allocations: 0 / 0.7835 GB, free: 31.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/1.669, allocations: 0 / 0.7835 GB, free: 31.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/1.67, allocations: 159.9 kB / 0.7836 GB, free: 31.69 MB / 426.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.001254/1.671, allocations: 0.5761 MB / 0.7842 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/1.672, allocations: 126.5 kB / 0.7843 GB, free: 30.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/1.672, allocations: 64.84 kB / 0.7844 GB, free: 30.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/1.672, allocations: 0 / 0.7844 GB, free: 30.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/1.672, allocations: 38.56 kB / 0.7844 GB, free: 30.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/1.672, allocations: 0 / 0.7844 GB, free: 30.81 MB / 426.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=19): time 0.00745/1.679, allocations: 1.097 MB / 0.7855 GB, free: 29.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/1.679, allocations: 55.41 kB / 0.7855 GB, free: 29.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/1.679, allocations: 101 kB / 0.7856 GB, free: 29.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/1.68, allocations: 29.7 kB / 0.7857 GB, free: 29.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/1.68, allocations: 170.3 kB / 0.7858 GB, free: 29.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/1.68, allocations: 63.09 kB / 0.7859 GB, free: 29.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/1.68, allocations: 4 kB / 0.7859 GB, free: 29.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.047e-05/1.68, allocations: 327 kB / 0.7862 GB, free: 28.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/1.68, allocations: 56 kB / 0.7863 GB, free: 28.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/1.68, allocations: 105.2 kB / 0.7864 GB, free: 28.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/1.68, allocations: 83.64 kB / 0.7864 GB, free: 28.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.68, allocations: 0 / 0.7864 GB, free: 28.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005879/1.681, allocations: 244.7 kB / 0.7867 GB, free: 28.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.681, allocations: 4 kB / 0.7867 GB, free: 28.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.681, allocations: 7.953 kB / 0.7867 GB, free: 28.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/1.681, allocations: 48.83 kB / 0.7867 GB, free: 28.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/1.682, allocations: 51.97 kB / 0.7868 GB, free: 28.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004095/1.682, allocations: 0.5679 MB / 0.7873 GB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/1.683, allocations: 8.031 kB / 0.7873 GB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/1.683, allocations: 27.98 kB / 0.7874 GB, free: 27.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.683, allocations: 120.8 kB / 0.7875 GB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/1.683, allocations: 11.91 kB / 0.7875 GB, free: 27.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/1.684, allocations: 319.9 kB / 0.7878 GB, free: 27.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.684, allocations: 4 kB / 0.7878 GB, free: 27.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/1.684, allocations: 0 / 0.7878 GB, free: 27.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.684, allocations: 4 kB / 0.7878 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/1.685, allocations: 0.6151 MB / 0.7884 GB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.685, allocations: 3.938 kB / 0.7884 GB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/1.686, allocations: 63.89 kB / 0.7885 GB, free: 26.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/1.686, allocations: 24.94 kB / 0.7885 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/1.686, allocations: 12 kB / 0.7885 GB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008343/1.687, allocations: 1.272 MB / 0.7898 GB, free: 24.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.687, allocations: 0 / 0.7898 GB, free: 24.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/1.688, allocations: 455.2 kB / 0.7902 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/1.688, allocations: 85.05 kB / 0.7903 GB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/1.688, allocations: 8 kB / 0.7903 GB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/1.688, allocations: 8 kB / 0.7903 GB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/1.688, allocations: 23.92 kB / 0.7903 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/1.688, allocations: 31.98 kB / 0.7903 GB, free: 24.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.662e-05/1.688, allocations: 87.22 kB / 0.7904 GB, free: 24.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.253e-06/1.688, allocations: 0 / 0.7904 GB, free: 24.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006999/1.689, allocations: 123.9 kB / 0.7905 GB, free: 24.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.001941/1.691, allocations: 1.623 MB / 0.7921 GB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006238/1.692, allocations: 187.9 kB / 0.7923 GB, free: 22.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.692, allocations: 0 / 0.7923 GB, free: 22.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/1.692, allocations: 213.6 kB / 0.7925 GB, free: 22.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/1.693, allocations: 44.33 kB / 0.7925 GB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/1.694, allocations: 412.6 kB / 0.7929 GB, free: 21.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/1.694, allocations: 0.7126 MB / 0.7936 GB, free: 20.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/1.694, allocations: 71.39 kB / 0.7937 GB, free: 20.72 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/1.694, allocations: 0 / 0.7937 GB, free: 20.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.739/4.433, allocations: 6.939 MB / 0.8005 GB, free: 13.8 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat