Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_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.004/2.004, allocations: 209.3 MB / 216.3 MB, free: 4.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1481/2.152, allocations: 51.03 MB / 267.3 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/2.449, allocations: 48.7 MB / 316 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/2.651, allocations: 92.83 MB / 408.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/2.651, allocations: 71.97 kB / 408.9 MB, free: 4.121 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.5731/3.224, allocations: 75.44 MB / 484.3 MB, free: 84.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/3.224, allocations: 8.344 kB / 484.3 MB, free: 84.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009765/3.234, allocations: 0.6315 MB / 485 MB, free: 83.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/3.246, allocations: 2.189 MB / 487.2 MB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/3.246, allocations: 128 kB / 487.3 MB, free: 81.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002423/3.249, allocations: 220 kB / 487.5 MB, free: 81.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01991/3.269, allocations: 5.328 MB / 492.8 MB, free: 75.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02661/3.295, allocations: 6.98 MB / 499.8 MB, free: 68.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/3.296, allocations: 15.81 kB / 499.8 MB, free: 68.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/3.297, allocations: 16 kB / 499.8 MB, free: 68.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003619/3.301, allocations: 0.8066 MB / 0.4889 GB, free: 67.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07813/3.379, allocations: 26.01 MB / 0.5143 GB, free: 41.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/3.383, allocations: 1.121 MB / 0.5154 GB, free: 40.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002373/3.386, allocations: 0.755 MB / 0.5161 GB, free: 39.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01842/3.404, allocations: 5.99 MB / 0.522 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/3.404, allocations: 42.97 kB / 0.522 GB, free: 32.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 5.951e-06/3.404, allocations: 0 / 0.522 GB, free: 32.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=76): time 0.02644/3.431, allocations: 4.746 MB / 0.5267 GB, free: 28.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/3.431, allocations: 137.2 kB / 0.5268 GB, free: 27.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006324/3.437, allocations: 1.948 MB / 0.5287 GB, free: 25.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002282/3.437, allocations: 25.7 kB / 0.5287 GB, free: 25.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002538/3.44, allocations: 2.346 MB / 0.531 GB, free: 23.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005868/3.441, allocations: 320.2 kB / 0.5313 GB, free: 23.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/3.441, allocations: 0 / 0.5313 GB, free: 23.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003688/3.441, allocations: 466.1 kB / 0.5318 GB, free: 22.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/3.445, allocations: 0.8548 MB / 0.5326 GB, free: 21.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005593/3.45, allocations: 3.237 MB / 0.5358 GB, free: 17.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005381/3.456, allocations: 1.639 MB / 0.5374 GB, free: 15.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-05/3.456, allocations: 24 kB / 0.5374 GB, free: 15.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01431/3.47, allocations: 3.519 MB / 0.5408 GB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/3.47, allocations: 4 kB / 0.5408 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002312/3.471, allocations: 84 kB / 0.5409 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/3.471, allocations: 128.7 kB / 0.541 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007864/3.479, allocations: 0.9007 MB / 0.5419 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001864/3.479, allocations: 171.3 kB / 0.5421 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006381/3.485, allocations: 95.83 kB / 0.5422 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/3.487, allocations: 232 kB / 0.5424 GB, free: 10.59 MB / 378.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.00121/3.488, allocations: 334 kB / 0.5427 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007288/3.489, allocations: 197.4 kB / 0.5429 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/3.492, allocations: 0.9274 MB / 0.5438 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/3.492, allocations: 8 kB / 0.5438 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/3.492, allocations: 0 / 0.5438 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/3.492, allocations: 7.984 kB / 0.5438 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/3.507, allocations: 4.388 MB / 0.5481 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/3.508, allocations: 16 kB / 0.5481 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/3.509, allocations: 203.6 kB / 0.5483 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.507e-05/3.51, allocations: 24.69 kB / 0.5483 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/3.51, allocations: 31.98 kB / 0.5484 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.761e-05/3.51, allocations: 31.88 kB / 0.5484 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.074e-05/3.51, allocations: 35.77 kB / 0.5484 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004313/3.514, allocations: 2.853 MB / 0.5512 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005733/3.52, allocations: 3.263 MB / 0.5544 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/3.521, allocations: 290.3 kB / 0.5547 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/3.523, allocations: 27.92 kB / 0.5547 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/3.525, allocations: 16 kB / 0.5547 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004554/3.526, allocations: 111.5 kB / 0.5548 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002122/3.526, allocations: 48 kB / 0.5549 GB, free: 11.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.005792/3.532, allocations: 1.289 MB / 0.5561 GB, free: 10.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009422/3.541, allocations: 0.543 MB / 0.5567 GB, free: 10.01 MB / 394.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.0008306/3.542, allocations: 174.6 kB / 0.5568 GB, free: 9.832 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007853/3.55, allocations: 2.057 MB / 0.5588 GB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.104e-05/3.55, allocations: 4 kB / 0.5588 GB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001675/3.552, allocations: 459.5 kB / 0.5593 GB, free: 7.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/3.555, allocations: 208.2 kB / 0.5595 GB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02753/3.583, allocations: 5.31 MB / 0.5647 GB, free: 1.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01108/3.594, allocations: 2.978 MB / 0.5676 GB, free: 14.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.833e-06/3.594, allocations: 0 / 0.5676 GB, free: 14.53 MB / 410.7 MB