Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",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.692/1.692, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2259/1.918, allocations: 46.83 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/2.014, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/2.306, allocations: 84.31 MB / 378.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/2.306, allocations: 85.02 kB / 378.2 MB, free: 6.633 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.2724/2.579, allocations: 57.54 MB / 435.8 MB, free: 2.141 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/2.579, allocations: 8 kB / 435.8 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/2.595, allocations: 1.623 MB / 437.4 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/2.613, allocations: 3.625 MB / 441 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/2.613, allocations: 80 kB / 441.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/2.615, allocations: 143.9 kB / 441.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01248/2.627, allocations: 4.135 MB / 445.4 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/2.647, allocations: 6.291 MB / 451.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001898/2.647, allocations: 47.61 kB / 451.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001423/2.648, allocations: 28 kB / 451.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002055/2.65, allocations: 0.7458 MB / 452.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05823/2.709, allocations: 31.66 MB / 484.2 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004636/2.713, allocations: 2.048 MB / 486.2 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003077/2.717, allocations: 1.133 MB / 487.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01293/2.73, allocations: 4.163 MB / 491.5 MB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/2.73, allocations: 50.84 kB / 491.6 MB, free: 8.359 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 4.98e-06/2.73, allocations: 0 / 491.6 MB, free: 8.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=118): time 0.1683/2.898, allocations: 8.914 MB / 0.4887 GB, free: 141.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/2.898, allocations: 141.4 kB / 0.4889 GB, free: 141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00516/2.903, allocations: 2.142 MB / 0.491 GB, free: 140.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003598/2.904, allocations: 29.64 kB / 0.491 GB, free: 140.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/2.905, allocations: 2.021 MB / 0.493 GB, free: 140 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008328/2.906, allocations: 476.3 kB / 0.4934 GB, free: 139.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006178/2.907, allocations: 0.8125 kB / 0.4934 GB, free: 139.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000494/2.907, allocations: 0.5496 MB / 0.494 GB, free: 139.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004119/2.912, allocations: 1.57 MB / 0.4955 GB, free: 139.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006065/2.918, allocations: 4.416 MB / 0.4998 GB, free: 135.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007492/2.925, allocations: 2.826 MB / 0.5026 GB, free: 135.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/2.925, allocations: 28.38 kB / 0.5026 GB, free: 135.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=600) (initialization): time 0.02475/2.95, allocations: 6.572 MB / 0.509 GB, free: 135.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/2.95, allocations: 7.875 kB / 0.509 GB, free: 135.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01284/2.963, allocations: 2.622 MB / 0.5116 GB, free: 135.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/2.973, allocations: 1.416 MB / 0.513 GB, free: 135.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00649/2.98, allocations: 1.019 MB / 0.514 GB, free: 135.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/3, allocations: 7.432 MB / 0.5212 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006498/3.006, allocations: 230.7 kB / 0.5214 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001323/3.007, allocations: 291.5 kB / 0.5217 GB, free: 132.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 544 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001838/3.009, allocations: 363.8 kB / 0.5221 GB, free: 132.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006236/3.01, allocations: 214.2 kB / 0.5223 GB, free: 132.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/3.024, allocations: 2.87 MB / 0.5251 GB, free: 131.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01277/3.037, allocations: 2.565 MB / 0.5276 GB, free: 130.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.641e-05/3.037, allocations: 6.938 kB / 0.5276 GB, free: 130.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/3.037, allocations: 7.031 kB / 0.5276 GB, free: 130.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/3.061, allocations: 6.145 MB / 0.5336 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/3.061, allocations: 0 / 0.5336 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/3.063, allocations: 155.2 kB / 0.5337 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009837/3.073, allocations: 1.347 MB / 0.535 GB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003967/3.073, allocations: 22.27 kB / 0.5351 GB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02144/3.095, allocations: 7.738 MB / 0.5426 GB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001222/3.096, allocations: 1.361 MB / 0.544 GB, free: 123.3 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01831/3.114, allocations: 4.978 MB / 0.5488 GB, free: 121 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02043/3.135, allocations: 6.733 MB / 0.5554 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007955/3.136, allocations: 274.4 kB / 0.5557 GB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/3.137, allocations: 15.94 kB / 0.5557 GB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/3.14, allocations: 71.33 kB / 0.5557 GB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000498/3.14, allocations: 55.42 kB / 0.5558 GB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/3.14, allocations: 39.75 kB / 0.5558 GB, free: 114.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003721/3.144, allocations: 1.424 MB / 0.5572 GB, free: 113.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006918/3.151, allocations: 0.6867 MB / 0.5579 GB, free: 112.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 69 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008476/3.152, allocations: 162.8 kB / 0.558 GB, free: 112.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01212/3.164, allocations: 4.146 MB / 0.5621 GB, free: 109 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/3.164, allocations: 4 kB / 0.5621 GB, free: 109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005986/3.17, allocations: 1.604 MB / 0.5637 GB, free: 107.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/3.172, allocations: 191.4 kB / 0.5638 GB, free: 107.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/3.19, allocations: 5.492 MB / 0.5692 GB, free: 102.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006053/3.196, allocations: 2.536 MB / 0.5717 GB, free: 100.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/3.196, allocations: 0 / 0.5717 GB, free: 100.5 MB / 394.7 MB