Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Shapes",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(ModelicaTest): time 1.923/1.923, allocations: 209.3 MB / 216.3 MB, free: 6.867 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2778/2.201, allocations: 51.02 MB / 267.3 MB, free: 5.234 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/2.31, allocations: 48.69 MB / 316 MB, free: 4.445 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3396/2.65, allocations: 78.44 MB / 394.4 MB, free: 14.41 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/2.65, allocations: 83.5 kB / 394.5 MB, free: 14.36 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.1465/2.797, allocations: 27.16 MB / 421.7 MB, free: 6.789 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/2.797, allocations: 8 kB / 421.7 MB, free: 6.781 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/2.8, allocations: 245.2 kB / 421.9 MB, free: 6.539 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/2.804, allocations: 0.8294 MB / 422.7 MB, free: 5.668 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/2.804, allocations: 63.91 kB / 422.8 MB, free: 5.605 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007849/2.805, allocations: 108 kB / 422.9 MB, free: 5.5 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00746/2.812, allocations: 1.739 MB / 424.6 MB, free: 3.758 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/2.825, allocations: 3.086 MB / 427.7 MB, free: 280 kB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/2.825, allocations: 19.81 kB / 427.7 MB, free: 260 kB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004936/2.826, allocations: 11.98 kB / 427.8 MB, free: 248 kB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008026/2.826, allocations: 348.1 kB / 428.1 MB, free: 15.9 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02684/2.853, allocations: 14.46 MB / 442.6 MB, free: 0.9609 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/2.853, allocations: 165.1 kB / 442.7 MB, free: 0.7891 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/2.853, allocations: 84.14 kB / 442.8 MB, free: 0.7031 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/2.854, allocations: 83.27 kB / 442.9 MB, free: 0.6211 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/2.854, allocations: 109.8 kB / 443 MB, free: 0.5039 MB / 362.8 MB Notification: Performance of pre-optimization done (n=0): time 3.807e-06/2.854, allocations: 0 / 443 MB, free: 0.5039 MB / 362.8 MB Notification: Performance of matching and sorting (n=0): time 0.000379/2.854, allocations: 128.3 kB / 443.1 MB, free: 380 kB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/2.854, allocations: 51.41 kB / 443.2 MB, free: 316 kB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/2.858, allocations: 1.119 MB / 444.3 MB, free: 15.18 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/2.858, allocations: 29.7 kB / 444.3 MB, free: 15.14 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001831/2.86, allocations: 1.323 MB / 445.6 MB, free: 13.79 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/2.86, allocations: 43.95 kB / 445.7 MB, free: 13.75 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/2.86, allocations: 0 / 445.7 MB, free: 13.75 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0004876/2.86, allocations: 418.7 kB / 446.1 MB, free: 13.33 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/2.862, allocations: 319.9 kB / 446.4 MB, free: 13.02 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003832/2.866, allocations: 1.84 MB / 448.2 MB, free: 10.37 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/2.869, allocations: 0.7449 MB / 449 MB, free: 9.625 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.658e-05/2.869, allocations: 23.94 kB / 449 MB, free: 9.602 MB / 378.8 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005683/2.875, allocations: 1.698 MB / 450.7 MB, free: 7.898 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/2.875, allocations: 4 kB / 450.7 MB, free: 7.895 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/2.875, allocations: 56 kB / 450.8 MB, free: 7.84 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/2.875, allocations: 80 kB / 450.8 MB, free: 7.762 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/2.878, allocations: 487 kB / 451.3 MB, free: 7.285 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001164/2.878, allocations: 107.6 kB / 451.4 MB, free: 7.18 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/2.881, allocations: 248.9 kB / 451.7 MB, free: 6.934 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004216/2.881, allocations: 136 kB / 451.8 MB, free: 6.801 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 257 * Array equations: 0 * 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.0005204/2.882, allocations: 325.7 kB / 452.1 MB, free: 6.473 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/2.882, allocations: 207.7 kB / 452.3 MB, free: 6.262 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/2.883, allocations: 206 kB / 452.5 MB, free: 6.051 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.74e-05/2.883, allocations: 188.2 kB / 452.7 MB, free: 5.859 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-05/2.883, allocations: 176.3 kB / 452.9 MB, free: 5.68 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.502e-05/2.883, allocations: 176.3 kB / 453 MB, free: 5.5 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/2.885, allocations: 1.017 MB / 454.1 MB, free: 4.438 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.662e-05/2.885, allocations: 101.1 kB / 454.2 MB, free: 4.332 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/2.885, allocations: 105 kB / 454.3 MB, free: 4.223 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-05/2.885, allocations: 192.2 kB / 454.5 MB, free: 4.027 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.25e-05/2.885, allocations: 180.3 kB / 454.6 MB, free: 3.844 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.822e-05/2.885, allocations: 184.3 kB / 454.8 MB, free: 3.656 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.7e-05/2.885, allocations: 184.2 kB / 455 MB, free: 3.469 MB / 378.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005876/2.886, allocations: 408 kB / 455.4 MB, free: 3.047 MB / 378.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007541/2.887, allocations: 0.7777 MB / 456.2 MB, free: 2.246 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006335/2.887, allocations: 268.8 kB / 456.4 MB, free: 1.957 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004089/2.888, allocations: 184.2 kB / 456.6 MB, free: 1.77 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/2.889, allocations: 105 kB / 456.7 MB, free: 1.66 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/2.889, allocations: 180.3 kB / 456.9 MB, free: 1.477 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/2.889, allocations: 112.9 kB / 457 MB, free: 1.359 MB / 378.8 MB Notification: Performance of sort global known variables: time 0.002127/2.891, allocations: 0.7183 MB / 457.7 MB, free: 0.6367 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003664/2.895, allocations: 421.6 kB / 458.1 MB, free: 228 kB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002416/2.895, allocations: 174.5 kB / 458.3 MB, free: 44 kB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.002374/2.897, allocations: 0.789 MB / 459.1 MB, free: 15.27 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.757e-05/2.898, allocations: 0 / 459.1 MB, free: 15.27 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/2.898, allocations: 0 / 459.1 MB, free: 15.27 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/2.899, allocations: 0.6108 MB / 459.7 MB, free: 14.65 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007345/2.906, allocations: 2.047 MB / 461.7 MB, free: 12.55 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00276/2.909, allocations: 1.676 MB / 463.4 MB, free: 10.84 MB / 394.8 MB Notification: Performance of SimCode: time 1.923e-06/2.909, allocations: 0 / 463.4 MB, free: 10.84 MB / 394.8 MB