Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_ColorMaps",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 2.019/2.019, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2792/2.298, allocations: 51.02 MB / 267.3 MB, free: 5.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/2.416, allocations: 48.69 MB / 316 MB, free: 4.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/2.789, allocations: 84.18 MB / 400.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/2.789, allocations: 82 kB / 400.2 MB, free: 8.617 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.3743/3.164, allocations: 82.01 MB / 482.2 MB, free: 9.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/3.164, allocations: 8 kB / 482.3 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006291/3.17, allocations: 1.119 MB / 483.4 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01774/3.188, allocations: 4.148 MB / 487.5 MB, free: 4.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/3.188, allocations: 80 kB / 487.6 MB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/3.19, allocations: 140 kB / 487.7 MB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3353/3.525, allocations: 4.564 MB / 492.3 MB, free: 133.1 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02302/3.549, allocations: 6.036 MB / 498.3 MB, free: 132.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/3.549, allocations: 10.62 kB / 498.3 MB, free: 132.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001049/3.55, allocations: 7.75 kB / 498.4 MB, free: 132.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001863/3.552, allocations: 1.09 MB / 499.4 MB, free: 132.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06048/3.612, allocations: 20.48 MB / 0.5077 GB, free: 124.9 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/3.612, allocations: 175.2 kB / 0.5079 GB, free: 124.8 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/3.612, allocations: 80.14 kB / 0.508 GB, free: 124.7 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/3.613, allocations: 75.28 kB / 0.5081 GB, free: 124.6 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/3.613, allocations: 108.6 kB / 0.5082 GB, free: 124.5 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 3.226e-06/3.613, allocations: 0 / 0.5082 GB, free: 124.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.001783/3.614, allocations: 0.832 MB / 0.509 GB, free: 124 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/3.614, allocations: 51.41 kB / 0.509 GB, free: 124 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03139/3.646, allocations: 8.757 MB / 0.5176 GB, free: 123.1 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/3.646, allocations: 25.7 kB / 0.5176 GB, free: 123.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006772/3.653, allocations: 3.647 MB / 0.5212 GB, free: 121.1 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/3.653, allocations: 90.17 kB / 0.5212 GB, free: 121 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/3.654, allocations: 2.438 kB / 0.5212 GB, free: 121 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004903/3.654, allocations: 478.6 kB / 0.5217 GB, free: 120.7 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/3.657, allocations: 0.6674 MB / 0.5224 GB, free: 120.5 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005644/3.663, allocations: 3.842 MB / 0.5261 GB, free: 115.9 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005093/3.668, allocations: 1.576 MB / 0.5276 GB, free: 115.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001501/3.668, allocations: 31.69 kB / 0.5277 GB, free: 115.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01738/3.686, allocations: 4.141 MB / 0.5317 GB, free: 114.1 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/3.686, allocations: 3.344 kB / 0.5317 GB, free: 114.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002313/3.686, allocations: 119.6 kB / 0.5318 GB, free: 114.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/3.686, allocations: 165.4 kB / 0.532 GB, free: 114.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0061/3.692, allocations: 0.9836 MB / 0.533 GB, free: 114 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005398/3.693, allocations: 232.8 kB / 0.5332 GB, free: 114 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008387/3.701, allocations: 0.5403 MB / 0.5337 GB, free: 113.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/3.702, allocations: 281.6 kB / 0.534 GB, free: 113.6 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 534 * Number of states: 0 () * Number of discrete variables: 27 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 534 * 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.001436/3.704, allocations: 466.8 kB / 0.5344 GB, free: 113.2 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/3.705, allocations: 0.8984 MB / 0.5353 GB, free: 112.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004313/3.71, allocations: 1.008 MB / 0.5363 GB, free: 112.3 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.168e-05/3.71, allocations: 187.2 kB / 0.5365 GB, free: 112.1 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.64e-05/3.71, allocations: 180 kB / 0.5366 GB, free: 111.9 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.305e-05/3.71, allocations: 176.3 kB / 0.5368 GB, free: 111.7 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/3.724, allocations: 3.929 MB / 0.5406 GB, free: 110.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/3.724, allocations: 101 kB / 0.5407 GB, free: 110.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/3.724, allocations: 102.3 kB / 0.5408 GB, free: 110 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.383e-05/3.724, allocations: 187.7 kB / 0.541 GB, free: 109.8 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/3.724, allocations: 176.3 kB / 0.5412 GB, free: 109.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.603e-05/3.724, allocations: 177.5 kB / 0.5413 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.959e-05/3.724, allocations: 187.2 kB / 0.5415 GB, free: 109.3 MB / 410.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001831/3.726, allocations: 1.151 MB / 0.5427 GB, free: 108.5 MB / 410.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002587/3.729, allocations: 1.682 MB / 0.5443 GB, free: 107.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002973/3.732, allocations: 1.056 MB / 0.5453 GB, free: 106.5 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001914/3.734, allocations: 192.4 kB / 0.5455 GB, free: 106.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002859/3.737, allocations: 142 kB / 0.5456 GB, free: 106.2 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/3.737, allocations: 180.3 kB / 0.5458 GB, free: 106.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/3.737, allocations: 106.2 kB / 0.5459 GB, free: 106 MB / 410.8 MB Notification: Performance of sort global known variables: time 0.0205/3.757, allocations: 6.606 MB / 0.5524 GB, free: 102.8 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007101/3.764, allocations: 1.075 MB / 0.5534 GB, free: 101.8 MB / 410.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.0003306/3.765, allocations: 202 kB / 0.5536 GB, free: 101.6 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.003745/3.769, allocations: 1.651 MB / 0.5552 GB, free: 100.1 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/3.769, allocations: 0 / 0.5552 GB, free: 100.1 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-06/3.769, allocations: 0 / 0.5552 GB, free: 100.1 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02301/3.792, allocations: 3.085 MB / 0.5582 GB, free: 97.77 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05353/3.845, allocations: 17.33 MB / 0.5752 GB, free: 84.21 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02057/3.866, allocations: 5.918 MB / 0.5809 GB, free: 79.87 MB / 410.8 MB Notification: Performance of SimCode: time 1.834e-06/3.866, allocations: 0 / 0.5809 GB, free: 79.87 MB / 410.8 MB