Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.635/2.635, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.212e-05, allocations: 4 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4456, allocations: 61.88 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.439/1.885, allocations: 493.4 MB / 0.8812 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/1.885, allocations: 98.42 kB / 0.8813 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.086/2.971, allocations: 212.7 MB / 1.089 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.156e-06/2.972, allocations: 0 / 1.089 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.363e-05/2.972, allocations: 12 kB / 1.089 GB, free: 39.71 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.002385/2.974, allocations: 0.8541 MB / 1.09 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/2.974, allocations: 8.031 kB / 1.09 GB, free: 38.81 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/2.974, allocations: 86.52 kB / 1.09 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/2.976, allocations: 139.1 kB / 1.09 GB, free: 38.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/2.977, allocations: 496.8 kB / 1.09 GB, free: 38.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/2.977, allocations: 32.98 kB / 1.091 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/2.977, allocations: 40 kB / 1.091 GB, free: 37.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/2.979, allocations: 0.5753 MB / 1.091 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/2.979, allocations: 0 / 1.091 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/2.979, allocations: 24 kB / 1.091 GB, free: 37.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/2.979, allocations: 12 kB / 1.091 GB, free: 37.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/2.981, allocations: 461.2 kB / 1.092 GB, free: 36.88 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.004387/2.985, allocations: 2.646 MB / 1.094 GB, free: 34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/2.987, allocations: 304 kB / 1.094 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/2.987, allocations: 149.4 kB / 1.095 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/2.987, allocations: 437.8 kB / 1.095 GB, free: 33.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/2.987, allocations: 38.8 kB / 1.095 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.166e-06/2.987, allocations: 4 kB / 1.095 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001627/2.989, allocations: 456.1 kB / 1.096 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/2.989, allocations: 132.5 kB / 1.096 GB, free: 32.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/2.99, allocations: 439.8 kB / 1.096 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/2.99, allocations: 33.7 kB / 1.096 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/2.99, allocations: 306.5 kB / 1.096 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/2.991, allocations: 126.2 kB / 1.096 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/2.991, allocations: 12 kB / 1.097 GB, free: 31.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/2.991, allocations: 330.8 kB / 1.097 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/2.991, allocations: 165.1 kB / 1.097 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/2.992, allocations: 300.3 kB / 1.097 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/2.992, allocations: 197.7 kB / 1.097 GB, free: 30.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/2.992, allocations: 0 / 1.097 GB, free: 30.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001571/2.994, allocations: 0.5612 MB / 1.098 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/2.994, allocations: 13.98 kB / 1.098 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/2.994, allocations: 4 kB / 1.098 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/2.996, allocations: 241 kB / 1.098 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/2.998, allocations: 147.8 kB / 1.098 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4335/3.431, allocations: 28.64 MB / 1.126 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/3.432, allocations: 72.3 kB / 1.126 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/3.432, allocations: 50.03 kB / 1.126 GB, free: 111.9 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 (56): * 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): 10 * 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: 10 {1,1,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.0002357/3.432, allocations: 133.2 kB / 1.127 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/3.433, allocations: 58.52 kB / 1.127 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/3.436, allocations: 1.022 MB / 1.128 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/3.437, allocations: 6.562 kB / 1.128 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/3.437, allocations: 1.344 kB / 1.128 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/3.437, allocations: 1.312 kB / 1.128 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/3.439, allocations: 0.9138 MB / 1.129 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/3.439, allocations: 2.203 kB / 1.129 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/3.44, allocations: 51.14 kB / 1.129 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/3.442, allocations: 236.4 kB / 1.129 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.861e-05/3.442, allocations: 13.31 kB / 1.129 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006488/3.443, allocations: 0.59 MB / 1.129 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/3.443, allocations: 2.125 kB / 1.129 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/3.444, allocations: 0.5032 MB / 1.13 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/3.445, allocations: 156.3 kB / 1.13 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/3.445, allocations: 10.48 kB / 1.13 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007514/3.446, allocations: 36.59 kB / 1.13 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/3.446, allocations: 26.66 kB / 1.13 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/3.446, allocations: 17.81 kB / 1.13 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008403/3.447, allocations: 382 kB / 1.131 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/3.447, allocations: 0 / 1.131 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002613/3.449, allocations: 376.8 kB / 1.131 GB, free: 110.3 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.003775/3.453, allocations: 2.371 MB / 1.133 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001379/3.454, allocations: 371.6 kB / 1.134 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/3.455, allocations: 0 / 1.134 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/3.455, allocations: 128.9 kB / 1.134 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/3.457, allocations: 277.2 kB / 1.134 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/3.46, allocations: 0.7867 MB / 1.135 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/3.461, allocations: 0.8698 MB / 1.136 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009022/3.462, allocations: 248.5 kB / 1.136 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/3.462, allocations: 0 / 1.136 GB, free: 108.1 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)).