Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.05/2.05, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.181e-05, allocations: 4 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 48.7 MB / 316.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.014/2.129, allocations: 0.5971 GB / 0.906 GB, free: 61.78 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/2.13, allocations: 88.75 kB / 0.9061 GB, free: 61.73 MB / 426.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.074/3.204, allocations: 222.6 MB / 1.123 GB, free: 11.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/3.204, allocations: 0 / 1.123 GB, free: 11.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.491e-05/3.204, allocations: 23.98 kB / 1.123 GB, free: 11.16 MB / 426.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.002147/3.206, allocations: 0.8475 MB / 1.124 GB, free: 10.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/3.206, allocations: 8.031 kB / 1.124 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/3.207, allocations: 135.2 kB / 1.124 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/3.209, allocations: 0.4965 MB / 1.125 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/3.209, allocations: 12 kB / 1.125 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.09e-05/3.209, allocations: 24 kB / 1.125 GB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008311/3.21, allocations: 330.5 kB / 1.125 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009118/3.211, allocations: 463.6 kB / 1.126 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/3.211, allocations: 3.953 kB / 1.126 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/3.211, allocations: 4 kB / 1.126 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/3.211, allocations: 16 kB / 1.126 GB, free: 8.711 MB / 426.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.003331/3.214, allocations: 2.475 MB / 1.128 GB, free: 6.027 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/3.214, allocations: 174.5 kB / 1.128 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/3.215, allocations: 104.8 kB / 1.128 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/3.216, allocations: 0.5309 MB / 1.129 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/3.216, allocations: 38.56 kB / 1.129 GB, free: 5.074 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.947e-06/3.216, allocations: 3.984 kB / 1.129 GB, free: 5.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.005487/3.221, allocations: 0.7242 MB / 1.13 GB, free: 4.336 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/3.221, allocations: 136.5 kB / 1.13 GB, free: 4.172 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/3.222, allocations: 345.1 kB / 1.13 GB, free: 3.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/3.222, allocations: 25.7 kB / 1.13 GB, free: 3.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/3.222, allocations: 345.8 kB / 1.131 GB, free: 3.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/3.223, allocations: 90.66 kB / 1.131 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/3.223, allocations: 0 / 1.131 GB, free: 3.363 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.005e-05/3.223, allocations: 330.8 kB / 1.131 GB, free: 3.031 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/3.223, allocations: 129.1 kB / 1.131 GB, free: 2.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/3.224, allocations: 289.9 kB / 1.131 GB, free: 2.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/3.228, allocations: 0.5816 MB / 1.132 GB, free: 1.965 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/3.228, allocations: 4 kB / 1.132 GB, free: 1.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005961/3.234, allocations: 0.8876 MB / 1.133 GB, free: 1.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/3.234, allocations: 8 kB / 1.133 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/3.234, allocations: 4.656 kB / 1.133 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000364/3.235, allocations: 48.83 kB / 1.133 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/3.236, allocations: 135.8 kB / 1.133 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3235/3.559, allocations: 11.63 MB / 1.144 GB, free: 61.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/3.56, allocations: 68.39 kB / 1.144 GB, free: 61.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/3.561, allocations: 52.44 kB / 1.144 GB, free: 61.38 MB / 426.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.0002767/3.561, allocations: 132.2 kB / 1.145 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003983/3.565, allocations: 0.7235 MB / 1.145 GB, free: 61.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/3.565, allocations: 48 kB / 1.145 GB, free: 61.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/3.568, allocations: 0.6298 MB / 1.146 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/3.568, allocations: 3.594 kB / 1.146 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/3.568, allocations: 1.469 kB / 1.146 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/3.568, allocations: 4.625 kB / 1.146 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/3.57, allocations: 0.8698 MB / 1.147 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/3.57, allocations: 5.672 kB / 1.147 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/3.571, allocations: 56.48 kB / 1.147 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/3.571, allocations: 52.69 kB / 1.147 GB, free: 60.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/3.571, allocations: 5.531 kB / 1.147 GB, free: 60.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006062/3.572, allocations: 0.5887 MB / 1.147 GB, free: 60.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/3.572, allocations: 3.219 kB / 1.147 GB, free: 60.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/3.574, allocations: 0.5558 MB / 1.148 GB, free: 59.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/3.574, allocations: 146.8 kB / 1.148 GB, free: 59.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/3.574, allocations: 2.938 kB / 1.148 GB, free: 59.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/3.575, allocations: 30.62 kB / 1.148 GB, free: 59.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/3.575, allocations: 31.16 kB / 1.148 GB, free: 59.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/3.575, allocations: 13.45 kB / 1.148 GB, free: 59.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005213/3.575, allocations: 284.9 kB / 1.148 GB, free: 59.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.575, allocations: 0 / 1.148 GB, free: 59.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001928/3.577, allocations: 316 kB / 1.149 GB, free: 59.76 MB / 426.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.004771/3.582, allocations: 2.57 MB / 1.151 GB, free: 58.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001692/3.584, allocations: 335.5 kB / 1.152 GB, free: 58.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/3.584, allocations: 1.281 kB / 1.152 GB, free: 58.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/3.584, allocations: 137.1 kB / 1.152 GB, free: 58.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/3.586, allocations: 200.8 kB / 1.152 GB, free: 58.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/3.597, allocations: 2.407 MB / 1.154 GB, free: 58.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/3.598, allocations: 0.8639 MB / 1.155 GB, free: 57.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007037/3.599, allocations: 224.1 kB / 1.155 GB, free: 57.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/3.599, allocations: 0 / 1.155 GB, free: 57.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.283/6.882, allocations: 22.43 MB / 1.177 GB, free: 56.89 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat