Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSP",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.388/2.388, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1846/2.572, allocations: 57.2 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/2.84, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/3.256, allocations: 99.33 MB / 453.3 MB, free: 33.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/3.257, allocations: 74.05 kB / 453.4 MB, free: 33.3 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.3983/3.655, allocations: 75.44 MB / 0.5164 GB, free: 6.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/3.655, allocations: 12 kB / 0.5164 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006772/3.662, allocations: 0.6271 MB / 0.517 GB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/3.674, allocations: 2.189 MB / 0.5192 GB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005724/3.675, allocations: 124 kB / 0.5193 GB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002697/3.677, allocations: 224 kB / 0.5195 GB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01642/3.694, allocations: 5.324 MB / 0.5247 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02764/3.722, allocations: 6.984 MB / 0.5315 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002057/3.722, allocations: 19.81 kB / 0.5316 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001565/3.723, allocations: 16 kB / 0.5316 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004089/3.728, allocations: 0.8036 MB / 0.5324 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08544/3.813, allocations: 25.98 MB / 0.5577 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/3.817, allocations: 1.119 MB / 0.5588 GB, free: 9.508 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/3.819, allocations: 0.7511 MB / 0.5596 GB, free: 8.746 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01947/3.838, allocations: 5.991 MB / 0.5654 GB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.969e-05/3.839, allocations: 47 kB / 0.5654 GB, free: 2.211 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 6.823e-06/3.839, allocations: 0 / 0.5654 GB, free: 2.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=76): time 0.01984/3.858, allocations: 4.754 MB / 0.5701 GB, free: 13.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/3.859, allocations: 137.2 kB / 0.5702 GB, free: 13.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005278/3.864, allocations: 1.944 MB / 0.5721 GB, free: 11.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/3.864, allocations: 25.7 kB / 0.5721 GB, free: 11.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002554/3.867, allocations: 2.35 MB / 0.5744 GB, free: 8.844 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005728/3.867, allocations: 320.2 kB / 0.5747 GB, free: 8.527 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/3.868, allocations: 0 / 0.5747 GB, free: 8.527 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004146/3.868, allocations: 466.1 kB / 0.5752 GB, free: 8.066 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002738/3.871, allocations: 0.8548 MB / 0.576 GB, free: 7.211 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005412/3.876, allocations: 3.233 MB / 0.5792 GB, free: 2.781 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/3.882, allocations: 1.639 MB / 0.5808 GB, free: 1.141 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/3.882, allocations: 28 kB / 0.5808 GB, free: 1.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01767/3.899, allocations: 3.515 MB / 0.5842 GB, free: 13.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/3.9, allocations: 11.94 kB / 0.5843 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004989/3.9, allocations: 84 kB / 0.5843 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/3.901, allocations: 128.8 kB / 0.5845 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00635/3.907, allocations: 0.9007 MB / 0.5853 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001735/3.907, allocations: 167.4 kB / 0.5855 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00621/3.913, allocations: 95.73 kB / 0.5856 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/3.915, allocations: 236 kB / 0.5858 GB, free: 11.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 37 (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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],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 (488): * Single equations (assignments): 488 * 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.00141/3.916, allocations: 330 kB / 0.5861 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/3.918, allocations: 193.5 kB / 0.5863 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/3.922, allocations: 0.9429 MB / 0.5872 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-05/3.922, allocations: 12 kB / 0.5872 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/3.922, allocations: 0 / 0.5872 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/3.922, allocations: 7.984 kB / 0.5873 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/3.936, allocations: 4.374 MB / 0.5915 GB, free: 5.793 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/3.936, allocations: 16 kB / 0.5915 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/3.937, allocations: 203.6 kB / 0.5917 GB, free: 5.578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.38e-05/3.937, allocations: 24.75 kB / 0.5918 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/3.937, allocations: 27.98 kB / 0.5918 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.401e-05/3.938, allocations: 31.88 kB / 0.5918 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.099e-05/3.938, allocations: 31.86 kB / 0.5918 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004093/3.942, allocations: 2.845 MB / 0.5946 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004558/3.946, allocations: 3.263 MB / 0.5978 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/3.947, allocations: 290.3 kB / 0.5981 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005369/3.948, allocations: 27.98 kB / 0.5981 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/3.949, allocations: 16 kB / 0.5981 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/3.95, allocations: 111.5 kB / 0.5982 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/3.95, allocations: 48 kB / 0.5983 GB, free: 13.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004713/3.955, allocations: 1.289 MB / 0.5995 GB, free: 11.94 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006596/3.961, allocations: 0.5469 MB / 0.6001 GB, free: 11.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.0006244/3.962, allocations: 174.7 kB / 0.6002 GB, free: 11.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005799/3.968, allocations: 2.049 MB / 0.6022 GB, free: 9.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.991e-05/3.968, allocations: 0 / 0.6022 GB, free: 9.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/3.969, allocations: 475.4 kB / 0.6027 GB, free: 8.719 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/3.971, allocations: 212.6 kB / 0.6029 GB, free: 8.508 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/3.989, allocations: 5.318 MB / 0.6081 GB, free: 2.906 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1978/4.187, allocations: 2.973 MB / 0.611 GB, free: 161.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.264e-06/4.187, allocations: 0 / 0.611 GB, free: 161.4 MB / 474.7 MB