Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 270 MB / 282.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.513e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4259, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.49/1.916, allocations: 0.5108 GB / 0.9101 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/1.916, allocations: 94.19 kB / 0.9102 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.101/3.017, allocations: 219.2 MB / 1.124 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/3.017, allocations: 0 / 1.124 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.491e-05/3.017, allocations: 16 kB / 1.124 GB, free: 5.441 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.003134/3.02, allocations: 1.029 MB / 1.125 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/3.02, allocations: 12.03 kB / 1.125 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/3.02, allocations: 98.48 kB / 1.125 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/3.021, allocations: 135 kB / 1.126 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/3.023, allocations: 0.5406 MB / 1.126 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/3.023, allocations: 96.41 kB / 1.126 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/3.023, allocations: 55.89 kB / 1.126 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/3.025, allocations: 0.7978 MB / 1.127 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/3.025, allocations: 0 / 1.127 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/3.025, allocations: 24 kB / 1.127 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-05/3.025, allocations: 48.92 kB / 1.127 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/3.027, allocations: 0.5836 MB / 1.128 GB, free: 1.844 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.4494/3.476, allocations: 3.926 MB / 1.131 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/3.477, allocations: 321.2 kB / 1.132 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/3.478, allocations: 162.7 kB / 1.132 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/3.478, allocations: 90.89 kB / 1.132 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/3.478, allocations: 41.83 kB / 1.132 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.607e-06/3.478, allocations: 3.938 kB / 1.132 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.00978/3.488, allocations: 1.507 MB / 1.134 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/3.488, allocations: 137.4 kB / 1.134 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/3.489, allocations: 0.5365 MB / 1.134 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/3.489, allocations: 34.89 kB / 1.134 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/3.49, allocations: 397.3 kB / 1.135 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/3.49, allocations: 147 kB / 1.135 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/3.49, allocations: 9 kB / 1.135 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/3.49, allocations: 339.9 kB / 1.135 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/3.491, allocations: 191.7 kB / 1.135 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/3.491, allocations: 0.4943 MB / 1.136 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/3.492, allocations: 293 kB / 1.136 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/3.492, allocations: 3.906 kB / 1.136 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002044/3.494, allocations: 0.7856 MB / 1.137 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/3.494, allocations: 8.688 kB / 1.137 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/3.494, allocations: 15.69 kB / 1.137 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/3.496, allocations: 313.4 kB / 1.137 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008245/3.497, allocations: 121.6 kB / 1.137 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/3.499, allocations: 0.9213 MB / 1.138 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/3.501, allocations: 47.69 kB / 1.138 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/3.501, allocations: 75.98 kB / 1.138 GB, free: 108.7 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.0003957/3.501, allocations: 151.8 kB / 1.138 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000381/3.502, allocations: 69.33 kB / 1.138 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004924/3.507, allocations: 0.8622 MB / 1.139 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/3.507, allocations: 2.688 kB / 1.139 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/3.507, allocations: 0 / 1.139 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/3.507, allocations: 6.344 kB / 1.139 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/3.513, allocations: 1.433 MB / 1.141 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/3.513, allocations: 0 / 1.141 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003332/3.516, allocations: 211.6 kB / 1.141 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/3.516, allocations: 27.81 kB / 1.141 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/3.517, allocations: 18.72 kB / 1.141 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003676/3.52, allocations: 2.674 MB / 1.144 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/3.52, allocations: 0 / 1.144 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003491/3.524, allocations: 0.8708 MB / 1.144 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/3.525, allocations: 179.2 kB / 1.145 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007332/3.526, allocations: 12.17 kB / 1.145 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/3.527, allocations: 33.19 kB / 1.145 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/3.527, allocations: 46.94 kB / 1.145 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/3.528, allocations: 48.42 kB / 1.145 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001882/3.529, allocations: 419.4 kB / 1.145 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.343e-06/3.53, allocations: 0 / 1.145 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002496/3.532, allocations: 328.7 kB / 1.145 GB, free: 104.7 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.004441/3.537, allocations: 2.671 MB / 1.148 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001795/3.538, allocations: 0.5187 MB / 1.149 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/3.538, allocations: 3.25 kB / 1.149 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/3.54, allocations: 385 kB / 1.149 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/3.543, allocations: 336.3 kB / 1.149 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/3.547, allocations: 1.192 MB / 1.15 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/3.547, allocations: 0.9356 MB / 1.151 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009994/3.548, allocations: 297 kB / 1.152 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/3.548, allocations: 0 / 1.152 GB, free: 102.2 MB / 0.5261 GB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("H2O", #(0.01801528), #(-13423382.81725291), #(549760.6476280135), #(1000), #({-39479.6083, 575.5731019999999, 0.931782653, 0.00722271286, -7.34255737e-06, 4.95504349e-09, -1.336933246e-12}), #({-33039.7431, 17.24205775}), #({1034972.096, -2412.698562, 4.64611078, 0.002291998307, -6.836830479999999e-07, 9.426468930000001e-11, -4.82238053e-15}), #({-13842.86509, -7.97814851}), #(461.5233290850878)).