Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.543/2.543, allocations: 270 MB / 282.6 MB, free: 1.91 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.802e-05/4.822e-05, allocations: 4 kB / 347.1 MB, free: 3.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4123, allocations: 61.87 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.462/1.875, allocations: 0.4945 GB / 0.8939 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/1.875, allocations: 87.77 kB / 0.894 GB, free: 20.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.192/3.067, allocations: 236.6 MB / 1.125 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/3.067, allocations: 0 / 1.125 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.265e-05/3.067, allocations: 12 kB / 1.125 GB, free: 2.434 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.002802/3.07, allocations: 1.053 MB / 1.126 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/3.07, allocations: 8.031 kB / 1.126 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/3.07, allocations: 86.52 kB / 1.126 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/3.072, allocations: 155 kB / 1.126 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/3.073, allocations: 0.4928 MB / 1.127 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/3.073, allocations: 29 kB / 1.127 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/3.073, allocations: 44 kB / 1.127 GB, free: 488 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4871/3.56, allocations: 0.6293 MB / 1.127 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/3.56, allocations: 0.5625 kB / 1.127 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/3.56, allocations: 22.41 kB / 1.127 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/3.56, allocations: 11.53 kB / 1.127 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/3.563, allocations: 483.5 kB / 1.128 GB, free: 102 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.01524/3.578, allocations: 2.628 MB / 1.13 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/3.58, allocations: 311.8 kB / 1.131 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/3.581, allocations: 143.8 kB / 1.131 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/3.581, allocations: 441.9 kB / 1.131 GB, free: 99.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/3.581, allocations: 40.33 kB / 1.131 GB, free: 99.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 6.783e-06/3.581, allocations: 3.891 kB / 1.131 GB, free: 99.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.002844/3.584, allocations: 468.3 kB / 1.132 GB, free: 99.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/3.584, allocations: 160.3 kB / 1.132 GB, free: 99.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/3.586, allocations: 462.4 kB / 1.132 GB, free: 99.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/3.586, allocations: 35.91 kB / 1.132 GB, free: 99.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/3.586, allocations: 332.9 kB / 1.133 GB, free: 99.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/3.587, allocations: 122.4 kB / 1.133 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/3.587, allocations: 11.47 kB / 1.133 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001005/3.587, allocations: 331.5 kB / 1.133 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006317/3.587, allocations: 131.4 kB / 1.133 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/3.588, allocations: 309.4 kB / 1.134 GB, free: 98.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/3.589, allocations: 181.1 kB / 1.134 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/3.589, allocations: 0 / 1.134 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002085/3.591, allocations: 0.5077 MB / 1.134 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/3.591, allocations: 3.844 kB / 1.134 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/3.591, allocations: 7.812 kB / 1.134 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/3.594, allocations: 228.7 kB / 1.135 GB, free: 98.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/3.595, allocations: 124.2 kB / 1.135 GB, free: 98.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007355/3.596, allocations: 0.5871 MB / 1.135 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/3.598, allocations: 68.61 kB / 1.135 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/3.598, allocations: 53.42 kB / 1.135 GB, free: 98.04 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.0002943/3.598, allocations: 140.6 kB / 1.135 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/3.598, allocations: 57.78 kB / 1.136 GB, free: 97.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/3.603, allocations: 1.052 MB / 1.137 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/3.603, allocations: 6.75 kB / 1.137 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/3.603, allocations: 0 / 1.137 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/3.603, allocations: 1.844 kB / 1.137 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/3.606, allocations: 0.9373 MB / 1.137 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/3.606, allocations: 0 / 1.137 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/3.606, allocations: 46.98 kB / 1.138 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/3.609, allocations: 237.5 kB / 1.138 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.041e-05/3.609, allocations: 17.14 kB / 1.138 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006708/3.61, allocations: 0.5754 MB / 1.138 GB, free: 96.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/3.61, allocations: 3.906 kB / 1.138 GB, free: 96.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/3.612, allocations: 0.5244 MB / 1.139 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/3.612, allocations: 158.6 kB / 1.139 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/3.612, allocations: 7 kB / 1.139 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/3.614, allocations: 28.62 kB / 1.139 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/3.614, allocations: 25.42 kB / 1.139 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/3.614, allocations: 19.25 kB / 1.139 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001095/3.615, allocations: 403.7 kB / 1.139 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.01e-07/3.615, allocations: 0 / 1.139 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002713/3.618, allocations: 383.7 kB / 1.14 GB, free: 96.34 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.00517/3.623, allocations: 2.538 MB / 1.142 GB, free: 95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001599/3.624, allocations: 326.1 kB / 1.143 GB, free: 95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/3.625, allocations: 2.516 kB / 1.143 GB, free: 95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005498/3.625, allocations: 130.1 kB / 1.143 GB, free: 95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/3.63, allocations: 330.6 kB / 1.143 GB, free: 95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/3.633, allocations: 0.8196 MB / 1.144 GB, free: 94.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/3.634, allocations: 0.8746 MB / 1.145 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/3.635, allocations: 265.3 kB / 1.145 GB, free: 93.97 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/3.635, allocations: 3.156 kB / 1.145 GB, free: 93.97 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)).