Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Spring2",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 2.338/2.338, allocations: 234.9 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2028/2.541, allocations: 57.22 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/2.85, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/3.264, allocations: 94.75 MB / 448.7 MB, free: 31.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/3.264, allocations: 75.83 kB / 448.8 MB, free: 31.62 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.4696/3.734, allocations: 98.36 MB / 0.5343 GB, free: 3.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/3.734, allocations: 8 kB / 0.5343 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03072/3.764, allocations: 2.333 MB / 0.5366 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03598/3.8, allocations: 7.228 MB / 0.5437 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006446/3.801, allocations: 152 kB / 0.5438 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004538/3.806, allocations: 287.8 kB / 0.5441 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02362/3.829, allocations: 7.398 MB / 0.5513 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0336/3.863, allocations: 10.94 MB / 0.562 GB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003568/3.864, allocations: 71.33 kB / 0.5621 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002315/3.866, allocations: 39.98 kB / 0.5621 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004256/3.87, allocations: 1.28 MB / 0.5634 GB, free: 4.383 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3396/4.21, allocations: 57.78 MB / 0.6198 GB, free: 112.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/4.222, allocations: 3.616 MB / 0.6233 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006481/4.228, allocations: 2.711 MB / 0.626 GB, free: 112.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02727/4.256, allocations: 8.822 MB / 0.6346 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/4.256, allocations: 54.88 kB / 0.6346 GB, free: 109.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 5.52e-06/4.256, allocations: 0 / 0.6346 GB, free: 109.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=222): time 0.1033/4.359, allocations: 19.1 MB / 0.6533 GB, free: 106.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/4.359, allocations: 208.3 kB / 0.6535 GB, free: 106.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009182/4.368, allocations: 3.516 MB / 0.6569 GB, free: 105.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008952/4.369, allocations: 28.73 kB / 0.6569 GB, free: 105.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002789/4.372, allocations: 3.289 MB / 0.6602 GB, free: 103.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001858/4.374, allocations: 0.8742 MB / 0.661 GB, free: 103.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001826/4.376, allocations: 0 / 0.661 GB, free: 103.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001365/4.377, allocations: 0.6222 MB / 0.6616 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01249/4.39, allocations: 3.008 MB / 0.6646 GB, free: 103.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01262/4.403, allocations: 7.352 MB / 0.6717 GB, free: 97.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/4.419, allocations: 4.826 MB / 0.6764 GB, free: 97.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002799/4.42, allocations: 45.03 kB / 0.6765 GB, free: 97.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=973) (initialization): time 0.05438/4.474, allocations: 12.04 MB / 0.6883 GB, free: 94.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/4.474, allocations: 3.938 kB / 0.6883 GB, free: 94.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02903/4.503, allocations: 6.303 MB / 0.6944 GB, free: 92.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02249/4.526, allocations: 3.11 MB / 0.6975 GB, free: 92.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/4.537, allocations: 1.687 MB / 0.6991 GB, free: 91.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03267/4.57, allocations: 15.36 MB / 0.7141 GB, free: 79.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01393/4.584, allocations: 0.4911 MB / 0.7146 GB, free: 79.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003069/4.587, allocations: 461.7 kB / 0.715 GB, free: 79.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (896): * Single equations (assignments): 876 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 11,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004652/4.592, allocations: 492.6 kB / 0.7155 GB, free: 78.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/4.594, allocations: 375.1 kB / 0.7158 GB, free: 78.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03047/4.624, allocations: 6.713 MB / 0.7224 GB, free: 73.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03863/4.663, allocations: 6.102 MB / 0.7284 GB, free: 68.44 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.898e-05/4.663, allocations: 8 kB / 0.7284 GB, free: 68.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.828e-05/4.663, allocations: 11.02 kB / 0.7284 GB, free: 68.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05466/4.718, allocations: 13.84 MB / 0.7419 GB, free: 57.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-05/4.718, allocations: 7.938 kB / 0.7419 GB, free: 57.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004489/4.722, allocations: 348.1 kB / 0.7422 GB, free: 57.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02177/4.744, allocations: 3.125 MB / 0.7453 GB, free: 55.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001052/4.745, allocations: 50.23 kB / 0.7453 GB, free: 55.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05013/4.795, allocations: 16.47 MB / 0.7614 GB, free: 39.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00464/4.8, allocations: 4.14 MB / 0.7655 GB, free: 35.36 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05378/4.854, allocations: 10.31 MB / 0.7755 GB, free: 24.97 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04509/4.899, allocations: 13.76 MB / 0.789 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/4.901, allocations: 440 kB / 0.7894 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/4.903, allocations: 27.92 kB / 0.7894 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006059/4.909, allocations: 199.7 kB / 0.7896 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/4.91, allocations: 105.7 kB / 0.7897 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004227/4.91, allocations: 79.14 kB / 0.7898 GB, free: 10.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006543/4.917, allocations: 2.335 MB / 0.7921 GB, free: 7.941 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01353/4.931, allocations: 1.375 MB / 0.7934 GB, free: 6.574 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 10,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001401/4.932, allocations: 183.2 kB / 0.7936 GB, free: 6.398 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.2253/5.157, allocations: 8.769 MB / 0.8021 GB, free: 138.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/5.157, allocations: 0 / 0.8021 GB, free: 138.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.017/5.174, allocations: 4.215 MB / 0.8063 GB, free: 137.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/5.179, allocations: 389.8 kB / 0.8066 GB, free: 137.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03774/5.217, allocations: 11.15 MB / 0.8175 GB, free: 135.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01206/5.229, allocations: 4.124 MB / 0.8216 GB, free: 134.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.003e-06/5.229, allocations: 0 / 0.8216 GB, free: 134.4 MB / 474.7 MB