Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.682/2.682, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.692e-05, allocations: 0 / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4305, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.029/2.459, allocations: 0.5216 GB / 0.921 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/2.46, allocations: 92.05 kB / 0.9211 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.104/3.564, allocations: 206.4 MB / 1.123 GB, free: 105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.854e-06/3.564, allocations: 0 / 1.123 GB, free: 105 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.327e-05/3.564, allocations: 20.53 kB / 1.123 GB, free: 105 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003795/3.568, allocations: 1.036 MB / 1.124 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/3.568, allocations: 15.81 kB / 1.124 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003499/3.569, allocations: 94.31 kB / 1.124 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/3.57, allocations: 131.9 kB / 1.124 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/3.572, allocations: 0.5433 MB / 1.124 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/3.572, allocations: 102.9 kB / 1.124 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/3.573, allocations: 48.69 kB / 1.125 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/3.575, allocations: 0.7992 MB / 1.125 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/3.575, allocations: 6.562 kB / 1.125 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/3.575, allocations: 24.88 kB / 1.125 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.266e-05/3.575, allocations: 35.8 kB / 1.125 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/3.577, allocations: 0.5972 MB / 1.126 GB, free: 104 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.006375/3.583, allocations: 3.93 MB / 1.13 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/3.584, allocations: 325.5 kB / 1.13 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/3.584, allocations: 167.4 kB / 1.13 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/3.585, allocations: 92.55 kB / 1.13 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/3.585, allocations: 40.62 kB / 1.13 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.056e-06/3.585, allocations: 0 / 1.13 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.008606/3.593, allocations: 1.512 MB / 1.132 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/3.593, allocations: 134.5 kB / 1.132 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009085/3.594, allocations: 0.5319 MB / 1.133 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-05/3.594, allocations: 35.11 kB / 1.133 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/3.595, allocations: 395.1 kB / 1.133 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/3.595, allocations: 145.5 kB / 1.133 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/3.595, allocations: 14.66 kB / 1.133 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/3.595, allocations: 336.9 kB / 1.133 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/3.595, allocations: 192.5 kB / 1.134 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006741/3.596, allocations: 0.4999 MB / 1.134 GB, free: 99.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/3.597, allocations: 289.8 kB / 1.134 GB, free: 99.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/3.597, allocations: 3.531 kB / 1.134 GB, free: 99.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001945/3.599, allocations: 0.7906 MB / 1.135 GB, free: 99.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/3.599, allocations: 14.81 kB / 1.135 GB, free: 99.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/3.599, allocations: 9.25 kB / 1.135 GB, free: 99.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/3.601, allocations: 301.1 kB / 1.135 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/3.602, allocations: 125.5 kB / 1.136 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/3.603, allocations: 0.9273 MB / 1.136 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/3.604, allocations: 52.59 kB / 1.137 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/3.605, allocations: 68.34 kB / 1.137 GB, free: 98.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002389/3.605, allocations: 160.9 kB / 1.137 GB, free: 98.72 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/3.605, allocations: 62.72 kB / 1.137 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/3.607, allocations: 0.8495 MB / 1.138 GB, free: 98.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/3.607, allocations: 5.969 kB / 1.138 GB, free: 98.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/3.607, allocations: 3.344 kB / 1.138 GB, free: 98.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/3.607, allocations: 3.562 kB / 1.138 GB, free: 98.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/3.61, allocations: 1.436 MB / 1.139 GB, free: 97.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/3.61, allocations: 0 / 1.139 GB, free: 97.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/3.612, allocations: 210.5 kB / 1.139 GB, free: 97.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/3.613, allocations: 26.53 kB / 1.139 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/3.613, allocations: 19.89 kB / 1.139 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/3.615, allocations: 2.675 MB / 1.142 GB, free: 95.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/3.615, allocations: 2.938 kB / 1.142 GB, free: 95.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/3.617, allocations: 0.8579 MB / 1.143 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/3.617, allocations: 182.2 kB / 1.143 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/3.617, allocations: 18.61 kB / 1.143 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007917/3.618, allocations: 31.5 kB / 1.143 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/3.618, allocations: 45.77 kB / 1.143 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-05/3.618, allocations: 42.09 kB / 1.143 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007292/3.619, allocations: 421.6 kB / 1.143 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/3.619, allocations: 3.781 kB / 1.143 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001817/3.621, allocations: 327.4 kB / 1.144 GB, free: 94.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 1 * 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: 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.004197/3.625, allocations: 2.682 MB / 1.146 GB, free: 93.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001734/3.627, allocations: 0.5222 MB / 1.147 GB, free: 93.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/3.627, allocations: 0 / 1.147 GB, free: 93.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/3.628, allocations: 380.4 kB / 1.147 GB, free: 93.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/3.631, allocations: 330.4 kB / 1.148 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/3.635, allocations: 1.193 MB / 1.149 GB, free: 92.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/3.635, allocations: 0.945 MB / 1.15 GB, free: 92.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009702/3.636, allocations: 296.4 kB / 1.15 GB, free: 92.28 MB / 0.5261 GB Notification: Performance of SimCode: time 1.373e-06/3.636, allocations: 0 / 1.15 GB, free: 92.28 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)).