Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 270 MB / 282.6 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.101e-05, allocations: 4 kB / 347.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.441, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.427/1.868, allocations: 498.1 MB / 0.8858 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/1.868, allocations: 91.22 kB / 0.8859 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.131/2.999, allocations: 219.6 MB / 1.1 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/2.999, allocations: 4 kB / 1.1 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.032e-05/3, allocations: 16 kB / 1.1 GB, free: 28.2 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.002609/3.002, allocations: 0.9008 MB / 1.101 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/3.002, allocations: 8.031 kB / 1.101 GB, free: 27.24 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/3.002, allocations: 78.52 kB / 1.101 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/3.004, allocations: 139.2 kB / 1.101 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/3.005, allocations: 479.1 kB / 1.102 GB, free: 26.51 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/3.005, allocations: 33.22 kB / 1.102 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/3.005, allocations: 40 kB / 1.102 GB, free: 26.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/3.007, allocations: 0.5752 MB / 1.102 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/3.007, allocations: 3.938 kB / 1.103 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.862e-05/3.007, allocations: 23.95 kB / 1.103 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/3.007, allocations: 12 kB / 1.103 GB, free: 25.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/3.008, allocations: 433.4 kB / 1.103 GB, free: 25.36 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.004359/3.013, allocations: 2.634 MB / 1.106 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009715/3.014, allocations: 299.5 kB / 1.106 GB, free: 22.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/3.014, allocations: 145.3 kB / 1.106 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/3.015, allocations: 433.9 kB / 1.106 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/3.015, allocations: 42.78 kB / 1.106 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.927e-06/3.015, allocations: 0 / 1.106 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001565/3.016, allocations: 432.3 kB / 1.107 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/3.016, allocations: 132.5 kB / 1.107 GB, free: 20.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/3.017, allocations: 423.8 kB / 1.107 GB, free: 20.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.278e-05/3.017, allocations: 33.7 kB / 1.107 GB, free: 20.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/3.017, allocations: 302.2 kB / 1.108 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/3.017, allocations: 122.3 kB / 1.108 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/3.017, allocations: 8 kB / 1.108 GB, free: 20 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.909e-05/3.018, allocations: 330.8 kB / 1.108 GB, free: 19.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/3.018, allocations: 153.1 kB / 1.108 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/3.019, allocations: 287.8 kB / 1.109 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/3.019, allocations: 187.6 kB / 1.109 GB, free: 19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/3.019, allocations: 0 / 1.109 GB, free: 19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001448/3.02, allocations: 0.5249 MB / 1.109 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/3.021, allocations: 8 kB / 1.109 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/3.021, allocations: 7.984 kB / 1.109 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/3.023, allocations: 229 kB / 1.109 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/3.024, allocations: 139.8 kB / 1.11 GB, free: 18.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3951/3.419, allocations: 17.42 MB / 1.127 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/3.42, allocations: 64.91 kB / 1.127 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/3.42, allocations: 49.47 kB / 1.127 GB, free: 111.3 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 (52): * 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): 6 * 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: 6 {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.0002381/3.42, allocations: 139.3 kB / 1.127 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/3.421, allocations: 52.5 kB / 1.127 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/3.424, allocations: 1.003 MB / 1.128 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/3.424, allocations: 7.453 kB / 1.128 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/3.424, allocations: 0.5938 kB / 1.128 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/3.424, allocations: 1.969 kB / 1.128 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/3.427, allocations: 0.8905 MB / 1.129 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/3.427, allocations: 4.75 kB / 1.129 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/3.427, allocations: 51.62 kB / 1.129 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/3.43, allocations: 232.1 kB / 1.129 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/3.43, allocations: 15.05 kB / 1.129 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005216/3.43, allocations: 0.5787 MB / 1.13 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/3.43, allocations: 1.812 kB / 1.13 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/3.431, allocations: 0.4987 MB / 1.13 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/3.432, allocations: 154.1 kB / 1.13 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/3.432, allocations: 9.281 kB / 1.13 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/3.433, allocations: 39.47 kB / 1.13 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/3.433, allocations: 21.05 kB / 1.13 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/3.433, allocations: 17.12 kB / 1.13 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000753/3.433, allocations: 364.9 kB / 1.131 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.21e-07/3.433, allocations: 1.188 kB / 1.131 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00266/3.436, allocations: 441.2 kB / 1.131 GB, free: 109.7 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.0043/3.44, allocations: 2.442 MB / 1.133 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001305/3.442, allocations: 341.2 kB / 1.134 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/3.442, allocations: 7.219 kB / 1.134 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/3.442, allocations: 123.1 kB / 1.134 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/3.445, allocations: 274.6 kB / 1.134 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/3.448, allocations: 0.8023 MB / 1.135 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/3.448, allocations: 0.8599 MB / 1.136 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008688/3.449, allocations: 255.5 kB / 1.136 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.153e-06/3.449, allocations: 7.094 kB / 1.136 GB, free: 107.5 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)).