Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_1_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.054/2.054, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2554/2.31, allocations: 51.03 MB / 267.3 MB, free: 5.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/2.435, allocations: 48.69 MB / 316 MB, free: 4.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/2.841, allocations: 95.25 MB / 411.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/2.841, allocations: 76.12 kB / 411.3 MB, free: 13.7 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: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.3914/3.233, allocations: 73.25 MB / 484.6 MB, free: 7.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/3.233, allocations: 8 kB / 484.6 MB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007971/3.241, allocations: 0.6851 MB / 485.2 MB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01311/3.254, allocations: 2.579 MB / 487.8 MB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000576/3.254, allocations: 136 kB / 488 MB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002939/3.257, allocations: 247.9 kB / 488.2 MB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1734/3.431, allocations: 5.818 MB / 494 MB, free: 139.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02763/3.459, allocations: 7.531 MB / 0.4898 GB, free: 138.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/3.459, allocations: 21.03 kB / 0.4898 GB, free: 138.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001373/3.46, allocations: 10.56 kB / 0.4898 GB, free: 138.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002439/3.463, allocations: 0.8249 MB / 0.4906 GB, free: 138.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07248/3.535, allocations: 27.65 MB / 0.5176 GB, free: 127 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/3.54, allocations: 1.315 MB / 0.5189 GB, free: 126.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002938/3.543, allocations: 0.8715 MB / 0.5198 GB, free: 126 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/3.561, allocations: 6.372 MB / 0.526 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/3.561, allocations: 49.06 kB / 0.526 GB, free: 121.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 4.528e-06/3.561, allocations: 0 / 0.526 GB, free: 121.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=79): time 0.0191/3.58, allocations: 5.819 MB / 0.5317 GB, free: 118.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/3.58, allocations: 169.3 kB / 0.5319 GB, free: 118.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004408/3.584, allocations: 2.073 MB / 0.5339 GB, free: 117.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002419/3.585, allocations: 28.27 kB / 0.5339 GB, free: 117.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001839/3.587, allocations: 2.467 MB / 0.5363 GB, free: 115.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/3.587, allocations: 327.5 kB / 0.5367 GB, free: 115.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/3.587, allocations: 0 / 0.5367 GB, free: 115.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002703/3.588, allocations: 474 kB / 0.5371 GB, free: 115.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/3.59, allocations: 0.9697 MB / 0.5381 GB, free: 114.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004685/3.595, allocations: 3.383 MB / 0.5414 GB, free: 111.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/3.599, allocations: 1.774 MB / 0.5431 GB, free: 110.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/3.6, allocations: 27.31 kB / 0.5431 GB, free: 110.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01573/3.615, allocations: 3.779 MB / 0.5468 GB, free: 109.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/3.616, allocations: 6.469 kB / 0.5468 GB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/3.616, allocations: 83.72 kB / 0.5469 GB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/3.616, allocations: 132.2 kB / 0.547 GB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006463/3.622, allocations: 0.9253 MB / 0.5479 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001834/3.623, allocations: 173.2 kB / 0.5481 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004696/3.627, allocations: 127.3 kB / 0.5482 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/3.628, allocations: 243.8 kB / 0.5484 GB, free: 109.1 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: 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.0009299/3.629, allocations: 342.2 kB / 0.5488 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/3.631, allocations: 208.5 kB / 0.549 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/3.634, allocations: 0.9687 MB / 0.5499 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/3.634, allocations: 9.281 kB / 0.5499 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-05/3.634, allocations: 8.719 kB / 0.5499 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/3.634, allocations: 9.484 kB / 0.5499 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/3.648, allocations: 4.828 MB / 0.5547 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-05/3.648, allocations: 18.59 kB / 0.5547 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/3.65, allocations: 243.3 kB / 0.5549 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.064e-05/3.651, allocations: 27.97 kB / 0.5549 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/3.651, allocations: 32.81 kB / 0.555 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.025e-05/3.651, allocations: 36.52 kB / 0.555 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.85e-05/3.651, allocations: 28.97 kB / 0.555 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003803/3.655, allocations: 3.596 MB / 0.5585 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004343/3.659, allocations: 3.996 MB / 0.5624 GB, free: 96.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008617/3.66, allocations: 311.5 kB / 0.5627 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/3.66, allocations: 31.27 kB / 0.5628 GB, free: 96.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/3.662, allocations: 27.8 kB / 0.5628 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/3.662, allocations: 120.4 kB / 0.5629 GB, free: 96.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/3.662, allocations: 67.19 kB / 0.563 GB, free: 96.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003043/3.666, allocations: 1.384 MB / 0.5643 GB, free: 95.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01029/3.676, allocations: 0.5952 MB / 0.5649 GB, free: 94.57 MB / 410.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.0007871/3.677, allocations: 169.3 kB / 0.5651 GB, free: 94.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00807/3.685, allocations: 2.308 MB / 0.5673 GB, free: 92.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.023e-05/3.685, allocations: 4.25 kB / 0.5673 GB, free: 92.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002021/3.687, allocations: 0.5927 MB / 0.5679 GB, free: 91.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/3.69, allocations: 227.1 kB / 0.5681 GB, free: 91.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02499/3.716, allocations: 5.992 MB / 0.574 GB, free: 85.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01298/3.729, allocations: 3.225 MB / 0.5771 GB, free: 83.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.043e-06/3.729, allocations: 0 / 0.5771 GB, free: 83.32 MB / 410.7 MB