Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",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(Modelica): time 1.56/1.56, allocations: 194.9 MB / 202.5 MB, free: 13.51 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2223/1.782, allocations: 46.83 MB / 249.3 MB, free: 6.34 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/1.869, allocations: 44.51 MB / 293.9 MB, free: 60 kB / 238.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2906/2.16, allocations: 92.06 MB / 385.9 MB, free: 24.85 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/2.16, allocations: 81.7 kB / 386 MB, free: 24.85 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.3367/2.497, allocations: 74.85 MB / 460.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/2.497, allocations: 12 kB / 460.9 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/2.514, allocations: 1.855 MB / 462.7 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/2.53, allocations: 3.938 MB / 466.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/2.531, allocations: 116 kB / 466.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/2.533, allocations: 211.8 kB / 467 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01651/2.549, allocations: 5.659 MB / 472.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02396/2.573, allocations: 8.603 MB / 481.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/2.574, allocations: 55.5 kB / 481.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/2.575, allocations: 28 kB / 481.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00272/2.578, allocations: 1.036 MB / 482.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2004/2.778, allocations: 44.07 MB / 0.5141 GB, free: 120 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/2.783, allocations: 2.696 MB / 0.5167 GB, free: 119.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/2.787, allocations: 1.791 MB / 0.5185 GB, free: 119.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/2.801, allocations: 5.6 MB / 0.5239 GB, free: 117.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/2.801, allocations: 43.41 kB / 0.524 GB, free: 117.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=139): time 5.791e-06/2.801, allocations: 2.031 kB / 0.524 GB, free: 117.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=156): time 0.06365/2.864, allocations: 15.11 MB / 0.5387 GB, free: 115.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/2.864, allocations: 147.3 kB / 0.5389 GB, free: 115.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005836/2.87, allocations: 2.633 MB / 0.5414 GB, free: 115.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004343/2.871, allocations: 25.7 kB / 0.5415 GB, free: 115.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002053/2.873, allocations: 2.627 MB / 0.544 GB, free: 113.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/2.874, allocations: 0.5985 MB / 0.5446 GB, free: 113.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006041/2.875, allocations: 1.719 kB / 0.5446 GB, free: 113.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003644/2.875, allocations: 0.5453 MB / 0.5452 GB, free: 113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004581/2.88, allocations: 1.838 MB / 0.5469 GB, free: 113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00684/2.886, allocations: 5.312 MB / 0.5521 GB, free: 108.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007338/2.894, allocations: 3.106 MB / 0.5552 GB, free: 108.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/2.894, allocations: 36.12 kB / 0.5552 GB, free: 108.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02416/2.918, allocations: 7.278 MB / 0.5623 GB, free: 106.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/2.918, allocations: 3.469 kB / 0.5623 GB, free: 106.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000175/2.918, allocations: 127.2 kB / 0.5624 GB, free: 106.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008026/2.926, allocations: 1.204 MB / 0.5636 GB, free: 106.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008269/2.935, allocations: 1.293 MB / 0.5649 GB, free: 106.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/2.949, allocations: 5.786 MB / 0.5705 GB, free: 103.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007215/2.956, allocations: 215.7 kB / 0.5707 GB, free: 103.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/2.958, allocations: 349.6 kB / 0.5711 GB, free: 103.4 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (690): * Single equations (assignments): 686 * Array equations: 3 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001231/2.959, allocations: 422.2 kB / 0.5715 GB, free: 103 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006815/2.96, allocations: 277.3 kB / 0.5717 GB, free: 102.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/2.972, allocations: 3.105 MB / 0.5748 GB, free: 102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.595e-05/2.972, allocations: 11.47 kB / 0.5748 GB, free: 102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/2.972, allocations: 14.95 kB / 0.5748 GB, free: 101.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.628e-05/2.972, allocations: 3.797 kB / 0.5748 GB, free: 101.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/2.996, allocations: 6.563 MB / 0.5812 GB, free: 99.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/2.996, allocations: 0 / 0.5812 GB, free: 99.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/2.998, allocations: 225.4 kB / 0.5814 GB, free: 99.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007526/3.006, allocations: 1.022 MB / 0.5824 GB, free: 99.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003909/3.006, allocations: 8.031 kB / 0.5824 GB, free: 99.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/3.021, allocations: 5.372 MB / 0.5877 GB, free: 97.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/3.021, allocations: 1.094 kB / 0.5877 GB, free: 97.02 MB / 398.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01695/3.038, allocations: 5.507 MB / 0.593 GB, free: 93.16 MB / 398.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01994/3.058, allocations: 7.622 MB / 0.6005 GB, free: 86.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/3.06, allocations: 0.5363 MB / 0.601 GB, free: 86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007192/3.06, allocations: 0 / 0.601 GB, free: 86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/3.063, allocations: 62.77 kB / 0.6011 GB, free: 85.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/3.063, allocations: 69.53 kB / 0.6011 GB, free: 85.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/3.064, allocations: 48.25 kB / 0.6012 GB, free: 85.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 0.004071/3.068, allocations: 1.73 MB / 0.6029 GB, free: 84.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007405/3.075, allocations: 0.7701 MB / 0.6036 GB, free: 83.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * Array equations: 3 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006746/3.076, allocations: 146.3 kB / 0.6038 GB, free: 83.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01052/3.086, allocations: 4.453 MB / 0.6081 GB, free: 79.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/3.086, allocations: 0 / 0.6081 GB, free: 79.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003604/3.09, allocations: 1.432 MB / 0.6095 GB, free: 78.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/3.092, allocations: 241 kB / 0.6097 GB, free: 77.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/3.113, allocations: 6.553 MB / 0.6161 GB, free: 72.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006607/3.12, allocations: 3.13 MB / 0.6192 GB, free: 69.67 MB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/3.12, allocations: 0 / 0.6192 GB, free: 69.67 MB / 398.1 MB