Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointRRP",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.435/2.435, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2001/2.635, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/2.913, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4337/3.346, allocations: 101.5 MB / 455.5 MB, free: 34.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/3.347, allocations: 73.02 kB / 455.6 MB, free: 34.38 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: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.3104/3.657, allocations: 73.24 MB / 0.5164 GB, free: 6.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/3.657, allocations: 8 kB / 0.5164 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009175/3.666, allocations: 0.6813 MB / 0.5171 GB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01/3.677, allocations: 2.579 MB / 0.5196 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/3.677, allocations: 143.9 kB / 0.5198 GB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002355/3.679, allocations: 244 kB / 0.52 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01879/3.698, allocations: 5.822 MB / 0.5257 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0351/3.733, allocations: 7.526 MB / 0.533 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006773/3.734, allocations: 19.75 kB / 0.533 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00226/3.736, allocations: 16 kB / 0.5331 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00304/3.739, allocations: 0.8199 MB / 0.5339 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09627/3.836, allocations: 27.64 MB / 0.5609 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006014/3.842, allocations: 1.316 MB / 0.5621 GB, free: 6.254 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003586/3.846, allocations: 0.869 MB / 0.563 GB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02391/3.87, allocations: 6.382 MB / 0.5692 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.388e-05/3.87, allocations: 43.06 kB / 0.5693 GB, free: 14.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 6.793e-06/3.87, allocations: 0 / 0.5693 GB, free: 14.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=79): time 0.02707/3.897, allocations: 5.821 MB / 0.5749 GB, free: 8.559 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/3.897, allocations: 170.8 kB / 0.5751 GB, free: 8.355 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005988/3.903, allocations: 2.072 MB / 0.5771 GB, free: 6.258 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002445/3.903, allocations: 33.64 kB / 0.5772 GB, free: 6.219 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002828/3.906, allocations: 2.463 MB / 0.5796 GB, free: 3.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006376/3.907, allocations: 328 kB / 0.5799 GB, free: 3.395 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004859/3.907, allocations: 0 / 0.5799 GB, free: 3.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005317/3.908, allocations: 470.3 kB / 0.5803 GB, free: 2.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/3.911, allocations: 0.9682 MB / 0.5813 GB, free: 1.961 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006348/3.918, allocations: 3.387 MB / 0.5846 GB, free: 13.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005153/3.923, allocations: 1.78 MB / 0.5863 GB, free: 11.58 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.251e-05/3.923, allocations: 24 kB / 0.5863 GB, free: 11.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01228/3.935, allocations: 3.781 MB / 0.59 GB, free: 7.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/3.935, allocations: 4.219 kB / 0.59 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/3.936, allocations: 92 kB / 0.5901 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/3.936, allocations: 128 kB / 0.5902 GB, free: 7.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006819/3.943, allocations: 0.9202 MB / 0.5911 GB, free: 6.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002171/3.943, allocations: 179.3 kB / 0.5913 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/3.947, allocations: 123.6 kB / 0.5914 GB, free: 6.332 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009402/3.948, allocations: 244 kB / 0.5917 GB, free: 6.094 MB / 458.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: 43 (jointRRP.jointUSP.prismatic.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (498): * Single equations (assignments): 497 * 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.0008361/3.949, allocations: 339.4 kB / 0.592 GB, free: 5.754 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/3.95, allocations: 209.3 kB / 0.5922 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/3.953, allocations: 0.9679 MB / 0.5931 GB, free: 4.562 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/3.953, allocations: 12 kB / 0.5931 GB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/3.953, allocations: 0 / 0.5931 GB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/3.953, allocations: 7.922 kB / 0.5932 GB, free: 4.543 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/3.967, allocations: 4.82 MB / 0.5979 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/3.967, allocations: 20 kB / 0.5979 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/3.97, allocations: 243.6 kB / 0.5981 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.578e-05/3.97, allocations: 31.91 kB / 0.5981 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00033/3.97, allocations: 31.98 kB / 0.5982 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.679e-05/3.97, allocations: 35.86 kB / 0.5982 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.725e-05/3.97, allocations: 27.88 kB / 0.5982 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008143/3.978, allocations: 3.59 MB / 0.6017 GB, free: 10.56 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006668/3.985, allocations: 3.997 MB / 0.6056 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009381/3.986, allocations: 310 kB / 0.6059 GB, free: 5.383 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004925/3.987, allocations: 31.97 kB / 0.606 GB, free: 5.352 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/3.989, allocations: 39.97 kB / 0.606 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/3.989, allocations: 123.4 kB / 0.6061 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/3.989, allocations: 60 kB / 0.6062 GB, free: 5.133 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004174/3.993, allocations: 1.386 MB / 0.6075 GB, free: 3.734 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006472/4, allocations: 0.5898 MB / 0.6081 GB, free: 3.145 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.0006879/4, allocations: 170.7 kB / 0.6083 GB, free: 2.965 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00668/4.007, allocations: 2.315 MB / 0.6105 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-05/4.007, allocations: 4 kB / 0.6105 GB, free: 0.668 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/4.009, allocations: 0.5857 MB / 0.6111 GB, free: 88 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1773/4.186, allocations: 230 kB / 0.6113 GB, free: 160 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/4.212, allocations: 6.001 MB / 0.6172 GB, free: 158.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01222/4.225, allocations: 3.22 MB / 0.6203 GB, free: 157.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.905e-06/4.225, allocations: 0 / 0.6203 GB, free: 157.4 MB / 474.7 MB