Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.611/2.611, allocations: 270 MB / 282.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.688e-05, allocations: 4 kB / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4245, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.517/1.941, allocations: 0.5 GB / 0.8994 GB, free: 15 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/1.942, allocations: 94.33 kB / 0.8995 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.706/3.648, allocations: 249 MB / 1.143 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/3.648, allocations: 0 / 1.143 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.251e-05/3.648, allocations: 19.44 kB / 1.143 GB, free: 105.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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0035/3.651, allocations: 1.082 MB / 1.144 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/3.651, allocations: 7.781 kB / 1.144 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/3.652, allocations: 91.53 kB / 1.144 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/3.653, allocations: 148.3 kB / 1.144 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/3.655, allocations: 0.4933 MB / 1.144 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/3.655, allocations: 37.08 kB / 1.144 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/3.655, allocations: 41.47 kB / 1.144 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/3.656, allocations: 0.6242 MB / 1.145 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/3.656, allocations: 4.938 kB / 1.145 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/3.656, allocations: 20.55 kB / 1.145 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/3.656, allocations: 14.52 kB / 1.145 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/3.658, allocations: 486.8 kB / 1.146 GB, free: 104.4 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.004078/3.662, allocations: 2.61 MB / 1.148 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/3.663, allocations: 300.9 kB / 1.148 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/3.663, allocations: 147.5 kB / 1.149 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/3.664, allocations: 438.5 kB / 1.149 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/3.664, allocations: 42.81 kB / 1.149 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 2.454e-06/3.664, allocations: 0 / 1.149 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.00158/3.665, allocations: 458.4 kB / 1.149 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/3.665, allocations: 158.2 kB / 1.15 GB, free: 102 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007337/3.666, allocations: 460.8 kB / 1.15 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.5e-05/3.666, allocations: 35.36 kB / 1.15 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/3.666, allocations: 325.8 kB / 1.15 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/3.667, allocations: 129.4 kB / 1.151 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/3.667, allocations: 9.906 kB / 1.151 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.194e-05/3.667, allocations: 332.7 kB / 1.151 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/3.667, allocations: 134.3 kB / 1.151 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/3.668, allocations: 310.8 kB / 1.151 GB, free: 101 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/3.668, allocations: 186.3 kB / 1.151 GB, free: 101 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/3.668, allocations: 0 / 1.151 GB, free: 101 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001295/3.669, allocations: 0.4929 MB / 1.152 GB, free: 101 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/3.669, allocations: 5.75 kB / 1.152 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/3.669, allocations: 11.22 kB / 1.152 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/3.672, allocations: 237 kB / 1.152 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/3.672, allocations: 118.5 kB / 1.152 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004633/3.673, allocations: 0.5898 MB / 1.153 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/3.674, allocations: 73.89 kB / 1.153 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/3.674, allocations: 58.05 kB / 1.153 GB, free: 100.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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): 51 * 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 prepare postOptimizeDAE: time 0.0001891/3.674, allocations: 131.4 kB / 1.153 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/3.674, allocations: 57.81 kB / 1.153 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/3.677, allocations: 1.047 MB / 1.154 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/3.677, allocations: 6.469 kB / 1.154 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/3.677, allocations: 0 / 1.154 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/3.677, allocations: 7.562 kB / 1.154 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/3.679, allocations: 0.9203 MB / 1.155 GB, free: 99.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/3.679, allocations: 7.156 kB / 1.155 GB, free: 99.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/3.679, allocations: 53.23 kB / 1.155 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/3.681, allocations: 228 kB / 1.155 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/3.681, allocations: 14.62 kB / 1.155 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004421/3.682, allocations: 0.581 MB / 1.156 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/3.682, allocations: 3.75 kB / 1.156 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009637/3.683, allocations: 0.5202 MB / 1.156 GB, free: 98.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/3.683, allocations: 152 kB / 1.157 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/3.683, allocations: 6.344 kB / 1.157 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/3.684, allocations: 34.45 kB / 1.157 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/3.684, allocations: 27.06 kB / 1.157 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/3.684, allocations: 20.89 kB / 1.157 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006925/3.685, allocations: 405.5 kB / 1.157 GB, free: 98.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/3.685, allocations: 0 / 1.157 GB, free: 98.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002088/3.687, allocations: 449.1 kB / 1.158 GB, free: 98.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.003962/3.691, allocations: 2.602 MB / 1.16 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001068/3.692, allocations: 333.6 kB / 1.16 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/3.692, allocations: 0 / 1.16 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/3.692, allocations: 134 kB / 1.161 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/3.695, allocations: 353.7 kB / 1.161 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/3.698, allocations: 0.8378 MB / 1.162 GB, free: 96.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/3.698, allocations: 0.8778 MB / 1.163 GB, free: 96.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008446/3.699, allocations: 258.5 kB / 1.163 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/3.699, allocations: 0 / 1.163 GB, free: 96.18 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)).