Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",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.775/1.775, allocations: 171.2 MB / 178.1 MB, free: 316 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1501/1.926, allocations: 41.1 MB / 219.2 MB, free: 7.145 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/2.143, allocations: 38.76 MB / 258 MB, free: 12.36 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/2.297, allocations: 81.47 MB / 339.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/2.297, allocations: 87.95 kB / 339.6 MB, free: 12.43 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: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.4946/2.792, allocations: 67.35 MB / 406.9 MB, free: 67.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/2.792, allocations: 8 kB / 406.9 MB, free: 67.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/2.807, allocations: 1.633 MB / 408.6 MB, free: 65.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/2.815, allocations: 2.171 MB / 410.7 MB, free: 63.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/2.815, allocations: 108 kB / 410.8 MB, free: 63.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/2.817, allocations: 196 kB / 411 MB, free: 62.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01863/2.836, allocations: 4.519 MB / 415.5 MB, free: 58.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/2.855, allocations: 7.584 MB / 423.1 MB, free: 49.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/2.855, allocations: 55.5 kB / 423.2 MB, free: 49.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/2.857, allocations: 35.91 kB / 423.2 MB, free: 49.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001473/2.858, allocations: 0.8341 MB / 424 MB, free: 48.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04724/2.905, allocations: 38.35 MB / 462.4 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/2.908, allocations: 1.365 MB / 463.8 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009734/2.909, allocations: 448.8 kB / 464.2 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000415/2.909, allocations: 335.1 kB / 464.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/2.909, allocations: 50.56 kB / 464.6 MB, free: 6.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 4.399e-06/2.909, allocations: 4 kB / 464.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.005426/2.915, allocations: 1.266 MB / 465.9 MB, free: 5.703 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/2.915, allocations: 191.9 kB / 466 MB, free: 5.473 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008277/2.923, allocations: 3.14 MB / 469.2 MB, free: 2.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/2.923, allocations: 25.7 kB / 469.2 MB, free: 2.312 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002586/2.926, allocations: 2.709 MB / 471.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007504/2.927, allocations: 383.6 kB / 472.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005635/2.927, allocations: 4 kB / 472.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005177/2.928, allocations: 0.5252 MB / 472.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003984/2.932, allocations: 1.213 MB / 474 MB, free: 13.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007716/2.94, allocations: 4.878 MB / 478.9 MB, free: 6.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009081/2.949, allocations: 2.493 MB / 481.4 MB, free: 4.156 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001875/2.949, allocations: 40 kB / 481.4 MB, free: 4.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.01978/2.969, allocations: 5.131 MB / 486.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/2.969, allocations: 8 kB / 486.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002749/2.969, allocations: 132.1 kB / 486.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/2.97, allocations: 195.9 kB / 486.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007694/2.977, allocations: 1.212 MB / 488.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002731/2.978, allocations: 259 kB / 488.4 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007041/2.985, allocations: 0.6413 MB / 489 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/2.986, allocations: 344 kB / 489.3 MB, free: 12.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (661): * Single equations (assignments): 658 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001289/2.987, allocations: 424.3 kB / 489.8 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009674/2.988, allocations: 300.1 kB / 490 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/2.991, allocations: 0.4977 MB / 490.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/2.991, allocations: 15.94 kB / 490.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/2.991, allocations: 7.906 kB / 490.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/2.991, allocations: 3.984 kB / 490.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/3.009, allocations: 3.064 MB / 493.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.438e-05/3.009, allocations: 4 kB / 493.6 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/3.01, allocations: 107.9 kB / 493.7 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.469e-05/3.01, allocations: 8.219 kB / 493.8 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/3.01, allocations: 15.98 kB / 493.8 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.695e-05/3.01, allocations: 4 kB / 493.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/3.01, allocations: 7.906 kB / 493.8 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006253/3.017, allocations: 2.467 MB / 496.2 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007977/3.025, allocations: 3.418 MB / 499.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003302/3.028, allocations: 0.5163 MB / 0.4885 GB, free: 1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/3.03, allocations: 4 kB / 0.4885 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003931/3.034, allocations: 47.94 kB / 0.4885 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/3.034, allocations: 35.95 kB / 0.4885 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/3.034, allocations: 28 kB / 0.4886 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.1391/3.174, allocations: 2.164 MB / 0.4907 GB, free: 118.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01295/3.187, allocations: 0.8292 MB / 0.4915 GB, free: 118.1 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008485/3.188, allocations: 166.9 kB / 0.4917 GB, free: 118.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008579/3.196, allocations: 2.796 MB / 0.4944 GB, free: 118.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/3.196, allocations: 0 / 0.4944 GB, free: 118.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000972/3.197, allocations: 429.8 kB / 0.4948 GB, free: 118.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/3.2, allocations: 331 kB / 0.4951 GB, free: 118 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/3.223, allocations: 7.285 MB / 0.5022 GB, free: 116.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009854/3.233, allocations: 3.202 MB / 0.5054 GB, free: 116 MB / 346.7 MB Notification: Performance of SimCode: time 1.913e-06/3.233, allocations: 0 / 0.5054 GB, free: 116 MB / 346.7 MB