Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.707/2.707, allocations: 270 MB / 282.6 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.018e-05/4.023e-05, allocations: 4 kB / 347.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.425, allocations: 61.86 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.469/1.894, allocations: 499 MB / 0.8866 GB, free: 27.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.895, allocations: 95.7 kB / 0.8867 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.183/3.078, allocations: 224.7 MB / 1.106 GB, free: 22.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/3.078, allocations: 0 / 1.106 GB, free: 22.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.243e-05/3.078, allocations: 16.22 kB / 1.106 GB, free: 22.33 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002637/3.08, allocations: 0.8968 MB / 1.107 GB, free: 21.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/3.08, allocations: 8.031 kB / 1.107 GB, free: 21.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/3.081, allocations: 90.52 kB / 1.107 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/3.082, allocations: 131.2 kB / 1.107 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/3.083, allocations: 487.2 kB / 1.108 GB, free: 20.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/3.083, allocations: 29 kB / 1.108 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/3.084, allocations: 47.98 kB / 1.108 GB, free: 20.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/3.085, allocations: 0.5752 MB / 1.108 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/3.085, allocations: 4 kB / 1.108 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/3.085, allocations: 20 kB / 1.108 GB, free: 19.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/3.085, allocations: 12 kB / 1.108 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/3.086, allocations: 449.3 kB / 1.109 GB, free: 19.46 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.004205/3.091, allocations: 2.638 MB / 1.111 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009504/3.092, allocations: 295.5 kB / 1.112 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/3.092, allocations: 145.4 kB / 1.112 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004362/3.092, allocations: 445.8 kB / 1.112 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/3.092, allocations: 38.78 kB / 1.112 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.046e-06/3.092, allocations: 0 / 1.112 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001533/3.094, allocations: 436.2 kB / 1.113 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/3.094, allocations: 136.5 kB / 1.113 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/3.095, allocations: 439.8 kB / 1.113 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.529e-05/3.095, allocations: 33.7 kB / 1.113 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/3.095, allocations: 314.5 kB / 1.114 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/3.095, allocations: 114.3 kB / 1.114 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/3.095, allocations: 12 kB / 1.114 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.459e-05/3.095, allocations: 334.8 kB / 1.114 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/3.096, allocations: 169.1 kB / 1.114 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/3.096, allocations: 303.8 kB / 1.114 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/3.097, allocations: 211.8 kB / 1.115 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/3.097, allocations: 3.984 kB / 1.115 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001467/3.098, allocations: 0.5526 MB / 1.115 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/3.098, allocations: 8 kB / 1.115 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/3.098, allocations: 4 kB / 1.115 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/3.101, allocations: 233 kB / 1.115 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/3.102, allocations: 143.8 kB / 1.116 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4077/3.509, allocations: 23.04 MB / 1.138 GB, free: 99.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/3.511, allocations: 71.33 kB / 1.138 GB, free: 99.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/3.511, allocations: 50.03 kB / 1.138 GB, free: 99.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * 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): 8 * 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: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002412/3.511, allocations: 141.4 kB / 1.138 GB, free: 99.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/3.511, allocations: 54.31 kB / 1.138 GB, free: 99.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/3.515, allocations: 1.009 MB / 1.139 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/3.515, allocations: 2.688 kB / 1.139 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/3.515, allocations: 4.594 kB / 1.139 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/3.515, allocations: 1.969 kB / 1.139 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/3.517, allocations: 0.8983 MB / 1.14 GB, free: 98.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/3.517, allocations: 1.25 kB / 1.14 GB, free: 98.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/3.518, allocations: 59.52 kB / 1.14 GB, free: 98.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/3.52, allocations: 233.4 kB / 1.141 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/3.52, allocations: 11.25 kB / 1.141 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005261/3.52, allocations: 0.5963 MB / 1.141 GB, free: 98.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/3.521, allocations: 8.875 kB / 1.141 GB, free: 98.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/3.522, allocations: 0.503 MB / 1.142 GB, free: 98.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/3.522, allocations: 153.7 kB / 1.142 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/3.522, allocations: 6.719 kB / 1.142 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/3.523, allocations: 38.25 kB / 1.142 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/3.523, allocations: 28.73 kB / 1.142 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/3.523, allocations: 14.44 kB / 1.142 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007664/3.524, allocations: 380.6 kB / 1.142 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/3.524, allocations: 0 / 1.142 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002737/3.526, allocations: 435.4 kB / 1.143 GB, free: 97.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004316/3.531, allocations: 2.44 MB / 1.145 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001371/3.532, allocations: 367.2 kB / 1.145 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/3.532, allocations: 0.9688 kB / 1.145 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004063/3.533, allocations: 131.1 kB / 1.145 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/3.535, allocations: 288.8 kB / 1.146 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/3.538, allocations: 0.805 MB / 1.147 GB, free: 96.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/3.539, allocations: 0.8658 MB / 1.147 GB, free: 95.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000881/3.539, allocations: 250.6 kB / 1.148 GB, free: 95.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/3.539, allocations: 0 / 1.148 GB, free: 95.65 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)).