Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_2_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 2.425/2.425, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1865/2.612, allocations: 57.21 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/2.92, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/3.106, allocations: 84.68 MB / 438.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/3.106, allocations: 75.91 kB / 438.7 MB, free: 8.555 MB / 378.7 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.3403/3.446, allocations: 27.13 MB / 465.9 MB, free: 78.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/3.446, allocations: 8 kB / 465.9 MB, free: 78.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/3.448, allocations: 261.1 kB / 466.1 MB, free: 78.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003452/3.452, allocations: 0.8297 MB / 467 MB, free: 77.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/3.452, allocations: 60 kB / 467 MB, free: 77.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000748/3.453, allocations: 108 kB / 467.1 MB, free: 77.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004777/3.457, allocations: 1.739 MB / 468.9 MB, free: 75.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008755/3.466, allocations: 3.088 MB / 471.9 MB, free: 72.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-05/3.466, allocations: 15.88 kB / 472 MB, free: 72.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/3.467, allocations: 12 kB / 472 MB, free: 72.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000412/3.467, allocations: 352.1 kB / 472.3 MB, free: 71.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/3.484, allocations: 14.46 MB / 486.8 MB, free: 56.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.318e-05/3.484, allocations: 165.1 kB / 486.9 MB, free: 56.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/3.484, allocations: 84.05 kB / 487 MB, free: 56.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/3.484, allocations: 75.28 kB / 487.1 MB, free: 56.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/3.484, allocations: 113.8 kB / 487.2 MB, free: 56.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.846e-06/3.484, allocations: 0 / 487.2 MB, free: 56.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002934/3.485, allocations: 134 kB / 487.3 MB, free: 56.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/3.485, allocations: 55.38 kB / 487.4 MB, free: 56.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/3.487, allocations: 1.115 MB / 488.5 MB, free: 55.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/3.487, allocations: 25.7 kB / 488.5 MB, free: 55.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008507/3.488, allocations: 1.331 MB / 489.9 MB, free: 53.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/3.488, allocations: 47.95 kB / 489.9 MB, free: 53.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/3.488, allocations: 0 / 489.9 MB, free: 53.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/3.488, allocations: 414.7 kB / 490.3 MB, free: 53.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009507/3.489, allocations: 319.9 kB / 490.6 MB, free: 52.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/3.491, allocations: 1.844 MB / 492.5 MB, free: 50.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/3.493, allocations: 0.7371 MB / 493.2 MB, free: 49.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-05/3.493, allocations: 16 kB / 493.2 MB, free: 49.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00464/3.497, allocations: 1.703 MB / 494.9 MB, free: 47.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/3.498, allocations: 8.031 kB / 494.9 MB, free: 47.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.157e-05/3.498, allocations: 56 kB / 495 MB, free: 47.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.826e-05/3.498, allocations: 80 kB / 495.1 MB, free: 47.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/3.5, allocations: 487 kB / 495.5 MB, free: 47.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.569e-05/3.5, allocations: 111.6 kB / 495.6 MB, free: 47.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/3.503, allocations: 248.9 kB / 495.9 MB, free: 46.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003181/3.503, allocations: 136 kB / 496 MB, free: 46.7 MB / 378.7 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.0003085/3.503, allocations: 325.6 kB / 496.3 MB, free: 46.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/3.504, allocations: 207.6 kB / 496.5 MB, free: 46.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/3.504, allocations: 205.9 kB / 496.7 MB, free: 45.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-05/3.504, allocations: 180.3 kB / 496.9 MB, free: 45.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.492e-05/3.504, allocations: 180.2 kB / 497.1 MB, free: 45.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.442e-05/3.504, allocations: 184.2 kB / 497.3 MB, free: 45.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/3.506, allocations: 1.009 MB / 498.3 MB, free: 44.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/3.506, allocations: 108.9 kB / 498.4 MB, free: 44.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/3.506, allocations: 104.9 kB / 498.5 MB, free: 44.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.664e-05/3.506, allocations: 180.2 kB / 498.7 MB, free: 43.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/3.506, allocations: 184.2 kB / 498.8 MB, free: 43.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.469e-05/3.506, allocations: 176.5 kB / 499 MB, free: 43.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.422e-05/3.506, allocations: 188.2 kB / 499.2 MB, free: 43.38 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002623/3.506, allocations: 408.1 kB / 499.6 MB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002584/3.506, allocations: 0.7816 MB / 0.4887 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/3.507, allocations: 272.8 kB / 0.4889 GB, free: 41.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/3.507, allocations: 184.2 kB / 0.4891 GB, free: 41.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/3.507, allocations: 104.9 kB / 0.4892 GB, free: 41.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/3.508, allocations: 180.3 kB / 0.4894 GB, free: 41.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/3.508, allocations: 101 kB / 0.4895 GB, free: 41.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001367/3.509, allocations: 0.7261 MB / 0.4902 GB, free: 40.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003364/3.512, allocations: 417.6 kB / 0.4906 GB, free: 40.12 MB / 378.7 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.000195/3.513, allocations: 174.5 kB / 0.4907 GB, free: 39.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001792/3.514, allocations: 0.7868 MB / 0.4915 GB, free: 39.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/3.514, allocations: 0 / 0.4915 GB, free: 39.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.436e-06/3.514, allocations: 0 / 0.4915 GB, free: 39.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/3.515, allocations: 0.6058 MB / 0.4921 GB, free: 38.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/3.524, allocations: 2.055 MB / 0.4941 GB, free: 36.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004391/3.528, allocations: 1.688 MB / 0.4957 GB, free: 34.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.545e-06/3.528, allocations: 0 / 0.4957 GB, free: 34.73 MB / 378.7 MB