Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.884/2.884, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.364e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4364, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.273/2.71, allocations: 0.6037 GB / 0.9498 GB, free: 71.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/2.71, allocations: 91.77 kB / 0.9499 GB, free: 71.13 MB / 490.7 MB Error: Variable fitting1.a in package ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate is not constant. Error: Variable fitting2.a in package ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate is not constant. Notification: Performance of FrontEnd - DAE generated: time 1.351/4.061, allocations: 223.1 MB / 1.168 GB, free: 54.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.073e-06/4.061, allocations: 0 / 1.168 GB, free: 54.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.112e-05/4.061, allocations: 12.22 kB / 1.168 GB, free: 54.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002564/4.064, allocations: 0.8474 MB / 1.169 GB, free: 53.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/4.064, allocations: 8.031 kB / 1.169 GB, free: 53.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/4.064, allocations: 66.48 kB / 1.169 GB, free: 53.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/4.066, allocations: 135.2 kB / 1.169 GB, free: 53.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/4.067, allocations: 0.5003 MB / 1.169 GB, free: 52.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/4.067, allocations: 17.31 kB / 1.169 GB, free: 52.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/4.067, allocations: 24 kB / 1.169 GB, free: 52.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00112/4.068, allocations: 330.5 kB / 1.17 GB, free: 52.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/4.07, allocations: 455.7 kB / 1.17 GB, free: 51.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/4.07, allocations: 7.938 kB / 1.17 GB, free: 51.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/4.07, allocations: 3.953 kB / 1.17 GB, free: 51.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/4.07, allocations: 16 kB / 1.17 GB, free: 51.77 MB / 490.7 MB 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.004317/4.074, allocations: 2.46 MB / 1.173 GB, free: 49.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/4.075, allocations: 186.8 kB / 1.173 GB, free: 48.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/4.075, allocations: 109.3 kB / 1.173 GB, free: 48.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/4.077, allocations: 0.5387 MB / 1.173 GB, free: 48.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/4.077, allocations: 34.56 kB / 1.173 GB, free: 48.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 4.338e-06/4.077, allocations: 0 / 1.173 GB, free: 48.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.005232/4.082, allocations: 0.7238 MB / 1.174 GB, free: 47.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/4.082, allocations: 132.5 kB / 1.174 GB, free: 47.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/4.083, allocations: 349 kB / 1.175 GB, free: 46.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/4.083, allocations: 29.7 kB / 1.175 GB, free: 46.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/4.083, allocations: 295.4 kB / 1.175 GB, free: 46.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/4.083, allocations: 102.5 kB / 1.175 GB, free: 46.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/4.083, allocations: 0 / 1.175 GB, free: 46.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/4.083, allocations: 354.8 kB / 1.175 GB, free: 46.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/4.084, allocations: 121.1 kB / 1.175 GB, free: 45.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/4.084, allocations: 293.9 kB / 1.176 GB, free: 45.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00407/4.088, allocations: 0.585 MB / 1.176 GB, free: 45.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/4.088, allocations: 4 kB / 1.176 GB, free: 45.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005183/4.094, allocations: 0.8991 MB / 1.177 GB, free: 44.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/4.094, allocations: 12.59 kB / 1.177 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/4.094, allocations: 7.984 kB / 1.177 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/4.094, allocations: 48.83 kB / 1.177 GB, free: 44.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/4.095, allocations: 131.9 kB / 1.177 GB, free: 43.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005063/4.1, allocations: 11.66 MB / 1.189 GB, free: 31.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/4.101, allocations: 59.69 kB / 1.189 GB, free: 31.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/4.102, allocations: 51.98 kB / 1.189 GB, free: 31.44 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.b:VARIABLE(unit = "(Pa.s)/m3" ) = fitting1.b "Coefficient for linear term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.a:VARIABLE(unit = "(Pa.s2)/m6" ) = fitting1.a "Coefficient for quadratic term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.b:VARIABLE(unit = "(Pa.s)/m3" ) = fitting2.b "Coefficient for linear term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.a:VARIABLE(unit = "(Pa.s2)/m6" ) = fitting2.a "Coefficient for quadratic term" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003092/4.102, allocations: 133 kB / 1.189 GB, free: 31.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/4.102, allocations: 43.44 kB / 1.189 GB, free: 31.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/4.105, allocations: 0.6193 MB / 1.19 GB, free: 30.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/4.105, allocations: 4 kB / 1.19 GB, free: 30.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/4.105, allocations: 0 / 1.19 GB, free: 30.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/4.105, allocations: 3.984 kB / 1.19 GB, free: 30.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/4.108, allocations: 0.882 MB / 1.19 GB, free: 29.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/4.108, allocations: 0 / 1.19 GB, free: 29.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/4.109, allocations: 59.91 kB / 1.191 GB, free: 29.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/4.109, allocations: 56.97 kB / 1.191 GB, free: 29.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/4.109, allocations: 4 kB / 1.191 GB, free: 29.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006831/4.11, allocations: 0.5952 MB / 1.191 GB, free: 28.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/4.11, allocations: 3.938 kB / 1.191 GB, free: 28.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/4.112, allocations: 0.5552 MB / 1.192 GB, free: 28.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/4.112, allocations: 144.4 kB / 1.192 GB, free: 28.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/4.112, allocations: 0 / 1.192 GB, free: 28.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007112/4.113, allocations: 23.97 kB / 1.192 GB, free: 28.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/4.113, allocations: 35.86 kB / 1.192 GB, free: 28.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/4.113, allocations: 16 kB / 1.192 GB, free: 28.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005149/4.114, allocations: 278.9 kB / 1.192 GB, free: 27.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/4.114, allocations: 0 / 1.192 GB, free: 27.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002078/4.116, allocations: 319.5 kB / 1.192 GB, free: 27.48 MB / 490.7 MB 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 (28): * Single equations (assignments): 27 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005103/4.121, allocations: 2.574 MB / 1.195 GB, free: 24.85 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001921/4.123, allocations: 327.9 kB / 1.195 GB, free: 24.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/4.123, allocations: 0 / 1.195 GB, free: 24.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005116/4.123, allocations: 133.2 kB / 1.195 GB, free: 24.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/4.126, allocations: 201.9 kB / 1.196 GB, free: 24.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/4.139, allocations: 2.392 MB / 1.198 GB, free: 21.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/4.14, allocations: 0.8669 MB / 1.199 GB, free: 20.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001787/4.141, allocations: 180.6 kB / 1.199 GB, free: 20.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/4.142, allocations: 207.3 kB / 1.199 GB, free: 20.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/4.142, allocations: 0 / 1.199 GB, free: 20.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5915/4.734, allocations: 21.47 MB / 1.22 GB, free: 105.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003025/4.734, allocations: 218.6 kB / 1.22 GB, free: 104.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.508/9.242, allocations: 1.375 kB / 1.22 GB, free: 104.8 MB / 490.7 MB "" Variables in the reference:time,ramp.y,boundary.ports[1].m_flow,boundary.ports[1].p,boundary.ports[1].h_outflow,sensor.port_b.m_flow,sensor.port_b.p,sensor.port_b.h_outflow,fitting1.port_b.m_flow,fitting1.port_b.p,fitting1.port_b.h_outflow,fitting2.port_b.m_flow,fitting2.port_b.p,fitting2.port_b.h_outflow Variables in the result:_D_cse1,_D_cse10,_D_cse11,_D_cse12,_D_cse13,_D_cse14,_D_cse2,_D_cse3,_D_cse4,_D_cse5,_D_cse6,_D_cse7,_D_cse8,_D_cse9,a,b,boundary.T,boundary.T_in_internal,boundary.X[1],boundary.X_in_internal[1],boundary.flowDirection,boundary.m_flow,boundary.m_flow_in,boundary.m_flow_in_internal,boundary.medium.MM,boundary.medium.R,boundary.medium.T,boundary.medium.T_degC,boundary.medium.X[1],boundary.medium.d,boundary.medium.h,boundary.medium.p,boundary.medium.p_bar,boundary.medium.preferredMediumStates,boundary.medium.standardOrderComponents,boundary.medium.state.T,boundary.medium.state.p,boundary.medium.u,boundary.nPorts,boundary.ports[1].h_outflow,boundary.ports[1].m_flow,boundary.ports[1].p,boundary.use_C_in,boundary.use_T_in,boundary.use_X_in,boundary.use_m_flow_in,fitting1.V_flow,fitting1.a,fitting1.allowFlowReversal,fitting1.b,fitting1.d_a,fitting1.d_b,fitting1.dp,fitting1.dp_small,fitting1.dp_start,fitting1.m_flow,fitting1.m_flow_small,fitting1.m_flow_start,fitting1.port_a.h_outflow,fitting1.port_a.m_flow,fitting1.port_a.p,fitting1.port_a_T,fitting1.port_a_exposesState,fitting1.port_b.h_outflow,fitting1.port_b.m_flow,fitting1.port_b.p,fitting1.port_b_T,fitting1.port_b_exposesState,fitting1.showDesignFlowDirection,fitting1.show_T,fitting1.show_V_flow,fitting1.state_a.T,fitting1.state_a.p,fitting1.state_b.T,fitting1.state_b.p,fitting1.state_dp_small.T,fitting1.state_dp_small.p,fitting2.V_flow,fitting2.a,fitting2.allowFlowReversal,fitting2.b,fitting2.d_a,fitting2.d_b,fitting2.dp,fitting2.dp_small,fitting2.dp_start,fitting2.m_flow,fitting2.m_flow_small,fitting2.m_flow_start,fitting2.port_a.h_outflow,fitting2.port_a.m_flow,fitting2.port_a.p,fitting2.port_a_T,fitting2.port_a_exposesState,fitting2.port_b.h_outflow,fitting2.port_b.m_flow,fitting2.port_b.p,fitting2.port_b_T,fitting2.port_b_exposesState,fitting2.showDesignFlowDirection,fitting2.show_T,fitting2.show_V_flow,fitting2.state_a.T,fitting2.state_a.p,fitting2.state_b.T,fitting2.state_b.p,fitting2.state_dp_small.T,fitting2.state_dp_small.p,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,sensor.allowFlowReversal,sensor.m_flow,sensor.m_flow_nominal,sensor.m_flow_small,sensor.port_a.h_outflow,sensor.port_a.m_flow,sensor.port_a.p,sensor.port_a_exposesState,sensor.port_b.h_outflow,sensor.port_b.m_flow,sensor.port_b.p,sensor.port_b_exposesState,sensor.showDesignFlowDirection,source_left.T,source_left.T_in_internal,source_left.X[1],source_left.X_in_internal[1],source_left.flowDirection,source_left.medium.MM,source_left.medium.R,source_left.medium.T,source_left.medium.T_degC,source_left.medium.X[1],source_left.medium.d,source_left.medium.h,source_left.medium.p,source_left.medium.p_bar,source_left.medium.preferredMediumStates,source_left.medium.standardOrderComponents,source_left.medium.state.T,source_left.medium.state.p,source_left.medium.u,source_left.nPorts,source_left.p,source_left.p_in,source_left.p_in_internal,source_left.ports[1].h_outflow,source_left.ports[1].m_flow,source_left.ports[1].p,source_left.use_C_in,source_left.use_T_in,source_left.use_X_in,source_left.use_p_in,source_right.T,source_right.T_in_internal,source_right.X[1],source_right.X_in_internal[1],source_right.flowDirection,source_right.medium.MM,source_right.medium.R,source_right.medium.T,source_right.medium.T_degC,source_right.medium.X[1],source_right.medium.d,source_right.medium.h,source_right.medium.p,source_right.medium.p_bar,source_right.medium.preferredMediumStates,source_right.medium.standardOrderComponents,source_right.medium.state.T,source_right.medium.state.p,source_right.medium.u,source_right.nPorts,source_right.p,source_right.p_in_internal,source_right.ports[1].h_outflow,source_right.ports[1].m_flow,source_right.ports[1].p,source_right.ports[2].h_outflow,source_right.ports[2].m_flow,source_right.ports[2].p,source_right.use_C_in,source_right.use_T_in,source_right.use_X_in,source_right.use_p_in,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,time