Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",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.985/1.985, allocations: 195.4 MB / 202.4 MB, free: 13.36 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1556/2.14, allocations: 46.98 MB / 249.4 MB, free: 14.31 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/2.404, allocations: 44.65 MB / 294 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/2.54, allocations: 70.34 MB / 364.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/2.54, allocations: 63.97 kB / 364.4 MB, free: 10.88 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.01284/2.553, allocations: 2.841 MB / 367.3 MB, free: 7.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/2.553, allocations: 8 kB / 367.3 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/2.553, allocations: 11.91 kB / 367.3 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/2.553, allocations: 178.8 kB / 367.5 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/2.553, allocations: 7.984 kB / 367.5 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/2.553, allocations: 8 kB / 367.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000242/2.553, allocations: 48.36 kB / 367.5 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/2.554, allocations: 82.89 kB / 367.6 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/2.554, allocations: 0 / 367.6 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/2.554, allocations: 0 / 367.6 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/2.554, allocations: 4 kB / 367.6 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/2.555, allocations: 349.6 kB / 368 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/2.555, allocations: 81.61 kB / 368 MB, free: 7.129 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.932e-05/2.555, allocations: 32.86 kB / 368.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/2.555, allocations: 0 / 368.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/2.555, allocations: 34.5 kB / 368.1 MB, free: 7.051 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.954e-06/2.555, allocations: 4 kB / 368.1 MB, free: 7.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001569/2.557, allocations: 0.6052 MB / 368.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/2.557, allocations: 51.62 kB / 368.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/2.557, allocations: 109.1 kB / 368.9 MB, free: 6.172 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/2.557, allocations: 25.7 kB / 368.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/2.557, allocations: 103.9 kB / 369 MB, free: 6.035 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/2.557, allocations: 59.2 kB / 369 MB, free: 5.977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/2.557, allocations: 0 / 369 MB, free: 5.977 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/2.557, allocations: 319.2 kB / 369.4 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/2.557, allocations: 28.19 kB / 369.4 MB, free: 5.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/2.558, allocations: 58.75 kB / 369.4 MB, free: 5.562 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.s = $START.mass1.s ($START.mass2.s + -0.5 * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/2.559, allocations: 319.6 kB / 369.8 MB, free: 5.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/2.559, allocations: 3.938 kB / 369.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004418/2.559, allocations: 138.9 kB / 369.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/2.559, allocations: 4 kB / 369.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/2.559, allocations: 4 kB / 369.9 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/2.559, allocations: 24.8 kB / 369.9 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/2.56, allocations: 23.98 kB / 369.9 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/2.561, allocations: 1.388 MB / 371.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/2.562, allocations: 0 / 371.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/2.562, allocations: 8.062 kB / 371.3 MB, free: 3.492 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: mass2.v = $START.mass2.v mass1.s = $START.mass1.s 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 (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/2.562, allocations: 116.8 kB / 371.5 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/2.562, allocations: 11.81 kB / 371.5 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/2.562, allocations: 12.56 kB / 371.5 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/2.562, allocations: 0 / 371.5 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/2.562, allocations: 0 / 371.5 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/2.562, allocations: 0 / 371.5 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/2.563, allocations: 0.5491 MB / 372 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/2.563, allocations: 0 / 372 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/2.563, allocations: 31.92 kB / 372.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/2.563, allocations: 25.08 kB / 372.1 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/2.563, allocations: 0 / 372.1 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/2.565, allocations: 1.222 MB / 373.3 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/2.565, allocations: 0 / 373.3 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005786/2.565, allocations: 321.4 kB / 373.6 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007796/2.566, allocations: 0.723 MB / 374.3 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/2.566, allocations: 88.95 kB / 374.4 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/2.566, allocations: 4 kB / 374.4 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/2.567, allocations: 4 kB / 374.4 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/2.567, allocations: 15.92 kB / 374.5 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/2.567, allocations: 4 kB / 374.5 MB, free: 60 kB / 314.7 MB Notification: Performance of sort global known variables: time 7.466e-05/2.567, allocations: 87.33 kB / 374.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001576/2.568, allocations: 35.91 kB / 374.6 MB, free: 15.94 MB / 330.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.0002058/2.569, allocations: 96.03 kB / 374.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005969/2.569, allocations: 203 kB / 374.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/2.569, allocations: 0 / 374.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002932/2.569, allocations: 158.3 kB / 375 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/2.57, allocations: 15.92 kB / 375 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/2.571, allocations: 283.5 kB / 375.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/2.571, allocations: 0.7247 MB / 376 MB, free: 14.39 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/2.571, allocations: 4 kB / 376 MB, free: 14.39 MB / 330.7 MB