Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUPS",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.184/2.184, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1693/2.353, allocations: 57.22 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/2.637, allocations: 54.83 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/2.811, allocations: 91.28 MB / 445.3 MB, free: 2.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/2.811, allocations: 79.89 kB / 445.3 MB, free: 1.953 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.3809/3.192, allocations: 35.42 MB / 480.8 MB, free: 64.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/3.192, allocations: 8 kB / 480.8 MB, free: 64.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00366/3.196, allocations: 360.7 kB / 481.1 MB, free: 64.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/3.2, allocations: 1.127 MB / 482.2 MB, free: 63.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/3.201, allocations: 64 kB / 482.3 MB, free: 63.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/3.202, allocations: 115.9 kB / 482.4 MB, free: 62.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007478/3.209, allocations: 2.797 MB / 485.2 MB, free: 60.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/3.219, allocations: 3.816 MB / 489 MB, free: 56.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.834e-05/3.22, allocations: 7.938 kB / 489 MB, free: 56.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/3.22, allocations: 8 kB / 489 MB, free: 56.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001561/3.221, allocations: 0.5268 MB / 489.6 MB, free: 55.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03239/3.254, allocations: 15.63 MB / 0.4934 GB, free: 39.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/3.256, allocations: 0.8371 MB / 0.4942 GB, free: 38.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/3.257, allocations: 0.6716 MB / 0.4948 GB, free: 37.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008356/3.266, allocations: 3.608 MB / 0.4984 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/3.266, allocations: 38.56 kB / 0.4984 GB, free: 34.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 4.078e-06/3.266, allocations: 0 / 0.4984 GB, free: 34.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.00701/3.273, allocations: 1.104 MB / 0.4995 GB, free: 32.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/3.273, allocations: 106.8 kB / 0.4996 GB, free: 32.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/3.276, allocations: 1.286 MB / 0.5008 GB, free: 31.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.893e-05/3.276, allocations: 29.64 kB / 0.5009 GB, free: 31.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/3.277, allocations: 1.412 MB / 0.5022 GB, free: 30.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/3.278, allocations: 138.5 kB / 0.5024 GB, free: 29.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/3.278, allocations: 0 / 0.5024 GB, free: 29.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002874/3.278, allocations: 443.6 kB / 0.5028 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/3.28, allocations: 488.7 kB / 0.5033 GB, free: 28.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002684/3.283, allocations: 2.077 MB / 0.5053 GB, free: 26.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003267/3.286, allocations: 0.9713 MB / 0.5062 GB, free: 25.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.477e-05/3.286, allocations: 16 kB / 0.5062 GB, free: 25.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.006547/3.293, allocations: 2.147 MB / 0.5083 GB, free: 22.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/3.293, allocations: 4 kB / 0.5083 GB, free: 22.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.81e-05/3.293, allocations: 56 kB / 0.5084 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/3.293, allocations: 84 kB / 0.5085 GB, free: 22.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/3.296, allocations: 0.5692 MB / 0.509 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.752e-05/3.297, allocations: 111.6 kB / 0.5091 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004032/3.301, allocations: 288.9 kB / 0.5094 GB, free: 21.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008053/3.301, allocations: 152 kB / 0.5096 GB, free: 21.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * Number of states: 0 () * Number of discrete variables: 30 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (307): * Single equations (assignments): 307 * 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.0006522/3.302, allocations: 254.1 kB / 0.5098 GB, free: 21.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/3.303, allocations: 122.4 kB / 0.5099 GB, free: 21.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/3.303, allocations: 131.6 kB / 0.51 GB, free: 21.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/3.303, allocations: 4 kB / 0.5101 GB, free: 21.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/3.303, allocations: 4 kB / 0.5101 GB, free: 21.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/3.303, allocations: 3.984 kB / 0.5101 GB, free: 21.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007683/3.311, allocations: 2.567 MB / 0.5126 GB, free: 18.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/3.311, allocations: 8 kB / 0.5126 GB, free: 18.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/3.311, allocations: 72.72 kB / 0.5126 GB, free: 18.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.752e-05/3.311, allocations: 12 kB / 0.5127 GB, free: 18.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/3.311, allocations: 16 kB / 0.5127 GB, free: 18.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.297e-05/3.312, allocations: 15.94 kB / 0.5127 GB, free: 18.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.981e-05/3.312, allocations: 15.92 kB / 0.5127 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001742/3.313, allocations: 1.203 MB / 0.5139 GB, free: 16.68 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001761/3.315, allocations: 1.593 MB / 0.5154 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/3.316, allocations: 203.4 kB / 0.5156 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/3.316, allocations: 15.98 kB / 0.5156 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/3.317, allocations: 15.98 kB / 0.5157 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/3.317, allocations: 51.72 kB / 0.5157 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/3.317, allocations: 16 kB / 0.5157 GB, free: 14.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001971/3.319, allocations: 0.8471 MB / 0.5165 GB, free: 13.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003775/3.323, allocations: 457.7 kB / 0.517 GB, free: 13.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0003102/3.324, allocations: 115.1 kB / 0.5171 GB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00287/3.326, allocations: 1.162 MB / 0.5182 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/3.327, allocations: 4 kB / 0.5182 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004109/3.327, allocations: 187.7 kB / 0.5184 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/3.328, allocations: 123.5 kB / 0.5185 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/3.341, allocations: 2.698 MB / 0.5212 GB, free: 8.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004782/3.346, allocations: 1.829 MB / 0.5229 GB, free: 6.762 MB / 378.7 MB Notification: Performance of SimCode: time 2.585e-06/3.346, allocations: 0 / 0.5229 GB, free: 6.762 MB / 378.7 MB