Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.666/2.666, allocations: 270 MB / 282.7 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.804e-05, allocations: 4 kB / 347.1 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4284, allocations: 61.87 MB / 408.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.453/1.881, allocations: 0.5019 GB / 0.9013 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.881, allocations: 79.03 kB / 0.9014 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5786/2.46, allocations: 48.28 MB / 0.9485 GB, free: 189 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/2.46, allocations: 0 / 0.9485 GB, free: 189 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.404e-05/2.46, allocations: 8 kB / 0.9485 GB, free: 189 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001735/2.462, allocations: 0.6351 MB / 0.9491 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/2.462, allocations: 12.02 kB / 0.9491 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.974e-05/2.462, allocations: 58.38 kB / 0.9492 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/2.475, allocations: 0.5927 MB / 0.9498 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/2.475, allocations: 250.8 kB / 0.95 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/2.475, allocations: 126.5 kB / 0.9501 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/2.475, allocations: 27.94 kB / 0.9502 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/2.477, allocations: 0.5194 MB / 0.9507 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/2.477, allocations: 7.938 kB / 0.9507 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/2.477, allocations: 11.98 kB / 0.9507 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/2.477, allocations: 8 kB / 0.9507 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/2.479, allocations: 0.559 MB / 0.9513 GB, free: 186 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.002797/2.481, allocations: 1.714 MB / 0.9529 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/2.482, allocations: 142.5 kB / 0.9531 GB, free: 184 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/2.482, allocations: 68.89 kB / 0.9531 GB, free: 184 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008669/2.483, allocations: 0.7367 MB / 0.9538 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/2.483, allocations: 42.5 kB / 0.9539 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 2.835e-06/2.483, allocations: 0 / 0.9539 GB, free: 183.1 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=17): time 0.001185/2.484, allocations: 265.8 kB / 0.9541 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/2.484, allocations: 55.41 kB / 0.9542 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/2.484, allocations: 162.2 kB / 0.9543 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/2.484, allocations: 29.7 kB / 0.9544 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/2.485, allocations: 265.6 kB / 0.9546 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/2.485, allocations: 59.11 kB / 0.9547 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/2.485, allocations: 12 kB / 0.9547 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/2.485, allocations: 326.8 kB / 0.955 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/2.485, allocations: 60.75 kB / 0.9551 GB, free: 181.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/2.485, allocations: 255.7 kB / 0.9553 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/2.485, allocations: 106.2 kB / 0.9554 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/2.485, allocations: 0 / 0.9554 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007862/2.486, allocations: 345.7 kB / 0.9557 GB, free: 181 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/2.486, allocations: 12.03 kB / 0.9558 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/2.486, allocations: 8 kB / 0.9558 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/2.486, allocations: 12 kB / 0.9558 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/2.487, allocations: 123.8 kB / 0.9559 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003007/2.487, allocations: 0.6015 MB / 0.9565 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/2.488, allocations: 43.59 kB / 0.9565 GB, free: 180.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.948e-05/2.488, allocations: 48.08 kB / 0.9566 GB, free: 180.2 MB / 0.5261 GB 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.0001321/2.488, allocations: 135.8 kB / 0.9567 GB, free: 180 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/2.488, allocations: 19.81 kB / 0.9567 GB, free: 180 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/2.489, allocations: 427.9 kB / 0.9571 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/2.489, allocations: 0 / 0.9571 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/2.489, allocations: 4 kB / 0.9571 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/2.489, allocations: 0 / 0.9571 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/2.491, allocations: 0.7345 MB / 0.9578 GB, free: 178.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/2.491, allocations: 11.97 kB / 0.9579 GB, free: 178.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/2.491, allocations: 67.89 kB / 0.9579 GB, free: 178.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/2.491, allocations: 7.938 kB / 0.9579 GB, free: 178.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/2.491, allocations: 11.98 kB / 0.9579 GB, free: 178.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002597/2.491, allocations: 0.5937 MB / 0.9585 GB, free: 178 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/2.491, allocations: 3.938 kB / 0.9585 GB, free: 178 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/2.492, allocations: 407.2 kB / 0.9589 GB, free: 177.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/2.492, allocations: 108.9 kB / 0.959 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/2.492, allocations: 11.98 kB / 0.959 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/2.492, allocations: 8 kB / 0.959 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/2.492, allocations: 27.88 kB / 0.9591 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/2.493, allocations: 27.98 kB / 0.9591 GB, free: 177.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001282/2.493, allocations: 131 kB / 0.9592 GB, free: 177.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.7e-07/2.493, allocations: 0 / 0.9592 GB, free: 177.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001113/2.494, allocations: 191.8 kB / 0.9594 GB, free: 177 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.002021/2.496, allocations: 2.028 MB / 0.9614 GB, free: 175 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006983/2.497, allocations: 197.5 kB / 0.9616 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/2.497, allocations: 8.062 kB / 0.9616 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/2.497, allocations: 71.84 kB / 0.9616 GB, free: 174.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/2.498, allocations: 52.64 kB / 0.9617 GB, free: 174.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07271/2.57, allocations: 21.51 MB / 0.9827 GB, free: 153 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/2.571, allocations: 0.7326 MB / 0.9834 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005484/2.571, allocations: 131.3 kB / 0.9835 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/2.571, allocations: 0 / 0.9835 GB, free: 152.1 MB / 0.5261 GB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("Air", #(0.0289651159), #(-4333.833858403446), #(298609.6803431054), #(1000), #({10099.5016, -196.827561, 5.00915511, -0.00576101373, 1.06685993e-05, -7.94029797e-09, 2.18523191e-12}), #({-176.796731, -3.921504225}), #({241521.443, -1257.8746, 5.14455867, -0.000213854179, 7.06522784e-08, -1.07148349e-11, 6.57780015e-16}), #({6462.26319, -8.147411905}), #(287.0512249529787)).