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.955/1.955, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.806e-05, allocations: 0 / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.497/1.609, allocations: 449.6 MB / 0.7533 GB, free: 60.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.609, allocations: 73.89 kB / 0.7534 GB, free: 60.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1014/1.711, allocations: 29.76 MB / 0.7825 GB, free: 32.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.711, allocations: 0 / 0.7825 GB, free: 32.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/1.711, allocations: 0 / 0.7825 GB, free: 32.97 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.0005106/1.711, allocations: 386.6 kB / 0.7828 GB, free: 32.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.711, allocations: 8.031 kB / 0.7828 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/1.711, allocations: 38.56 kB / 0.7829 GB, free: 32.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/1.714, allocations: 196.1 kB / 0.7831 GB, free: 32.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/1.714, allocations: 199 kB / 0.7832 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/1.714, allocations: 8 kB / 0.7833 GB, free: 32.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/1.714, allocations: 7.953 kB / 0.7833 GB, free: 32.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/1.715, allocations: 212 kB / 0.7835 GB, free: 31.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.715, allocations: 0 / 0.7835 GB, free: 31.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/1.715, allocations: 4 kB / 0.7835 GB, free: 31.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.715, allocations: 4 kB / 0.7835 GB, free: 31.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/1.715, allocations: 152 kB / 0.7836 GB, free: 31.68 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.0013/1.717, allocations: 0.5722 MB / 0.7842 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/1.717, allocations: 130.5 kB / 0.7843 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/1.717, allocations: 60.86 kB / 0.7844 GB, free: 30.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/1.717, allocations: 3.984 kB / 0.7844 GB, free: 30.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/1.717, allocations: 42.5 kB / 0.7844 GB, free: 30.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.815e-06/1.717, allocations: 0 / 0.7844 GB, free: 30.79 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.007517/1.725, allocations: 1.087 MB / 0.7855 GB, free: 29.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.725, allocations: 67.34 kB / 0.7855 GB, free: 29.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/1.725, allocations: 101 kB / 0.7856 GB, free: 29.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/1.725, allocations: 25.7 kB / 0.7856 GB, free: 29.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/1.725, allocations: 170.3 kB / 0.7858 GB, free: 29.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/1.725, allocations: 67.08 kB / 0.7859 GB, free: 29.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/1.725, allocations: 4.219 kB / 0.7859 GB, free: 29.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.816e-05/1.725, allocations: 318.8 kB / 0.7862 GB, free: 28.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/1.726, allocations: 63.92 kB / 0.7862 GB, free: 28.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/1.726, allocations: 101.2 kB / 0.7863 GB, free: 28.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/1.726, allocations: 76.28 kB / 0.7864 GB, free: 28.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.726, allocations: 0 / 0.7864 GB, free: 28.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006358/1.727, allocations: 248.6 kB / 0.7866 GB, free: 28.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.727, allocations: 16.05 kB / 0.7867 GB, free: 28.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.727, allocations: 0 / 0.7867 GB, free: 28.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/1.727, allocations: 52.83 kB / 0.7867 GB, free: 28.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/1.728, allocations: 47.97 kB / 0.7868 GB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004324/1.728, allocations: 0.5679 MB / 0.7873 GB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/1.728, allocations: 8.094 kB / 0.7873 GB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/1.728, allocations: 31.98 kB / 0.7874 GB, free: 27.61 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.0001249/1.729, allocations: 120.8 kB / 0.7875 GB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/1.729, allocations: 11.89 kB / 0.7875 GB, free: 27.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/1.73, allocations: 331.1 kB / 0.7878 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.73, allocations: 0 / 0.7878 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.73, allocations: 0 / 0.7878 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.73, allocations: 0 / 0.7878 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/1.731, allocations: 0.6104 MB / 0.7884 GB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.731, allocations: 4 kB / 0.7884 GB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/1.732, allocations: 59.89 kB / 0.7885 GB, free: 26.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/1.732, allocations: 20.84 kB / 0.7885 GB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/1.732, allocations: 19.92 kB / 0.7885 GB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009047/1.733, allocations: 1.276 MB / 0.7897 GB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.733, allocations: 0 / 0.7897 GB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/1.734, allocations: 454.9 kB / 0.7902 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/1.734, allocations: 85.05 kB / 0.7903 GB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/1.734, allocations: 16.05 kB / 0.7903 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/1.734, allocations: 8 kB / 0.7903 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/1.734, allocations: 27.92 kB / 0.7903 GB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/1.734, allocations: 27.98 kB / 0.7903 GB, free: 24.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.63e-05/1.734, allocations: 91.58 kB / 0.7904 GB, free: 24.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.734, allocations: 3.938 kB / 0.7904 GB, free: 24.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007642/1.735, allocations: 115.9 kB / 0.7905 GB, free: 24.07 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.002235/1.738, allocations: 1.617 MB / 0.7921 GB, free: 22.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006976/1.738, allocations: 191.8 kB / 0.7923 GB, free: 22.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.738, allocations: 0 / 0.7923 GB, free: 22.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/1.739, allocations: 214.5 kB / 0.7925 GB, free: 21.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/1.739, allocations: 44.33 kB / 0.7925 GB, free: 21.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/1.741, allocations: 419.8 kB / 0.7929 GB, free: 21.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/1.741, allocations: 0.7049 MB / 0.7936 GB, free: 20.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/1.741, allocations: 83.38 kB / 0.7937 GB, free: 20.68 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/1.741, allocations: 0 / 0.7937 GB, free: 20.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.812/4.554, allocations: 6.888 MB / 0.8004 GB, free: 13.79 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