Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 234.9 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.238/2.554, allocations: 57.23 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/2.847, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.508/4.355, allocations: 0.6036 GB / 0.9493 GB, free: 8.652 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/4.356, allocations: 91.39 kB / 0.9494 GB, free: 8.602 MB / 474.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: 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 1.29/5.646, allocations: 224.3 MB / 1.168 GB, free: 95.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/5.646, allocations: 9.406 kB / 1.168 GB, free: 95.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/5.647, allocations: 137.9 kB / 1.169 GB, free: 95.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/5.649, allocations: 0.5056 MB / 1.169 GB, free: 95.65 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/5.649, allocations: 13.28 kB / 1.169 GB, free: 95.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/5.649, allocations: 24.88 kB / 1.169 GB, free: 95.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008891/5.65, allocations: 332.3 kB / 1.169 GB, free: 95.65 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/5.651, allocations: 457.6 kB / 1.17 GB, free: 95.51 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/5.651, allocations: 1.5 kB / 1.17 GB, free: 95.51 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/5.651, allocations: 3.469 kB / 1.17 GB, free: 95.51 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/5.651, allocations: 14.81 kB / 1.17 GB, free: 95.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003342/5.654, allocations: 2.518 MB / 1.172 GB, free: 93.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/5.654, allocations: 166.7 kB / 1.172 GB, free: 93.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/5.655, allocations: 109.9 kB / 1.173 GB, free: 93.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/5.656, allocations: 0.5424 MB / 1.173 GB, free: 93.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/5.656, allocations: 36.09 kB / 1.173 GB, free: 93.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=26): time 2.895e-06/5.656, allocations: 0 / 1.173 GB, free: 93.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=26): time 0.004219/5.66, allocations: 0.7811 MB / 1.174 GB, free: 93.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/5.66, allocations: 128.5 kB / 1.174 GB, free: 93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/5.661, allocations: 341.2 kB / 1.174 GB, free: 92.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/5.661, allocations: 25.7 kB / 1.174 GB, free: 92.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/5.661, allocations: 258.2 kB / 1.175 GB, free: 92.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.541e-05/5.661, allocations: 90.39 kB / 1.175 GB, free: 92.67 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/5.661, allocations: 0 / 1.175 GB, free: 92.67 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/5.661, allocations: 356.3 kB / 1.175 GB, free: 92.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/5.662, allocations: 128.8 kB / 1.175 GB, free: 92.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/5.662, allocations: 294.9 kB / 1.175 GB, free: 92.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/5.665, allocations: 0.6259 MB / 1.176 GB, free: 92.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/5.665, allocations: 0 / 1.176 GB, free: 92.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004272/5.67, allocations: 0.967 MB / 1.177 GB, free: 92.08 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/5.67, allocations: 13.38 kB / 1.177 GB, free: 92.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/5.67, allocations: 3.938 kB / 1.177 GB, free: 92.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002926/5.67, allocations: 52.23 kB / 1.177 GB, free: 92.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/5.671, allocations: 136.2 kB / 1.177 GB, free: 92.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003925/5.675, allocations: 5.757 MB / 1.183 GB, free: 86.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/5.676, allocations: 56.61 kB / 1.183 GB, free: 86.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/5.676, allocations: 54.16 kB / 1.183 GB, free: 86.23 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o 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 w/o 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 w/o 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 w/o 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/5.676, allocations: 127.9 kB / 1.183 GB, free: 86.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/5.677, allocations: 52.58 kB / 1.183 GB, free: 86.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/5.68, allocations: 0.7089 MB / 1.184 GB, free: 86.01 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/5.68, allocations: 3.344 kB / 1.184 GB, free: 86.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/5.68, allocations: 9.75 kB / 1.184 GB, free: 86.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/5.68, allocations: 2.906 kB / 1.184 GB, free: 86.01 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/5.683, allocations: 0.8907 MB / 1.185 GB, free: 85.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/5.683, allocations: 0 / 1.185 GB, free: 85.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004492/5.683, allocations: 57.81 kB / 1.185 GB, free: 85.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000367/5.684, allocations: 51.59 kB / 1.185 GB, free: 85.67 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/5.684, allocations: 10.97 kB / 1.185 GB, free: 85.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006393/5.684, allocations: 0.599 MB / 1.185 GB, free: 85.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/5.684, allocations: 0 / 1.185 GB, free: 85.15 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001555/5.686, allocations: 0.586 MB / 1.186 GB, free: 84.86 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001831/5.688, allocations: 0.9909 MB / 1.187 GB, free: 84.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/5.688, allocations: 140.7 kB / 1.187 GB, free: 84.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/5.688, allocations: 11.05 kB / 1.187 GB, free: 84.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/5.689, allocations: 29.41 kB / 1.187 GB, free: 84.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/5.689, allocations: 22.03 kB / 1.187 GB, free: 84.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/5.689, allocations: 14.81 kB / 1.187 GB, free: 84.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004674/5.689, allocations: 279.9 kB / 1.187 GB, free: 83.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003043/5.692, allocations: 414.1 kB / 1.188 GB, free: 83.97 MB / 474.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.002695/5.695, allocations: 1.243 MB / 1.189 GB, free: 83.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001694/5.697, allocations: 331.8 kB / 1.189 GB, free: 83.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/5.697, allocations: 2.25 kB / 1.189 GB, free: 83.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/5.697, allocations: 131.5 kB / 1.189 GB, free: 83.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/5.699, allocations: 200.6 kB / 1.19 GB, free: 83.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/5.71, allocations: 2.278 MB / 1.192 GB, free: 83.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/5.711, allocations: 0.9785 MB / 1.193 GB, free: 82.82 MB / 474.7 MB Notification: Performance of SimCode: time 1.373e-06/5.711, allocations: 0 / 1.193 GB, free: 82.82 MB / 474.7 MB