Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",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(ModelicaTestOverdetermined): time 1.881/1.881, allocations: 195.4 MB / 202.4 MB, free: 13.36 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1676/2.049, allocations: 46.98 MB / 249.4 MB, free: 14.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/2.279, allocations: 44.64 MB / 294 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/2.434, allocations: 70.3 MB / 364.3 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/2.435, allocations: 63.97 kB / 364.4 MB, free: 10.93 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.01045/2.445, allocations: 2.372 MB / 366.8 MB, free: 8.504 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/2.445, allocations: 8 kB / 366.8 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/2.445, allocations: 7.906 kB / 366.8 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/2.445, allocations: 170.9 kB / 366.9 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/2.445, allocations: 4 kB / 366.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/2.445, allocations: 12 kB / 366.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002/2.446, allocations: 52.3 kB / 367 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/2.446, allocations: 86.83 kB / 367.1 MB, free: 8.125 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/2.446, allocations: 0 / 367.1 MB, free: 8.125 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/2.446, allocations: 0 / 367.1 MB, free: 8.125 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/2.446, allocations: 4 kB / 367.1 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/2.447, allocations: 353.6 kB / 367.4 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/2.447, allocations: 85.55 kB / 367.5 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.478e-05/2.447, allocations: 28.86 kB / 367.5 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/2.447, allocations: 4 kB / 367.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/2.447, allocations: 34.56 kB / 367.6 MB, free: 7.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.973e-06/2.447, allocations: 0 / 367.6 MB, free: 7.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001528/2.449, allocations: 0.6124 MB / 368.2 MB, free: 6.863 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/2.449, allocations: 55.41 kB / 368.3 MB, free: 6.797 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/2.449, allocations: 105.3 kB / 368.4 MB, free: 6.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/2.449, allocations: 33.64 kB / 368.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/2.449, allocations: 95.89 kB / 368.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/2.449, allocations: 55.19 kB / 368.5 MB, free: 6.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/2.449, allocations: 4 kB / 368.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/2.449, allocations: 318.8 kB / 368.8 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/2.449, allocations: 28 kB / 368.9 MB, free: 6.145 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/2.449, allocations: 54.56 kB / 368.9 MB, free: 6.082 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/2.45, allocations: 31.98 kB / 369 MB, free: 6.051 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.45, allocations: 3.906 kB / 369 MB, free: 6.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003304/2.45, allocations: 125.5 kB / 369.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/2.45, allocations: 4 kB / 369.1 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/2.45, allocations: 4 kB / 369.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/2.45, allocations: 0 / 369.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/2.45, allocations: 35.92 kB / 369.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/2.45, allocations: 4 kB / 369.1 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.567e-05/2.451, allocations: 64 / 369.1 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/2.451, allocations: 8 kB / 369.1 MB, free: 5.863 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.681e-05/2.451, allocations: 104.8 kB / 369.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/2.451, allocations: 23.83 kB / 369.3 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/2.451, allocations: 12.94 kB / 369.3 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/2.451, allocations: 0 / 369.3 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/2.451, allocations: 4 kB / 369.3 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/2.451, allocations: 0 / 369.3 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008949/2.452, allocations: 459.5 kB / 369.7 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/2.452, allocations: 4 kB / 369.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/2.452, allocations: 27.92 kB / 369.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/2.452, allocations: 16.86 kB / 369.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/2.452, allocations: 11.89 kB / 369.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/2.454, allocations: 1.205 MB / 371 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/2.454, allocations: 0 / 371 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005937/2.454, allocations: 331.9 kB / 371.3 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007474/2.455, allocations: 0.7204 MB / 372 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/2.455, allocations: 88.95 kB / 372.1 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/2.455, allocations: 8.062 kB / 372.1 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/2.455, allocations: 3.938 kB / 372.1 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/2.455, allocations: 11.89 kB / 372.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/2.455, allocations: 8 kB / 372.2 MB, free: 2.551 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.173e-05/2.455, allocations: 88.25 kB / 372.2 MB, free: 2.465 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001215/2.457, allocations: 27.98 kB / 372.3 MB, free: 2.438 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001737/2.457, allocations: 95.25 kB / 372.4 MB, free: 2.332 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002908/2.457, allocations: 87.94 kB / 372.5 MB, free: 2.246 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/2.457, allocations: 0 / 372.5 MB, free: 2.246 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/2.458, allocations: 158.4 kB / 372.6 MB, free: 2.082 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/2.458, allocations: 11.98 kB / 372.6 MB, free: 2.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/2.459, allocations: 284.3 kB / 372.9 MB, free: 1.758 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/2.459, allocations: 0.7325 MB / 373.6 MB, free: 1 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/2.459, allocations: 0 / 373.6 MB, free: 1 MB / 314.7 MB