Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_1_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.08/2.08, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2479/2.328, allocations: 51.05 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/2.469, allocations: 48.68 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.348/2.817, allocations: 93.84 MB / 409.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/2.817, allocations: 86.89 kB / 409.9 MB, free: 15.09 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.3565/3.174, allocations: 76.82 MB / 486.7 MB, free: 5.215 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/3.174, allocations: 12 kB / 486.7 MB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007329/3.181, allocations: 0.6387 MB / 487.4 MB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009181/3.19, allocations: 2.208 MB / 489.6 MB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/3.191, allocations: 124 kB / 489.7 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/3.193, allocations: 220 kB / 489.9 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1973/3.39, allocations: 5.559 MB / 495.5 MB, free: 142.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02256/3.413, allocations: 7.211 MB / 0.4909 GB, free: 141.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/3.413, allocations: 18.62 kB / 0.4909 GB, free: 141.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001662/3.415, allocations: 10.91 kB / 0.4909 GB, free: 141.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00312/3.418, allocations: 0.8556 MB / 0.4918 GB, free: 141.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06717/3.485, allocations: 27.74 MB / 0.5189 GB, free: 128.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/3.488, allocations: 1.37 MB / 0.5202 GB, free: 128.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/3.491, allocations: 1.021 MB / 0.5212 GB, free: 127.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01577/3.506, allocations: 7.394 MB / 0.5284 GB, free: 122.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/3.507, allocations: 45.78 kB / 0.5285 GB, free: 122.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 4.489e-06/3.507, allocations: 0 / 0.5285 GB, free: 122.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.02566/3.532, allocations: 5.872 MB / 0.5342 GB, free: 120.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/3.532, allocations: 144.3 kB / 0.5343 GB, free: 120 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004892/3.537, allocations: 2.001 MB / 0.5363 GB, free: 119.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000231/3.538, allocations: 28.8 kB / 0.5363 GB, free: 119.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002081/3.54, allocations: 2.367 MB / 0.5386 GB, free: 117.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009597/3.541, allocations: 362.1 kB / 0.539 GB, free: 117.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007459/3.541, allocations: 0 / 0.539 GB, free: 117.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007171/3.542, allocations: 473.2 kB / 0.5394 GB, free: 116.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005641/3.548, allocations: 1.002 MB / 0.5404 GB, free: 116.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007103/3.555, allocations: 3.47 MB / 0.5438 GB, free: 112.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007591/3.563, allocations: 1.878 MB / 0.5456 GB, free: 112.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001725/3.563, allocations: 26.72 kB / 0.5456 GB, free: 112.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.01966/3.583, allocations: 3.931 MB / 0.5495 GB, free: 110.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/3.583, allocations: 5.719 kB / 0.5495 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002544/3.583, allocations: 88.38 kB / 0.5496 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/3.583, allocations: 130.8 kB / 0.5497 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009405/3.593, allocations: 0.9574 MB / 0.5506 GB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002498/3.593, allocations: 177.1 kB / 0.5508 GB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006466/3.6, allocations: 107.3 kB / 0.5509 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/3.601, allocations: 240 kB / 0.5511 GB, free: 110.2 MB / 410.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.0026/3.603, allocations: 342.3 kB / 0.5515 GB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005826/3.604, allocations: 209.3 kB / 0.5517 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/3.607, allocations: 1.142 MB / 0.5528 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/3.607, allocations: 8 kB / 0.5528 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/3.607, allocations: 0 / 0.5528 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/3.607, allocations: 7.094 kB / 0.5528 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/3.62, allocations: 4.708 MB / 0.5574 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/3.62, allocations: 16 kB / 0.5574 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/3.621, allocations: 224.7 kB / 0.5576 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-05/3.621, allocations: 24 kB / 0.5576 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/3.622, allocations: 20 kB / 0.5577 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.38e-05/3.622, allocations: 35.48 kB / 0.5577 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-05/3.622, allocations: 20.44 kB / 0.5577 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004731/3.627, allocations: 2.968 MB / 0.5606 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005581/3.632, allocations: 3.376 MB / 0.5639 GB, free: 96.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/3.633, allocations: 302.6 kB / 0.5642 GB, free: 96.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007477/3.634, allocations: 23.28 kB / 0.5642 GB, free: 96.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/3.637, allocations: 23.23 kB / 0.5642 GB, free: 96.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/3.638, allocations: 110.3 kB / 0.5643 GB, free: 95.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/3.638, allocations: 48 kB / 0.5644 GB, free: 95.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.005789/3.644, allocations: 1.319 MB / 0.5657 GB, free: 94.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009533/3.654, allocations: 0.5774 MB / 0.5662 GB, free: 94.14 MB / 410.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.0007719/3.654, allocations: 179.1 kB / 0.5664 GB, free: 93.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005703/3.66, allocations: 2.313 MB / 0.5687 GB, free: 91.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/3.66, allocations: 0 / 0.5687 GB, free: 91.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/3.661, allocations: 0.5182 MB / 0.5692 GB, free: 91.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/3.663, allocations: 214.3 kB / 0.5694 GB, free: 91.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/3.679, allocations: 5.432 MB / 0.5747 GB, free: 85.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008344/3.687, allocations: 2.993 MB / 0.5776 GB, free: 83.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/3.688, allocations: 0 / 0.5776 GB, free: 83.65 MB / 410.7 MB