Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_1_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 1.754/1.754, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2208/1.975, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/2.084, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.457/3.541, allocations: 0.5971 GB / 0.9056 GB, free: 63.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/3.542, allocations: 91.08 kB / 0.9057 GB, free: 63.41 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: 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.9709/4.512, allocations: 224.2 MB / 1.125 GB, free: 11.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/4.512, allocations: 8 kB / 1.125 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/4.514, allocations: 139.1 kB / 1.125 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/4.516, allocations: 0.5039 MB / 1.125 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/4.516, allocations: 16 kB / 1.125 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/4.516, allocations: 20 kB / 1.125 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001098/4.517, allocations: 341.8 kB / 1.126 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/4.518, allocations: 458 kB / 1.126 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/4.519, allocations: 7.938 kB / 1.126 GB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.526e-05/4.519, allocations: 4 kB / 1.126 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/4.519, allocations: 8 kB / 1.126 GB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/4.523, allocations: 2.516 MB / 1.129 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/4.524, allocations: 174.5 kB / 1.129 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/4.524, allocations: 108.8 kB / 1.129 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/4.526, allocations: 0.5384 MB / 1.129 GB, free: 5.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/4.526, allocations: 42.56 kB / 1.129 GB, free: 5.852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 4.278e-06/4.526, allocations: 0 / 1.129 GB, free: 5.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.006531/4.533, allocations: 0.7749 MB / 1.13 GB, free: 5.066 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/4.533, allocations: 132.5 kB / 1.13 GB, free: 4.906 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/4.534, allocations: 333 kB / 1.131 GB, free: 4.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/4.534, allocations: 29.7 kB / 1.131 GB, free: 4.543 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/4.534, allocations: 255.3 kB / 1.131 GB, free: 4.289 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/4.534, allocations: 90.66 kB / 1.131 GB, free: 4.199 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/4.534, allocations: 0 / 1.131 GB, free: 4.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/4.534, allocations: 354.8 kB / 1.131 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/4.535, allocations: 132.9 kB / 1.131 GB, free: 3.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/4.535, allocations: 285.4 kB / 1.132 GB, free: 3.359 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/4.54, allocations: 0.6319 MB / 1.132 GB, free: 2.727 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/4.541, allocations: 0 / 1.132 GB, free: 2.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00658/4.547, allocations: 0.9651 MB / 1.133 GB, free: 1.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/4.547, allocations: 8 kB / 1.133 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/4.547, allocations: 8 kB / 1.133 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/4.548, allocations: 45.42 kB / 1.133 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/4.549, allocations: 139.8 kB / 1.133 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1689/4.718, allocations: 5.763 MB / 1.139 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009491/4.719, allocations: 62.36 kB / 1.139 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/4.719, allocations: 54.14 kB / 1.139 GB, free: 111.1 MB / 426.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.0002613/4.719, allocations: 134.7 kB / 1.139 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/4.72, allocations: 47.19 kB / 1.139 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/4.723, allocations: 0.7084 MB / 1.14 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/4.723, allocations: 3.594 kB / 1.14 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/4.723, allocations: 0 / 1.14 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/4.723, allocations: 3.969 kB / 1.14 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/4.725, allocations: 0.8911 MB / 1.141 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/4.726, allocations: 6.094 kB / 1.141 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/4.726, allocations: 61.28 kB / 1.141 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/4.726, allocations: 50.92 kB / 1.141 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/4.726, allocations: 9 kB / 1.141 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000686/4.727, allocations: 0.5981 MB / 1.142 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/4.727, allocations: 7.156 kB / 1.142 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001623/4.729, allocations: 0.58 MB / 1.142 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001625/4.73, allocations: 0.9897 MB / 1.143 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/4.731, allocations: 140.4 kB / 1.143 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/4.731, allocations: 9.922 kB / 1.143 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/4.731, allocations: 26.64 kB / 1.143 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/4.731, allocations: 28.06 kB / 1.143 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/4.732, allocations: 7.375 kB / 1.143 GB, free: 108.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004794/4.732, allocations: 281 kB / 1.144 GB, free: 108.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002799/4.735, allocations: 396.7 kB / 1.144 GB, free: 108.8 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.002391/4.737, allocations: 1.257 MB / 1.145 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001612/4.739, allocations: 333.2 kB / 1.146 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/4.739, allocations: 0 / 1.146 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004304/4.739, allocations: 139 kB / 1.146 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/4.742, allocations: 187 kB / 1.146 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/4.759, allocations: 2.276 MB / 1.148 GB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/4.76, allocations: 0.9775 MB / 1.149 GB, free: 107.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/4.761, allocations: 0 / 1.149 GB, free: 107.7 MB / 426.7 MB