Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSR",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.168/2.168, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2628/2.431, allocations: 51.04 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/2.551, allocations: 48.68 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/2.909, allocations: 92.93 MB / 408.9 MB, free: 68 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/2.91, allocations: 84.28 kB / 409 MB, free: 24 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.2838/3.193, allocations: 56.88 MB / 465.9 MB, free: 10.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/3.194, allocations: 8 kB / 465.9 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/3.198, allocations: 435.9 kB / 466.3 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006554/3.205, allocations: 1.548 MB / 467.8 MB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/3.205, allocations: 88 kB / 467.9 MB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/3.206, allocations: 171.9 kB / 468.1 MB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01169/3.218, allocations: 3.882 MB / 472 MB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/3.234, allocations: 5.026 MB / 477 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/3.234, allocations: 19.88 kB / 477 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008212/3.235, allocations: 8 kB / 477 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001657/3.237, allocations: 0.5436 MB / 477.6 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.231/3.468, allocations: 20.19 MB / 497.8 MB, free: 142.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/3.471, allocations: 0.8278 MB / 498.6 MB, free: 142.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/3.473, allocations: 0.6473 MB / 499.2 MB, free: 142.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01561/3.489, allocations: 4.657 MB / 0.4921 GB, free: 140.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/3.489, allocations: 47.17 kB / 0.4921 GB, free: 140.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=64): time 6.171e-06/3.489, allocations: 0 / 0.4921 GB, free: 140.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.04809/3.537, allocations: 5.638 MB / 0.4976 GB, free: 139.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/3.538, allocations: 85.14 kB / 0.4977 GB, free: 139.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005139/3.543, allocations: 1.435 MB / 0.4991 GB, free: 139.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003075/3.543, allocations: 26.58 kB / 0.4992 GB, free: 139.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/3.545, allocations: 1.636 MB / 0.5008 GB, free: 138.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006864/3.546, allocations: 332.3 kB / 0.5011 GB, free: 138.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/3.546, allocations: 0 / 0.5011 GB, free: 138.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004788/3.547, allocations: 476.9 kB / 0.5015 GB, free: 138.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/3.55, allocations: 0.8662 MB / 0.5024 GB, free: 138.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005011/3.555, allocations: 2.5 MB / 0.5048 GB, free: 136 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007582/3.563, allocations: 1.681 MB / 0.5065 GB, free: 136 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.894e-05/3.563, allocations: 18.31 kB / 0.5065 GB, free: 136 MB / 410.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.0159/3.579, allocations: 3.267 MB / 0.5097 GB, free: 135.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/3.579, allocations: 3.656 kB / 0.5097 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/3.579, allocations: 60.84 kB / 0.5097 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/3.58, allocations: 84.75 kB / 0.5098 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007615/3.587, allocations: 0.6954 MB / 0.5105 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001645/3.587, allocations: 121.6 kB / 0.5106 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005497/3.593, allocations: 76.62 kB / 0.5107 GB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/3.594, allocations: 177 kB / 0.5108 GB, free: 135.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (366): * Single equations (assignments): 366 * 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.00105/3.595, allocations: 269.2 kB / 0.5111 GB, free: 135.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006622/3.596, allocations: 149 kB / 0.5112 GB, free: 135.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007194/3.603, allocations: 1.513 MB / 0.5127 GB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/3.603, allocations: 10.12 kB / 0.5127 GB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/3.603, allocations: 3.906 kB / 0.5127 GB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/3.603, allocations: 3.797 kB / 0.5127 GB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/3.622, allocations: 4.122 MB / 0.5168 GB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/3.622, allocations: 7.141 kB / 0.5168 GB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/3.626, allocations: 196.2 kB / 0.517 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.255e-05/3.626, allocations: 10.31 kB / 0.517 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/3.626, allocations: 7 kB / 0.517 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/3.626, allocations: 14.56 kB / 0.517 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/3.626, allocations: 14.55 kB / 0.517 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006094/3.632, allocations: 1.83 MB / 0.5188 GB, free: 133.3 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006395/3.639, allocations: 2.237 MB / 0.521 GB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008544/3.64, allocations: 219.8 kB / 0.5212 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007489/3.64, allocations: 3.969 kB / 0.5212 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/3.643, allocations: 33.09 kB / 0.5212 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/3.643, allocations: 57.28 kB / 0.5213 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/3.643, allocations: 30.69 kB / 0.5213 GB, free: 131.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003638/3.647, allocations: 0.9601 MB / 0.5222 GB, free: 131.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005265/3.652, allocations: 477.8 kB / 0.5227 GB, free: 131.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0007207/3.653, allocations: 178.3 kB / 0.5229 GB, free: 131 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005181/3.658, allocations: 2.014 MB / 0.5248 GB, free: 130.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/3.658, allocations: 0 / 0.5248 GB, free: 130.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/3.66, allocations: 0.5759 MB / 0.5254 GB, free: 130 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/3.661, allocations: 141.3 kB / 0.5255 GB, free: 130 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/3.676, allocations: 3.93 MB / 0.5294 GB, free: 128.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005974/3.682, allocations: 2.35 MB / 0.5317 GB, free: 127.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.823e-06/3.682, allocations: 0 / 0.5317 GB, free: 127.3 MB / 410.7 MB