Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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.371/2.371, allocations: 235 MB / 241.9 MB, free: 9.762 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1952/2.566, allocations: 57.19 MB / 299.1 MB, free: 0.9297 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/2.927, allocations: 54.84 MB / 354 MB, free: 1.559 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/3.113, allocations: 86.1 MB / 440.1 MB, free: 5.996 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/3.113, allocations: 67.97 kB / 440.1 MB, free: 5.93 MB / 370.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.1856/3.299, allocations: 34.82 MB / 475 MB, free: 2.73 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/3.299, allocations: 12 kB / 475 MB, free: 2.719 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/3.315, allocations: 1.331 MB / 476.3 MB, free: 1.383 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006243/3.321, allocations: 1.013 MB / 477.3 MB, free: 332 kB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/3.321, allocations: 56 kB / 477.4 MB, free: 276 kB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/3.323, allocations: 100 kB / 477.5 MB, free: 176 kB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0111/3.334, allocations: 2.828 MB / 480.3 MB, free: 13.34 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/3.351, allocations: 4.693 MB / 485 MB, free: 7.992 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/3.351, allocations: 35.69 kB / 485 MB, free: 7.957 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009261/3.352, allocations: 16 kB / 485 MB, free: 7.941 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001373/3.354, allocations: 0.5333 MB / 485.6 MB, free: 7.406 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04871/3.402, allocations: 23.63 MB / 0.4973 GB, free: 14.93 MB / 450.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003362/3.406, allocations: 1.152 MB / 0.4984 GB, free: 13.64 MB / 450.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/3.407, allocations: 334.4 kB / 0.4987 GB, free: 13.31 MB / 450.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/3.407, allocations: 4 kB / 0.4987 GB, free: 13.3 MB / 450.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/3.407, allocations: 34.56 kB / 0.4987 GB, free: 13.26 MB / 450.8 MB Notification: Performance of pre-optimization done (n=60): time 8.456e-06/3.407, allocations: 4 kB / 0.4988 GB, free: 13.26 MB / 450.8 MB Notification: Performance of matching and sorting (n=60): time 0.003636/3.411, allocations: 0.7576 MB / 0.4995 GB, free: 12.49 MB / 450.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/3.411, allocations: 118.8 kB / 0.4996 GB, free: 12.35 MB / 450.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006908/3.418, allocations: 1.702 MB / 0.5013 GB, free: 10.64 MB / 450.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/3.418, allocations: 25.7 kB / 0.5013 GB, free: 10.61 MB / 450.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002573/3.421, allocations: 1.612 MB / 0.5029 GB, free: 8.973 MB / 450.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006809/3.421, allocations: 261 kB / 0.5031 GB, free: 8.715 MB / 450.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004633/3.422, allocations: 0 / 0.5031 GB, free: 8.715 MB / 450.8 MB Notification: Performance of setup shared object (initialization): time 0.0006878/3.423, allocations: 490.3 kB / 0.5036 GB, free: 8.227 MB / 450.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003756/3.426, allocations: 0.858 MB / 0.5044 GB, free: 7.367 MB / 450.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007796/3.434, allocations: 3.201 MB / 0.5075 GB, free: 2.973 MB / 450.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006863/3.441, allocations: 1.718 MB / 0.5092 GB, free: 1.254 MB / 450.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/3.441, allocations: 24 kB / 0.5092 GB, free: 1.23 MB / 450.8 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.2298/3.671, allocations: 3.439 MB / 0.5126 GB, free: 178 MB / 450.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/3.671, allocations: 6.375 kB / 0.5126 GB, free: 178 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/3.671, allocations: 88.72 kB / 0.5127 GB, free: 178 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/3.672, allocations: 122.7 kB / 0.5128 GB, free: 178 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005651/3.677, allocations: 0.7876 MB / 0.5136 GB, free: 178 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002547/3.678, allocations: 170.4 kB / 0.5137 GB, free: 178 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006792/3.684, allocations: 415.7 kB / 0.5141 GB, free: 178 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/3.686, allocations: 230.7 kB / 0.5144 GB, free: 178 MB / 450.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 389 * Number of states: 0 () * Number of discrete variables: 9 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 425 * 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.0009764/3.687, allocations: 299 kB / 0.5146 GB, free: 177.9 MB / 450.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005662/3.687, allocations: 152 kB / 0.5148 GB, free: 177.9 MB / 450.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/3.688, allocations: 180.2 kB / 0.515 GB, free: 177.8 MB / 450.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.8e-05/3.688, allocations: 3.969 kB / 0.515 GB, free: 177.8 MB / 450.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/3.688, allocations: 10.53 kB / 0.515 GB, free: 177.8 MB / 450.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/3.688, allocations: 3.188 kB / 0.515 GB, free: 177.8 MB / 450.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/3.693, allocations: 1.649 MB / 0.5166 GB, free: 177.5 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/3.693, allocations: 3.406 kB / 0.5166 GB, free: 177.5 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/3.694, allocations: 56 kB / 0.5166 GB, free: 177.5 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/3.694, allocations: 0 / 0.5166 GB, free: 177.5 MB / 450.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/3.694, allocations: 7.219 kB / 0.5167 GB, free: 177.5 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/3.694, allocations: 7.156 kB / 0.5167 GB, free: 177.5 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/3.694, allocations: 0 / 0.5167 GB, free: 177.5 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001725/3.695, allocations: 1.057 MB / 0.5177 GB, free: 177.1 MB / 450.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001857/3.697, allocations: 1.447 MB / 0.5191 GB, free: 176.3 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/3.698, allocations: 218.9 kB / 0.5193 GB, free: 176.1 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/3.698, allocations: 3.797 kB / 0.5193 GB, free: 176.1 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009568/3.699, allocations: 14.28 kB / 0.5193 GB, free: 176.1 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/3.699, allocations: 22.47 kB / 0.5194 GB, free: 176.1 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/3.699, allocations: 17.38 kB / 0.5194 GB, free: 176.1 MB / 450.8 MB Notification: Performance of sort global known variables: time 0.002758/3.702, allocations: 1.132 MB / 0.5205 GB, free: 176 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.004578/3.707, allocations: 452.5 kB / 0.5209 GB, free: 176 MB / 450.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * 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.0004455/3.707, allocations: 123.7 kB / 0.521 GB, free: 175.9 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.004736/3.712, allocations: 1.952 MB / 0.5229 GB, free: 175.7 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/3.712, allocations: 0 / 0.5229 GB, free: 175.7 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007057/3.713, allocations: 334.7 kB / 0.5233 GB, free: 175.7 MB / 450.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/3.714, allocations: 137.8 kB / 0.5234 GB, free: 175.7 MB / 450.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008907/3.723, allocations: 3.017 MB / 0.5263 GB, free: 175.1 MB / 450.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004744/3.728, allocations: 1.957 MB / 0.5282 GB, free: 174.4 MB / 450.8 MB Notification: Performance of SimCode: time 1.773e-06/3.728, allocations: 0 / 0.5282 GB, free: 174.4 MB / 450.8 MB