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"}) [: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.348/2.348, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1617/2.51, allocations: 57.21 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/2.828, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.555/4.383, allocations: 0.6036 GB / 0.9494 GB, free: 8.785 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/4.383, allocations: 99 kB / 0.9495 GB, free: 8.73 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.412/5.796, allocations: 224.3 MB / 1.168 GB, free: 98.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/5.796, allocations: 7.75 kB / 1.169 GB, free: 98.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/5.798, allocations: 135.4 kB / 1.169 GB, free: 98.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/5.8, allocations: 0.5047 MB / 1.169 GB, free: 98.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/5.8, allocations: 13.91 kB / 1.169 GB, free: 98.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/5.8, allocations: 21.88 kB / 1.169 GB, free: 98.48 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00113/5.801, allocations: 334.5 kB / 1.169 GB, free: 98.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/5.802, allocations: 465.3 kB / 1.17 GB, free: 98.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/5.802, allocations: 0 / 1.17 GB, free: 98.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.764e-05/5.802, allocations: 0 / 1.17 GB, free: 98.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/5.802, allocations: 16.62 kB / 1.17 GB, free: 98.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004598/5.807, allocations: 2.516 MB / 1.172 GB, free: 96.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/5.808, allocations: 169.8 kB / 1.173 GB, free: 96.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/5.808, allocations: 115.8 kB / 1.173 GB, free: 96.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/5.809, allocations: 0.5383 MB / 1.173 GB, free: 96.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/5.81, allocations: 39.89 kB / 1.173 GB, free: 96.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=26): time 5.039e-06/5.81, allocations: 0 / 1.173 GB, free: 96.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=26): time 0.005407/5.815, allocations: 0.7821 MB / 1.174 GB, free: 95.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/5.815, allocations: 132.1 kB / 1.174 GB, free: 95.83 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009363/5.816, allocations: 338.2 kB / 1.174 GB, free: 95.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001576/5.816, allocations: 25.7 kB / 1.174 GB, free: 95.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/5.817, allocations: 253.8 kB / 1.175 GB, free: 95.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/5.817, allocations: 94.92 kB / 1.175 GB, free: 95.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/5.817, allocations: 0 / 1.175 GB, free: 95.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/5.817, allocations: 353.5 kB / 1.175 GB, free: 95.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/5.818, allocations: 131.2 kB / 1.175 GB, free: 95.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/5.818, allocations: 294.3 kB / 1.176 GB, free: 94.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004121/5.822, allocations: 0.6239 MB / 1.176 GB, free: 94.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/5.822, allocations: 3.781 kB / 1.176 GB, free: 94.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005303/5.828, allocations: 0.967 MB / 1.177 GB, free: 94.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/5.828, allocations: 5.812 kB / 1.177 GB, free: 94.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/5.828, allocations: 3.719 kB / 1.177 GB, free: 94.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003515/5.828, allocations: 53.25 kB / 1.177 GB, free: 94.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/5.829, allocations: 133.4 kB / 1.177 GB, free: 94.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/5.834, allocations: 5.751 MB / 1.183 GB, free: 89.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/5.835, allocations: 71.3 kB / 1.183 GB, free: 89.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/5.835, allocations: 53.72 kB / 1.183 GB, free: 89.06 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.0003249/5.835, allocations: 141.3 kB / 1.183 GB, free: 88.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/5.835, allocations: 45 kB / 1.183 GB, free: 88.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003801/5.839, allocations: 0.713 MB / 1.184 GB, free: 88.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/5.839, allocations: 0 / 1.184 GB, free: 88.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/5.839, allocations: 3.625 kB / 1.184 GB, free: 88.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/5.839, allocations: 0 / 1.184 GB, free: 88.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/5.842, allocations: 0.8979 MB / 1.185 GB, free: 88.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/5.842, allocations: 0 / 1.185 GB, free: 88.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/5.843, allocations: 63.41 kB / 1.185 GB, free: 88.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/5.843, allocations: 50.95 kB / 1.185 GB, free: 88.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/5.843, allocations: 3.938 kB / 1.185 GB, free: 88.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008092/5.844, allocations: 0.6021 MB / 1.185 GB, free: 87.97 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/5.844, allocations: 4.906 kB / 1.185 GB, free: 87.97 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001885/5.846, allocations: 0.5907 MB / 1.186 GB, free: 87.67 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002179/5.848, allocations: 0.9858 MB / 1.187 GB, free: 87.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/5.849, allocations: 143.6 kB / 1.187 GB, free: 86.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/5.849, allocations: 3.875 kB / 1.187 GB, free: 86.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/5.85, allocations: 28.39 kB / 1.187 GB, free: 86.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/5.85, allocations: 28.95 kB / 1.187 GB, free: 86.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/5.85, allocations: 7.875 kB / 1.187 GB, free: 86.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005672/5.85, allocations: 278.7 kB / 1.187 GB, free: 86.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003699/5.854, allocations: 408.7 kB / 1.188 GB, free: 86.8 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.002966/5.857, allocations: 1.241 MB / 1.189 GB, free: 86.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/5.859, allocations: 339.9 kB / 1.189 GB, free: 86.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/5.859, allocations: 0 / 1.189 GB, free: 86.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005335/5.86, allocations: 132.8 kB / 1.19 GB, free: 86.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/5.862, allocations: 197.9 kB / 1.19 GB, free: 86.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/5.874, allocations: 2.283 MB / 1.192 GB, free: 86.35 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/5.875, allocations: 0.9747 MB / 1.193 GB, free: 85.64 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/5.875, allocations: 0 / 1.193 GB, free: 85.64 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat