Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_2_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.608/1.607, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1912/1.799, allocations: 46.85 MB / 249.4 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/1.885, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/2.171, allocations: 87.33 MB / 381.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/2.172, allocations: 85.14 kB / 381.3 MB, free: 5.645 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.2664/2.438, allocations: 68.06 MB / 449.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/2.438, allocations: 8 kB / 449.3 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/2.453, allocations: 1.629 MB / 451 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00742/2.46, allocations: 2.07 MB / 453 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/2.46, allocations: 111.9 kB / 453.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/2.462, allocations: 200 kB / 453.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01273/2.474, allocations: 4.515 MB / 457.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/2.493, allocations: 7.59 MB / 465.4 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/2.493, allocations: 47.56 kB / 465.5 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007471/2.494, allocations: 32 kB / 465.5 MB, free: 4.156 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001398/2.495, allocations: 0.8321 MB / 466.3 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1787/2.674, allocations: 38.27 MB / 0.4928 GB, free: 109.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/2.676, allocations: 1.355 MB / 0.4941 GB, free: 109.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/2.677, allocations: 443.5 kB / 0.4945 GB, free: 109.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/2.677, allocations: 344.9 kB / 0.4949 GB, free: 108.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/2.677, allocations: 46.34 kB / 0.4949 GB, free: 108.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 3.737e-06/2.678, allocations: 0 / 0.4949 GB, free: 108.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=87): time 0.004102/2.682, allocations: 1.273 MB / 0.4961 GB, free: 108.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/2.682, allocations: 186.1 kB / 0.4963 GB, free: 108.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006383/2.688, allocations: 3.122 MB / 0.4994 GB, free: 108.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/2.688, allocations: 25.7 kB / 0.4994 GB, free: 108.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/2.69, allocations: 2.71 MB / 0.502 GB, free: 107.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/2.691, allocations: 385.9 kB / 0.5024 GB, free: 106.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/2.691, allocations: 0 / 0.5024 GB, free: 106.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003216/2.691, allocations: 0.5233 MB / 0.5029 GB, free: 106.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/2.694, allocations: 1.211 MB / 0.5041 GB, free: 106.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00455/2.699, allocations: 4.887 MB / 0.5089 GB, free: 101.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005392/2.704, allocations: 2.489 MB / 0.5113 GB, free: 101.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/2.704, allocations: 39 kB / 0.5113 GB, free: 101.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.01414/2.718, allocations: 5.133 MB / 0.5164 GB, free: 101.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/2.718, allocations: 6.812 kB / 0.5164 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002031/2.719, allocations: 132.8 kB / 0.5165 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/2.719, allocations: 192.1 kB / 0.5167 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006913/2.726, allocations: 1.211 MB / 0.5179 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001749/2.726, allocations: 259.3 kB / 0.5181 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005639/2.732, allocations: 0.6268 MB / 0.5187 GB, free: 100.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008516/2.733, allocations: 350.1 kB / 0.5191 GB, free: 100.8 MB / 394.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.0007293/2.733, allocations: 425.2 kB / 0.5195 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006518/2.734, allocations: 306.1 kB / 0.5198 GB, free: 100.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/2.735, allocations: 0.4951 MB / 0.5202 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.248e-05/2.736, allocations: 7 kB / 0.5202 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/2.736, allocations: 3.594 kB / 0.5202 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/2.736, allocations: 3.609 kB / 0.5202 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007132/2.743, allocations: 2.992 MB / 0.5232 GB, free: 99.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/2.743, allocations: 3.938 kB / 0.5232 GB, free: 99.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/2.744, allocations: 109.4 kB / 0.5233 GB, free: 99.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/2.744, allocations: 3.906 kB / 0.5233 GB, free: 99.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/2.744, allocations: 14.44 kB / 0.5233 GB, free: 99.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/2.744, allocations: 11.11 kB / 0.5233 GB, free: 99.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/2.744, allocations: 3.781 kB / 0.5233 GB, free: 99.59 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003232/2.747, allocations: 2.464 MB / 0.5257 GB, free: 98.43 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004233/2.751, allocations: 3.411 MB / 0.529 GB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/2.753, allocations: 441.9 kB / 0.5295 GB, free: 96.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/2.753, allocations: 6.156 kB / 0.5295 GB, free: 96.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/2.755, allocations: 21.84 kB / 0.5295 GB, free: 96.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/2.755, allocations: 47.08 kB / 0.5295 GB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.393e-05/2.755, allocations: 29.53 kB / 0.5296 GB, free: 96.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004561/2.76, allocations: 2.152 MB / 0.5317 GB, free: 96.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006321/2.766, allocations: 0.8131 MB / 0.5325 GB, free: 96.29 MB / 394.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.0004242/2.766, allocations: 143 kB / 0.5326 GB, free: 96.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006067/2.773, allocations: 2.795 MB / 0.5353 GB, free: 95.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/2.773, allocations: 2.812 kB / 0.5353 GB, free: 95.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008603/2.773, allocations: 426.6 kB / 0.5357 GB, free: 95.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/2.776, allocations: 332.2 kB / 0.5361 GB, free: 95.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/2.792, allocations: 5.787 MB / 0.5417 GB, free: 94.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006672/2.799, allocations: 3.177 MB / 0.5448 GB, free: 92.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/2.799, allocations: 0 / 0.5448 GB, free: 92.95 MB / 394.7 MB