Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSR",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.4/2.4, allocations: 234.9 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1941/2.594, allocations: 57.22 MB / 299.1 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/2.884, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/3.29, allocations: 100.1 MB / 454.1 MB, free: 33.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/3.29, allocations: 85.12 kB / 454.2 MB, free: 33.66 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.3381/3.628, allocations: 76.8 MB / 0.5185 GB, free: 3.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/3.629, allocations: 16 kB / 0.5186 GB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007329/3.636, allocations: 0.6387 MB / 0.5192 GB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008549/3.644, allocations: 2.204 MB / 0.5213 GB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/3.645, allocations: 124 kB / 0.5215 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/3.647, allocations: 220 kB / 0.5217 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01705/3.664, allocations: 5.559 MB / 0.5271 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02876/3.693, allocations: 7.212 MB / 0.5341 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002789/3.693, allocations: 19.81 kB / 0.5342 GB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002837/3.696, allocations: 8 kB / 0.5342 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005057/3.701, allocations: 0.8583 MB / 0.535 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0751/3.777, allocations: 27.74 MB / 0.5621 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/3.78, allocations: 1.377 MB / 0.5634 GB, free: 4.789 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/3.783, allocations: 1.025 MB / 0.5644 GB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01956/3.803, allocations: 7.388 MB / 0.5717 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/3.803, allocations: 47.16 kB / 0.5717 GB, free: 11.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 4.328e-06/3.803, allocations: 0 / 0.5717 GB, free: 11.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=87): time 0.03639/3.839, allocations: 5.863 MB / 0.5774 GB, free: 5.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/3.839, allocations: 153 kB / 0.5776 GB, free: 5.672 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006663/3.846, allocations: 1.992 MB / 0.5795 GB, free: 3.652 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002513/3.846, allocations: 25.7 kB / 0.5795 GB, free: 3.621 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003139/3.85, allocations: 2.377 MB / 0.5819 GB, free: 1.207 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007746/3.85, allocations: 355.6 kB / 0.5822 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004723/3.851, allocations: 0 / 0.5822 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006126/3.852, allocations: 474.6 kB / 0.5827 GB, free: 392 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003803/3.855, allocations: 1.008 MB / 0.5836 GB, free: 15.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006877/3.862, allocations: 3.466 MB / 0.587 GB, free: 10.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007703/3.87, allocations: 1.873 MB / 0.5889 GB, free: 8.754 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.683e-05/3.87, allocations: 28 kB / 0.5889 GB, free: 8.727 MB / 458.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.01764/3.888, allocations: 3.933 MB / 0.5927 GB, free: 4.789 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/3.888, allocations: 4 kB / 0.5927 GB, free: 4.785 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/3.888, allocations: 88 kB / 0.5928 GB, free: 4.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002802/3.888, allocations: 132 kB / 0.5929 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008446/3.897, allocations: 0.9598 MB / 0.5939 GB, free: 3.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002591/3.897, allocations: 179.3 kB / 0.594 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006436/3.904, allocations: 107.8 kB / 0.5941 GB, free: 3.328 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009413/3.905, allocations: 240 kB / 0.5944 GB, free: 3.094 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (513): * Single equations (assignments): 513 * 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.001169/3.906, allocations: 342.7 kB / 0.5947 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000792/3.907, allocations: 201.5 kB / 0.5949 GB, free: 2.551 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/3.911, allocations: 1.142 MB / 0.596 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/3.911, allocations: 8 kB / 0.596 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/3.911, allocations: 4 kB / 0.596 GB, free: 1.387 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/3.911, allocations: 7.891 kB / 0.596 GB, free: 1.379 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/3.928, allocations: 4.708 MB / 0.6006 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/3.928, allocations: 16 kB / 0.6006 GB, free: 12.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/3.929, allocations: 219.6 kB / 0.6009 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.175e-05/3.929, allocations: 24.75 kB / 0.6009 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.093e-05/3.93, allocations: 20 kB / 0.6009 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.789e-05/3.93, allocations: 35.92 kB / 0.6009 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.149e-05/3.93, allocations: 27.88 kB / 0.601 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004844/3.934, allocations: 2.965 MB / 0.6039 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004864/3.939, allocations: 3.368 MB / 0.6071 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008409/3.94, allocations: 290.3 kB / 0.6074 GB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004856/3.941, allocations: 23.98 kB / 0.6074 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/3.942, allocations: 23.98 kB / 0.6075 GB, free: 3.742 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/3.943, allocations: 111.9 kB / 0.6076 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/3.943, allocations: 56 kB / 0.6076 GB, free: 3.578 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003646/3.946, allocations: 1.313 MB / 0.6089 GB, free: 2.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006691/3.953, allocations: 0.582 MB / 0.6095 GB, free: 1.668 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 (120): * Single equations (assignments): 120 * 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.0007714/3.954, allocations: 170.7 kB / 0.6096 GB, free: 1.492 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1792/4.133, allocations: 2.315 MB / 0.6119 GB, free: 162.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/4.133, allocations: 3.562 kB / 0.6119 GB, free: 162.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/4.135, allocations: 0.5183 MB / 0.6124 GB, free: 162.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/4.136, allocations: 220.5 kB / 0.6126 GB, free: 162.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/4.154, allocations: 5.435 MB / 0.6179 GB, free: 160.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007178/4.161, allocations: 2.986 MB / 0.6208 GB, free: 160.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.515e-06/4.161, allocations: 2 kB / 0.6208 GB, free: 160.2 MB / 474.7 MB