Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_1_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.674/1.674, allocations: 171.2 MB / 178.1 MB, free: 6.711 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1497/1.823, allocations: 41.11 MB / 219.3 MB, free: 13.53 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/2.042, allocations: 38.76 MB / 258 MB, free: 5.215 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/2.197, allocations: 78.69 MB / 336.7 MB, free: 6.395 MB / 291.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004649/2.198, allocations: 83.95 kB / 336.8 MB, free: 6.312 MB / 291.1 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.4476/2.645, allocations: 57.37 MB / 394.2 MB, free: 34.3 MB / 291.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/2.646, allocations: 12 kB / 394.2 MB, free: 34.29 MB / 291.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0218/2.667, allocations: 1.607 MB / 395.8 MB, free: 32.68 MB / 291.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02094/2.688, allocations: 3.622 MB / 399.4 MB, free: 29.01 MB / 291.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/2.689, allocations: 80 kB / 399.5 MB, free: 28.93 MB / 291.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/2.691, allocations: 147.9 kB / 399.6 MB, free: 28.79 MB / 291.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01441/2.705, allocations: 4.132 MB / 403.7 MB, free: 24.65 MB / 291.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02124/2.726, allocations: 6.295 MB / 410 MB, free: 17.62 MB / 291.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002341/2.727, allocations: 55.52 kB / 410.1 MB, free: 17.57 MB / 291.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001625/2.728, allocations: 20 kB / 410.1 MB, free: 17.55 MB / 291.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002229/2.731, allocations: 0.7421 MB / 410.9 MB, free: 16.8 MB / 291.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07286/2.803, allocations: 31.66 MB / 442.5 MB, free: 104 kB / 307.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006686/2.81, allocations: 2.036 MB / 444.6 MB, free: 13.92 MB / 323.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/2.814, allocations: 1.125 MB / 445.7 MB, free: 12.78 MB / 323.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01809/2.833, allocations: 4.171 MB / 449.9 MB, free: 8.406 MB / 323.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.762e-05/2.833, allocations: 50.92 kB / 449.9 MB, free: 8.348 MB / 323.1 MB Notification: Performance of pre-optimization done (n=105): time 6.984e-06/2.833, allocations: 0 / 449.9 MB, free: 8.348 MB / 323.1 MB Notification: Performance of matching and sorting (n=118): time 0.05953/2.892, allocations: 8.925 MB / 458.8 MB, free: 15.29 MB / 339.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/2.892, allocations: 137 kB / 459 MB, free: 15.12 MB / 339.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008582/2.901, allocations: 2.146 MB / 461.1 MB, free: 12.95 MB / 339.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004382/2.902, allocations: 25.7 kB / 461.1 MB, free: 12.91 MB / 339.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003038/2.905, allocations: 2.015 MB / 463.1 MB, free: 10.86 MB / 339.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009174/2.906, allocations: 481.9 kB / 463.6 MB, free: 10.39 MB / 339.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/2.906, allocations: 4 kB / 463.6 MB, free: 10.38 MB / 339.1 MB Notification: Performance of setup shared object (initialization): time 0.0005332/2.907, allocations: 0.54 MB / 464.2 MB, free: 9.832 MB / 339.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004346/2.911, allocations: 1.563 MB / 465.7 MB, free: 8.262 MB / 339.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007729/2.919, allocations: 4.415 MB / 470.1 MB, free: 2.398 MB / 339.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1257/3.044, allocations: 2.82 MB / 473 MB, free: 110.5 MB / 339.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.719e-05/3.045, allocations: 27.56 kB / 473 MB, free: 110.5 MB / 339.1 MB Notification: Performance of matching and sorting (n=600) (initialization): time 0.02311/3.068, allocations: 6.478 MB / 479.5 MB, free: 110.3 MB / 339.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/3.068, allocations: 10.12 kB / 479.5 MB, free: 110.3 MB / 339.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01191/3.08, allocations: 2.548 MB / 482 MB, free: 110.3 MB / 339.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009218/3.089, allocations: 1.336 MB / 483.4 MB, free: 110.3 MB / 339.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006615/3.096, allocations: 1.042 MB / 484.4 MB, free: 110.2 MB / 339.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/3.114, allocations: 7.11 MB / 491.5 MB, free: 107.6 MB / 339.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006319/3.12, allocations: 226.3 kB / 491.7 MB, free: 107.6 MB / 339.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/3.121, allocations: 296.5 kB / 492 MB, free: 107.6 MB / 339.1 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 (555): * Single equations (assignments): 547 * 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 {1} * 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.001409/3.123, allocations: 353.9 kB / 492.4 MB, free: 107.4 MB / 339.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006273/3.123, allocations: 209.2 kB / 492.6 MB, free: 107.4 MB / 339.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/3.142, allocations: 2.877 MB / 495.4 MB, free: 107.3 MB / 339.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01907/3.161, allocations: 2.567 MB / 498 MB, free: 107.3 MB / 339.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.323e-05/3.161, allocations: 7.5 kB / 498 MB, free: 107.3 MB / 339.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.251e-05/3.161, allocations: 6.703 kB / 498 MB, free: 107.3 MB / 339.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03579/3.197, allocations: 6.155 MB / 0.4924 GB, free: 106.6 MB / 339.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/3.197, allocations: 1.094 kB / 0.4924 GB, free: 106.6 MB / 339.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/3.2, allocations: 151.7 kB / 0.4925 GB, free: 106.6 MB / 339.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01488/3.215, allocations: 1.352 MB / 0.4938 GB, free: 106.4 MB / 339.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005464/3.215, allocations: 21.14 kB / 0.4939 GB, free: 106.4 MB / 339.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/3.237, allocations: 7.721 MB / 0.5014 GB, free: 102.5 MB / 339.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001186/3.239, allocations: 1.364 MB / 0.5027 GB, free: 101.2 MB / 339.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01928/3.258, allocations: 4.973 MB / 0.5076 GB, free: 99.36 MB / 339.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0281/3.286, allocations: 6.747 MB / 0.5142 GB, free: 95.25 MB / 339.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000991/3.287, allocations: 277.5 kB / 0.5144 GB, free: 94.97 MB / 339.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008271/3.288, allocations: 11.28 kB / 0.5144 GB, free: 94.96 MB / 339.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/3.291, allocations: 68.23 kB / 0.5145 GB, free: 94.92 MB / 339.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/3.292, allocations: 55.75 kB / 0.5146 GB, free: 94.89 MB / 339.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002528/3.292, allocations: 48.94 kB / 0.5146 GB, free: 94.86 MB / 339.1 MB Notification: Performance of sort global known variables: time 0.003972/3.296, allocations: 1.416 MB / 0.516 GB, free: 93.6 MB / 339.1 MB Notification: Performance of remove unused functions: time 0.009082/3.305, allocations: 0.6779 MB / 0.5167 GB, free: 92.93 MB / 339.1 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.000859/3.306, allocations: 162.1 kB / 0.5168 GB, free: 92.79 MB / 339.1 MB Notification: Performance of simCode: created initialization part: time 0.01287/3.319, allocations: 4.018 MB / 0.5207 GB, free: 89.2 MB / 339.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/3.319, allocations: 0.5469 kB / 0.5207 GB, free: 89.2 MB / 339.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006613/3.326, allocations: 1.613 MB / 0.5223 GB, free: 87.76 MB / 339.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/3.328, allocations: 184.4 kB / 0.5225 GB, free: 87.6 MB / 339.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/3.344, allocations: 5.487 MB / 0.5278 GB, free: 82.86 MB / 339.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004835/3.348, allocations: 2.542 MB / 0.5303 GB, free: 80.82 MB / 339.1 MB Notification: Performance of SimCode: time 1.693e-06/3.348, allocations: 0 / 0.5303 GB, free: 80.82 MB / 339.1 MB