Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",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.888/1.888, allocations: 195.4 MB / 202.4 MB, free: 13.36 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1503/2.038, allocations: 46.97 MB / 249.4 MB, free: 14.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/2.331, allocations: 44.64 MB / 294 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/2.461, allocations: 70.36 MB / 364.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/2.462, allocations: 71.94 kB / 364.4 MB, free: 10.87 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.01243/2.474, allocations: 2.858 MB / 367.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/2.474, allocations: 12 kB / 367.3 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/2.474, allocations: 7.906 kB / 367.3 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/2.475, allocations: 182.8 kB / 367.5 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/2.475, allocations: 4 kB / 367.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/2.475, allocations: 8 kB / 367.5 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002003/2.475, allocations: 52.36 kB / 367.6 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/2.475, allocations: 82.83 kB / 367.6 MB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/2.475, allocations: 0 / 367.6 MB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/2.475, allocations: 4 kB / 367.6 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/2.475, allocations: 0 / 367.6 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007563/2.476, allocations: 349.6 kB / 368 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/2.476, allocations: 81.61 kB / 368.1 MB, free: 7.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/2.476, allocations: 36.8 kB / 368.1 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/2.476, allocations: 0 / 368.1 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/2.477, allocations: 42.55 kB / 368.1 MB, free: 7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.545e-06/2.477, allocations: 4 kB / 368.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001794/2.478, allocations: 0.5993 MB / 368.7 MB, free: 6.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/2.478, allocations: 55.41 kB / 368.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/2.479, allocations: 105.1 kB / 368.9 MB, free: 6.129 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/2.479, allocations: 25.7 kB / 368.9 MB, free: 6.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/2.479, allocations: 107.9 kB / 369 MB, free: 5.988 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/2.479, allocations: 55.2 kB / 369.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/2.479, allocations: 0 / 369.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/2.479, allocations: 322.7 kB / 369.4 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.755e-05/2.479, allocations: 32.19 kB / 369.4 MB, free: 5.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/2.479, allocations: 50.77 kB / 369.5 MB, free: 5.52 MB / 314.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007465/2.48, allocations: 274.1 kB / 369.7 MB, free: 5.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/2.48, allocations: 0 / 369.7 MB, free: 5.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003373/2.48, allocations: 119 kB / 369.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/2.48, allocations: 4 kB / 369.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/2.48, allocations: 8.031 kB / 369.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/2.48, allocations: 3.938 kB / 369.9 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/2.481, allocations: 31.98 kB / 369.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/2.481, allocations: 7.984 kB / 369.9 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/2.481, allocations: 0 / 369.9 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/2.481, allocations: 4 kB / 369.9 MB, free: 5.035 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: mass2.v = $START.mass2.v mass1.a = $START.mass1.a 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 0.0001788/2.481, allocations: 117 kB / 370 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/2.481, allocations: 7.906 kB / 370 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.331e-05/2.482, allocations: 16.56 kB / 370.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/2.482, allocations: 4 kB / 370.1 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/2.482, allocations: 7.922 kB / 370.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/2.482, allocations: 0 / 370.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/2.483, allocations: 0.5517 MB / 370.6 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/2.483, allocations: 0 / 370.6 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/2.484, allocations: 23.98 kB / 370.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/2.484, allocations: 24.77 kB / 370.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/2.484, allocations: 0 / 370.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/2.486, allocations: 1.225 MB / 371.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/2.486, allocations: 4.031 kB / 371.9 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000924/2.487, allocations: 316 kB / 372.2 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00131/2.488, allocations: 0.7301 MB / 372.9 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/2.489, allocations: 84.95 kB / 373 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/2.489, allocations: 4 kB / 373 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/2.489, allocations: 4.062 kB / 373 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/2.489, allocations: 15.89 kB / 373 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/2.489, allocations: 4 kB / 373.1 MB, free: 1.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.625e-05/2.489, allocations: 87.28 kB / 373.1 MB, free: 1.504 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002137/2.491, allocations: 24 kB / 373.2 MB, free: 1.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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.0002545/2.492, allocations: 103.2 kB / 373.3 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004975/2.492, allocations: 92.22 kB / 373.4 MB, free: 1.277 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/2.492, allocations: 0 / 373.4 MB, free: 1.277 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004668/2.493, allocations: 153.6 kB / 373.5 MB, free: 1.117 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/2.493, allocations: 11.98 kB / 373.5 MB, free: 1.105 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/2.494, allocations: 285.1 kB / 373.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/2.495, allocations: 0.729 MB / 374.5 MB, free: 40 kB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/2.495, allocations: 0 / 374.5 MB, free: 40 kB / 314.7 MB