Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.64e-05/4.648e-05, allocations: 8 kB / 347.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4425, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.185/2.627, allocations: 0.6961 GB / 1.095 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/2.627, allocations: 71.16 kB / 1.095 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4927/3.12, allocations: 34.04 MB / 1.129 GB, free: 191.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.064e-06/3.12, allocations: 0 / 1.129 GB, free: 191.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.563e-05/3.12, allocations: 2.219 kB / 1.129 GB, free: 191.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000734/3.121, allocations: 421.3 kB / 1.129 GB, free: 191.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/3.121, allocations: 9.094 kB / 1.129 GB, free: 191.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/3.121, allocations: 39.91 kB / 1.129 GB, free: 191.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/3.124, allocations: 192.4 kB / 1.129 GB, free: 191.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/3.124, allocations: 207.7 kB / 1.13 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/3.124, allocations: 5.938 kB / 1.13 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/3.125, allocations: 7.75 kB / 1.13 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/3.125, allocations: 189.3 kB / 1.13 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/3.125, allocations: 1.312 kB / 1.13 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/3.125, allocations: 10.62 kB / 1.13 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/3.125, allocations: 2 kB / 1.13 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005661/3.126, allocations: 189.2 kB / 1.13 GB, free: 190.9 MB / 0.5261 GB 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.002105/3.128, allocations: 0.6125 MB / 1.131 GB, free: 190.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/3.128, allocations: 148.5 kB / 1.131 GB, free: 190.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/3.128, allocations: 77.2 kB / 1.131 GB, free: 190.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/3.129, allocations: 89.38 kB / 1.131 GB, free: 190.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/3.129, allocations: 40.89 kB / 1.131 GB, free: 190.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.936e-06/3.129, allocations: 0 / 1.131 GB, free: 190.4 MB / 0.5261 GB 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.007885/3.137, allocations: 1.21 MB / 1.132 GB, free: 189.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/3.137, allocations: 56.81 kB / 1.132 GB, free: 189.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/3.137, allocations: 105.5 kB / 1.132 GB, free: 189.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/3.137, allocations: 32.83 kB / 1.132 GB, free: 189.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/3.137, allocations: 164.7 kB / 1.132 GB, free: 189.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/3.137, allocations: 67.25 kB / 1.132 GB, free: 189.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/3.137, allocations: 7.906 kB / 1.132 GB, free: 189.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/3.137, allocations: 319.7 kB / 1.133 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/3.137, allocations: 75.61 kB / 1.133 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/3.138, allocations: 103.3 kB / 1.133 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/3.138, allocations: 87.02 kB / 1.133 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/3.138, allocations: 3.938 kB / 1.133 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006541/3.139, allocations: 246.4 kB / 1.133 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/3.139, allocations: 4.719 kB / 1.133 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/3.139, allocations: 6.5 kB / 1.133 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/3.139, allocations: 24.88 kB / 1.133 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/3.139, allocations: 54.97 kB / 1.133 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003426/3.14, allocations: 0.5338 MB / 1.134 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/3.14, allocations: 11.88 kB / 1.134 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/3.14, allocations: 6.031 kB / 1.134 GB, free: 188.6 MB / 0.5261 GB 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.0001235/3.14, allocations: 119.5 kB / 1.134 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/3.14, allocations: 13.67 kB / 1.134 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008817/3.141, allocations: 274.9 kB / 1.134 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/3.141, allocations: 5.562 kB / 1.134 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/3.141, allocations: 0 / 1.134 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/3.141, allocations: 0 / 1.134 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/3.143, allocations: 0.6401 MB / 1.135 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/3.143, allocations: 2.781 kB / 1.135 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/3.143, allocations: 43.48 kB / 1.135 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/3.144, allocations: 24.72 kB / 1.135 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/3.144, allocations: 6.281 kB / 1.135 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008635/3.144, allocations: 1.276 MB / 1.136 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/3.144, allocations: 2.219 kB / 1.136 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009067/3.145, allocations: 444.5 kB / 1.137 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/3.145, allocations: 82.89 kB / 1.137 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/3.146, allocations: 9.688 kB / 1.137 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/3.146, allocations: 6.531 kB / 1.137 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/3.146, allocations: 21.31 kB / 1.137 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/3.146, allocations: 8.156 kB / 1.137 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.266e-05/3.146, allocations: 91.3 kB / 1.137 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/3.146, allocations: 0 / 1.137 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000932/3.147, allocations: 165.1 kB / 1.137 GB, free: 186.4 MB / 0.5261 GB 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 (19): * Single equations (assignments): 18 * 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.002661/3.15, allocations: 1.718 MB / 1.139 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007001/3.151, allocations: 185.4 kB / 1.139 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/3.151, allocations: 4.188 kB / 1.139 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/3.151, allocations: 209.2 kB / 1.139 GB, free: 185.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/3.152, allocations: 42.03 kB / 1.139 GB, free: 185.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/3.153, allocations: 430.4 kB / 1.14 GB, free: 184.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/3.153, allocations: 0.7191 MB / 1.14 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/3.153, allocations: 37.66 kB / 1.14 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/3.153, allocations: 0 / 1.14 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.18/6.333, allocations: 7.906 MB / 1.148 GB, free: 183.4 MB / 0.5261 GB