Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_2_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.297/2.297, allocations: 235 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1606/2.458, allocations: 57.2 MB / 299.1 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/2.737, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4756/3.212, allocations: 102.1 MB / 456.1 MB, free: 34.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/3.213, allocations: 74.31 kB / 456.1 MB, free: 34.34 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.3476/3.56, allocations: 74.85 MB / 0.5186 GB, free: 4.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/3.56, allocations: 11.94 kB / 0.5186 GB, free: 4.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008383/3.569, allocations: 0.7047 MB / 0.5193 GB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/3.584, allocations: 2.56 MB / 0.5218 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004891/3.584, allocations: 136 kB / 0.5219 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002768/3.587, allocations: 244 kB / 0.5221 GB, free: 348 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02126/3.609, allocations: 6.251 MB / 0.5282 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02961/3.638, allocations: 7.918 MB / 0.536 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/3.638, allocations: 15.81 kB / 0.536 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002406/3.641, allocations: 19.94 kB / 0.536 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003203/3.644, allocations: 0.8746 MB / 0.5368 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0859/3.73, allocations: 30.29 MB / 0.5664 GB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005645/3.736, allocations: 1.967 MB / 0.5683 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004064/3.74, allocations: 1.473 MB / 0.5698 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02772/3.768, allocations: 8.67 MB / 0.5783 GB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.506e-05/3.768, allocations: 47.16 kB / 0.5783 GB, free: 5.246 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 4.759e-06/3.768, allocations: 4 kB / 0.5783 GB, free: 5.242 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.03489/3.803, allocations: 7.356 MB / 0.5855 GB, free: 13.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/3.803, allocations: 123.5 kB / 0.5856 GB, free: 13.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/3.813, allocations: 2.187 MB / 0.5877 GB, free: 11.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003318/3.814, allocations: 25.7 kB / 0.5878 GB, free: 11.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003903/3.817, allocations: 2.471 MB / 0.5902 GB, free: 8.953 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000828/3.818, allocations: 399.1 kB / 0.5906 GB, free: 8.559 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005663/3.819, allocations: 3.938 kB / 0.5906 GB, free: 8.555 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000486/3.819, allocations: 475 kB / 0.591 GB, free: 8.082 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/3.824, allocations: 1.332 MB / 0.5923 GB, free: 6.738 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00727/3.831, allocations: 3.757 MB / 0.596 GB, free: 1.742 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006811/3.838, allocations: 2.231 MB / 0.5982 GB, free: 15.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-05/3.838, allocations: 27.94 kB / 0.5982 GB, free: 15.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.01609/3.854, allocations: 4.636 MB / 0.6027 GB, free: 10.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/3.854, allocations: 4 kB / 0.6027 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/3.855, allocations: 88 kB / 0.6028 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/3.855, allocations: 128.8 kB / 0.6029 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007829/3.863, allocations: 1.002 MB / 0.6039 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002149/3.863, allocations: 179.3 kB / 0.6041 GB, free: 9.441 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005366/3.868, allocations: 143.6 kB / 0.6042 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/3.87, allocations: 252 kB / 0.6045 GB, free: 9.055 MB / 474.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.001105/3.871, allocations: 348 kB / 0.6048 GB, free: 8.707 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/3.872, allocations: 209.3 kB / 0.605 GB, free: 8.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005141/3.877, allocations: 1.749 MB / 0.6067 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/3.878, allocations: 11.91 kB / 0.6067 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/3.878, allocations: 3.938 kB / 0.6067 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/3.878, allocations: 15.97 kB / 0.6067 GB, free: 6.699 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/3.895, allocations: 5.7 MB / 0.6123 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/3.895, allocations: 16 kB / 0.6123 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/3.898, allocations: 255.6 kB / 0.6125 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.7e-05/3.898, allocations: 28 kB / 0.6126 GB, free: 392 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/3.898, allocations: 20 kB / 0.6126 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-05/3.898, allocations: 36.42 kB / 0.6126 GB, free: 336 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.147e-05/3.898, allocations: 23.88 kB / 0.6127 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2015/4.099, allocations: 3.531 MB / 0.6161 GB, free: 150.4 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005258/4.105, allocations: 3.942 MB / 0.6199 GB, free: 147.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009228/4.106, allocations: 319.6 kB / 0.6203 GB, free: 147.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009269/4.107, allocations: 28.34 kB / 0.6203 GB, free: 147.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/4.109, allocations: 45.69 kB / 0.6203 GB, free: 147.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003695/4.11, allocations: 116.6 kB / 0.6204 GB, free: 147.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/4.11, allocations: 57.16 kB / 0.6205 GB, free: 147.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003977/4.114, allocations: 1.463 MB / 0.6219 GB, free: 147.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006542/4.121, allocations: 0.6567 MB / 0.6226 GB, free: 147.3 MB / 474.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.0006262/4.121, allocations: 187.4 kB / 0.6227 GB, free: 147.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006663/4.128, allocations: 2.951 MB / 0.6256 GB, free: 147.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/4.128, allocations: 3.688 kB / 0.6256 GB, free: 147.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/4.13, allocations: 0.7881 MB / 0.6264 GB, free: 147.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/4.132, allocations: 220.5 kB / 0.6266 GB, free: 147.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/4.151, allocations: 6.246 MB / 0.6327 GB, free: 145.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007979/4.159, allocations: 3.228 MB / 0.6359 GB, free: 144.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.754e-06/4.159, allocations: 3.656 kB / 0.6359 GB, free: 144.7 MB / 474.7 MB