Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRR",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.269/2.269, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2992/2.568, allocations: 51.03 MB / 267.3 MB, free: 5.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/2.707, allocations: 48.69 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3874/3.094, allocations: 95.8 MB / 411.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/3.095, allocations: 83.2 kB / 411.9 MB, free: 13.13 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.3645/3.459, allocations: 74.86 MB / 486.7 MB, free: 5.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.508e-05/3.459, allocations: 11.94 kB / 486.7 MB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/3.472, allocations: 0.7164 MB / 487.5 MB, free: 4.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/3.485, allocations: 2.556 MB / 490 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/3.485, allocations: 136 kB / 490.1 MB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002873/3.488, allocations: 240 kB / 490.4 MB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1847/3.673, allocations: 6.258 MB / 496.6 MB, free: 139.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02963/3.702, allocations: 7.909 MB / 0.4927 GB, free: 138.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/3.703, allocations: 22.12 kB / 0.4927 GB, free: 138.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001685/3.704, allocations: 11.19 kB / 0.4928 GB, free: 138.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002648/3.707, allocations: 0.8711 MB / 0.4936 GB, free: 138.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07494/3.782, allocations: 30.29 MB / 0.5232 GB, free: 124.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004606/3.787, allocations: 1.96 MB / 0.5251 GB, free: 123.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/3.79, allocations: 1.48 MB / 0.5265 GB, free: 122.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0199/3.81, allocations: 8.676 MB / 0.535 GB, free: 117.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/3.81, allocations: 45.53 kB / 0.5351 GB, free: 117.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 4.719e-06/3.81, allocations: 0 / 0.5351 GB, free: 117.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.03295/3.843, allocations: 7.363 MB / 0.5422 GB, free: 114.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/3.843, allocations: 117.3 kB / 0.5424 GB, free: 114.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008769/3.852, allocations: 2.192 MB / 0.5445 GB, free: 113.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004016/3.852, allocations: 29.14 kB / 0.5445 GB, free: 113.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002128/3.854, allocations: 2.472 MB / 0.5469 GB, free: 111.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006051/3.855, allocations: 385 kB / 0.5473 GB, free: 111.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005074/3.855, allocations: 1.375 kB / 0.5473 GB, free: 111.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003041/3.856, allocations: 481.9 kB / 0.5478 GB, free: 110.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005666/3.861, allocations: 1.334 MB / 0.5491 GB, free: 110.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006787/3.868, allocations: 3.76 MB / 0.5527 GB, free: 106.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006329/3.875, allocations: 2.224 MB / 0.5549 GB, free: 105.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/3.875, allocations: 28 kB / 0.5549 GB, free: 105.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.01565/3.891, allocations: 4.636 MB / 0.5595 GB, free: 101.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/3.891, allocations: 4 kB / 0.5595 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002379/3.891, allocations: 88 kB / 0.5596 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/3.891, allocations: 131.8 kB / 0.5597 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/3.902, allocations: 1.009 MB / 0.5607 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002268/3.902, allocations: 169.5 kB / 0.5608 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005836/3.908, allocations: 145.2 kB / 0.561 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008279/3.909, allocations: 250.9 kB / 0.5612 GB, free: 99.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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): 533 * Array equations: 1 * 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.0007808/3.91, allocations: 338.8 kB / 0.5615 GB, free: 99.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005671/3.91, allocations: 213.3 kB / 0.5617 GB, free: 99.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/3.915, allocations: 1.757 MB / 0.5635 GB, free: 97.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/3.915, allocations: 12 kB / 0.5635 GB, free: 97.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/3.915, allocations: 0 / 0.5635 GB, free: 97.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/3.915, allocations: 10.73 kB / 0.5635 GB, free: 97.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/3.929, allocations: 5.71 MB / 0.569 GB, free: 92.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/3.929, allocations: 27.27 kB / 0.5691 GB, free: 92.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003407/3.932, allocations: 254.2 kB / 0.5693 GB, free: 92.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.961e-05/3.933, allocations: 24 kB / 0.5693 GB, free: 92.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003927/3.933, allocations: 31.91 kB / 0.5694 GB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.574e-05/3.933, allocations: 27.12 kB / 0.5694 GB, free: 92.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-05/3.933, allocations: 28.38 kB / 0.5694 GB, free: 92.31 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007615/3.941, allocations: 3.533 MB / 0.5729 GB, free: 88.19 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007296/3.948, allocations: 3.939 MB / 0.5767 GB, free: 83.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/3.95, allocations: 323.6 kB / 0.577 GB, free: 83.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008779/3.951, allocations: 27.03 kB / 0.5771 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002709/3.954, allocations: 38.88 kB / 0.5771 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000387/3.954, allocations: 121 kB / 0.5772 GB, free: 83.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/3.954, allocations: 55.38 kB / 0.5773 GB, free: 83.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.004633/3.959, allocations: 1.46 MB / 0.5787 GB, free: 81.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01151/3.971, allocations: 0.6645 MB / 0.5793 GB, free: 81.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 142 * 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.0008865/3.971, allocations: 180.9 kB / 0.5795 GB, free: 81.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008534/3.98, allocations: 2.957 MB / 0.5824 GB, free: 78.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.122e-05/3.98, allocations: 0 / 0.5824 GB, free: 78.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002205/3.982, allocations: 0.7849 MB / 0.5832 GB, free: 77.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/3.985, allocations: 218.9 kB / 0.5834 GB, free: 77.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/4.008, allocations: 6.239 MB / 0.5895 GB, free: 71.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008333/4.017, allocations: 3.228 MB / 0.5926 GB, free: 68.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/4.017, allocations: 3.938 kB / 0.5926 GB, free: 68.91 MB / 410.7 MB