Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSP",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.28/2.28, allocations: 209.3 MB / 216.3 MB, free: 6.777 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2792/2.56, allocations: 51.03 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/2.673, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3718/3.045, allocations: 91.88 MB / 407.9 MB, free: 1.051 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/3.045, allocations: 85.05 kB / 407.9 MB, free: 1.008 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.3149/3.36, allocations: 55 MB / 462.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/3.36, allocations: 12 kB / 462.9 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006106/3.367, allocations: 431.8 kB / 463.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008517/3.375, allocations: 1.52 MB / 464.9 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/3.376, allocations: 92 kB / 465 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/3.377, allocations: 171.9 kB / 465.1 MB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01704/3.394, allocations: 3.453 MB / 468.6 MB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/3.411, allocations: 4.705 MB / 473.3 MB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/3.411, allocations: 11.88 kB / 473.3 MB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006456/3.412, allocations: 12 kB / 473.3 MB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001458/3.413, allocations: 0.4928 MB / 473.8 MB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2298/3.643, allocations: 18.35 MB / 492.2 MB, free: 151.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/3.645, allocations: 0.6021 MB / 492.8 MB, free: 151.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008439/3.646, allocations: 334.5 kB / 493.1 MB, free: 151.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003009/3.649, allocations: 1.762 MB / 494.9 MB, free: 150.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/3.649, allocations: 41.31 kB / 494.9 MB, free: 150.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 6.422e-06/3.649, allocations: 0 / 494.9 MB, free: 150.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.03306/3.682, allocations: 3.99 MB / 498.9 MB, free: 149.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/3.682, allocations: 89.02 kB / 499 MB, free: 149.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/3.687, allocations: 1.365 MB / 0.4886 GB, free: 149.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/3.687, allocations: 25.7 kB / 0.4886 GB, free: 149.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00169/3.689, allocations: 1.601 MB / 0.4902 GB, free: 148.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006131/3.69, allocations: 342.6 kB / 0.4905 GB, free: 148.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/3.69, allocations: 0 / 0.4905 GB, free: 148.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004595/3.69, allocations: 474.5 kB / 0.491 GB, free: 148.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/3.694, allocations: 0.7045 MB / 0.4917 GB, free: 148.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00437/3.698, allocations: 2.272 MB / 0.4939 GB, free: 146.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005942/3.704, allocations: 1.443 MB / 0.4953 GB, free: 146.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.843e-05/3.704, allocations: 14.88 kB / 0.4953 GB, free: 146.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.01305/3.717, allocations: 2.849 MB / 0.4981 GB, free: 146 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/3.717, allocations: 3.5 kB / 0.4981 GB, free: 146 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/3.717, allocations: 62.09 kB / 0.4982 GB, free: 146 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/3.718, allocations: 80.78 kB / 0.4982 GB, free: 146 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006058/3.724, allocations: 0.6485 MB / 0.4989 GB, free: 146 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001663/3.724, allocations: 109.7 kB / 0.499 GB, free: 146 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004581/3.729, allocations: 72.08 kB / 0.499 GB, free: 146 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009058/3.73, allocations: 162.8 kB / 0.4992 GB, free: 146 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (356): * Single equations (assignments): 356 * 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.001557/3.731, allocations: 268.2 kB / 0.4995 GB, free: 145.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/3.732, allocations: 148.5 kB / 0.4996 GB, free: 145.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004806/3.737, allocations: 1.196 MB / 0.5008 GB, free: 145.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/3.737, allocations: 11.34 kB / 0.5008 GB, free: 145.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/3.737, allocations: 0 / 0.5008 GB, free: 145.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/3.737, allocations: 6.422 kB / 0.5008 GB, free: 145.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/3.755, allocations: 4.615 MB / 0.5053 GB, free: 144.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/3.755, allocations: 12.62 kB / 0.5053 GB, free: 144.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/3.756, allocations: 180.8 kB / 0.5055 GB, free: 144.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-05/3.756, allocations: 20.59 kB / 0.5055 GB, free: 144.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/3.756, allocations: 20.17 kB / 0.5055 GB, free: 144.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.586e-05/3.756, allocations: 27.16 kB / 0.5055 GB, free: 144.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.79e-05/3.756, allocations: 24.12 kB / 0.5056 GB, free: 144.3 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003858/3.76, allocations: 2.39 MB / 0.5079 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004095/3.765, allocations: 2.779 MB / 0.5106 GB, free: 140.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005704/3.765, allocations: 231.2 kB / 0.5108 GB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/3.766, allocations: 22.53 kB / 0.5108 GB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/3.767, allocations: 14.62 kB / 0.5109 GB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/3.767, allocations: 87.44 kB / 0.5109 GB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/3.767, allocations: 48.61 kB / 0.511 GB, free: 139.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.00212/3.769, allocations: 0.9161 MB / 0.5119 GB, free: 139.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00502/3.775, allocations: 445.1 kB / 0.5123 GB, free: 139.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.0006253/3.775, allocations: 184.2 kB / 0.5125 GB, free: 139.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005528/3.781, allocations: 1.646 MB / 0.5141 GB, free: 139.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.988e-05/3.781, allocations: 0 / 0.5141 GB, free: 139.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/3.783, allocations: 435.6 kB / 0.5145 GB, free: 139.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/3.786, allocations: 169.2 kB / 0.5147 GB, free: 139.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/3.803, allocations: 3.937 MB / 0.5185 GB, free: 137.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005371/3.809, allocations: 2.356 MB / 0.5208 GB, free: 136.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.435e-06/3.809, allocations: 1.125 kB / 0.5208 GB, free: 136.6 MB / 410.7 MB