Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.537/2.537, allocations: 235.1 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2033/2.74, allocations: 57.2 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/3.065, allocations: 54.84 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/3.246, allocations: 84.69 MB / 438.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003906/3.246, allocations: 71.97 kB / 438.8 MB, free: 8.523 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.3974/3.644, allocations: 27.14 MB / 466 MB, free: 78.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/3.644, allocations: 8 kB / 466 MB, free: 78.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/3.647, allocations: 253.1 kB / 466.2 MB, free: 78.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/3.65, allocations: 0.8248 MB / 467 MB, free: 77.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/3.651, allocations: 60 kB / 467.1 MB, free: 77.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007378/3.651, allocations: 112 kB / 467.2 MB, free: 77.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006958/3.658, allocations: 1.738 MB / 468.9 MB, free: 75.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/3.669, allocations: 3.088 MB / 472 MB, free: 72.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/3.669, allocations: 11.88 kB / 472 MB, free: 72.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004315/3.67, allocations: 12 kB / 472.1 MB, free: 72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006301/3.67, allocations: 352 kB / 472.4 MB, free: 71.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/3.692, allocations: 14.46 MB / 486.9 MB, free: 56.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/3.692, allocations: 169.1 kB / 487 MB, free: 56.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/3.693, allocations: 88.05 kB / 487.1 MB, free: 56.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/3.693, allocations: 75.28 kB / 487.2 MB, free: 56.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/3.693, allocations: 109.8 kB / 487.3 MB, free: 56.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.807e-06/3.693, allocations: 0 / 487.3 MB, free: 56.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003786/3.693, allocations: 128.3 kB / 487.4 MB, free: 56.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/3.693, allocations: 55.42 kB / 487.5 MB, free: 56.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/3.696, allocations: 1.123 MB / 488.6 MB, free: 55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/3.696, allocations: 25.7 kB / 488.6 MB, free: 54.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/3.697, allocations: 1.327 MB / 489.9 MB, free: 53.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/3.697, allocations: 43.95 kB / 490 MB, free: 53.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/3.697, allocations: 0 / 490 MB, free: 53.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002288/3.697, allocations: 414.7 kB / 490.4 MB, free: 53.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/3.698, allocations: 319.9 kB / 490.7 MB, free: 52.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/3.701, allocations: 1.84 MB / 492.5 MB, free: 50.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/3.702, allocations: 0.741 MB / 493.3 MB, free: 49.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-05/3.702, allocations: 19.98 kB / 493.3 MB, free: 49.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005371/3.708, allocations: 1.706 MB / 495 MB, free: 47.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/3.708, allocations: 4 kB / 495 MB, free: 47.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-05/3.708, allocations: 59.98 kB / 495.1 MB, free: 47.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/3.708, allocations: 80 kB / 495.2 MB, free: 47.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/3.711, allocations: 483.1 kB / 495.6 MB, free: 47.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.324e-05/3.711, allocations: 107.6 kB / 495.7 MB, free: 47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/3.714, allocations: 252.9 kB / 496 MB, free: 46.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/3.714, allocations: 140.4 kB / 496.1 MB, free: 46.62 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.0003471/3.715, allocations: 329.5 kB / 496.4 MB, free: 46.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/3.715, allocations: 201.2 kB / 496.6 MB, free: 46.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/3.715, allocations: 209.8 kB / 496.8 MB, free: 45.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/3.715, allocations: 184.2 kB / 497 MB, free: 45.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/3.715, allocations: 180.3 kB / 497.2 MB, free: 45.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.433e-05/3.715, allocations: 180.2 kB / 497.4 MB, free: 45.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/3.717, allocations: 1.013 MB / 498.4 MB, free: 44.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/3.717, allocations: 101 kB / 498.5 MB, free: 44.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/3.717, allocations: 105 kB / 498.6 MB, free: 44.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.5e-05/3.717, allocations: 184.2 kB / 498.8 MB, free: 43.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/3.717, allocations: 176.3 kB / 498.9 MB, free: 43.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.839e-05/3.717, allocations: 192.3 kB / 499.1 MB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.963e-05/3.717, allocations: 184.2 kB / 499.3 MB, free: 43.29 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002641/3.717, allocations: 404.1 kB / 499.7 MB, free: 42.87 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002905/3.718, allocations: 0.7884 MB / 0.4888 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/3.718, allocations: 264.8 kB / 0.489 GB, free: 41.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/3.718, allocations: 192.2 kB / 0.4892 GB, free: 41.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/3.719, allocations: 101 kB / 0.4893 GB, free: 41.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/3.719, allocations: 180.2 kB / 0.4895 GB, free: 41.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/3.719, allocations: 104.9 kB / 0.4896 GB, free: 41.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001677/3.721, allocations: 0.7183 MB / 0.4903 GB, free: 40.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003832/3.725, allocations: 417.6 kB / 0.4907 GB, free: 40.05 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.0002104/3.725, allocations: 182.5 kB / 0.4908 GB, free: 39.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001959/3.727, allocations: 0.7829 MB / 0.4916 GB, free: 39.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/3.727, allocations: 0 / 0.4916 GB, free: 39.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.17e-06/3.727, allocations: 7.938 kB / 0.4916 GB, free: 39.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/3.728, allocations: 0.5976 MB / 0.4922 GB, free: 38.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/3.734, allocations: 2.055 MB / 0.4942 GB, free: 36.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002389/3.737, allocations: 1.688 MB / 0.4958 GB, free: 34.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.903e-06/3.737, allocations: 0 / 0.4958 GB, free: 34.64 MB / 378.7 MB