Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",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.233/2.233, allocations: 235 MB / 241.9 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2002/2.433, allocations: 57.2 MB / 299.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/2.738, allocations: 54.84 MB / 354 MB, free: 13.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/3.135, allocations: 97.8 MB / 451.8 MB, free: 32.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/3.136, allocations: 74.75 kB / 451.9 MB, free: 32.47 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: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.5201/3.656, allocations: 111.6 MB / 0.5502 GB, free: 3.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/3.656, allocations: 8 kB / 0.5502 GB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07462/3.73, allocations: 10.03 MB / 0.56 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04392/3.774, allocations: 9.937 MB / 0.5697 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005145/3.775, allocations: 214.7 kB / 0.5699 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002623/3.778, allocations: 283.8 kB / 0.5702 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0214/3.799, allocations: 6.623 MB / 0.5766 GB, free: 8.059 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03916/3.838, allocations: 9.191 MB / 0.5856 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003827/3.839, allocations: 59.41 kB / 0.5857 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001315/3.84, allocations: 16 kB / 0.5857 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003689/3.844, allocations: 1.074 MB / 0.5867 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.296/4.14, allocations: 44.95 MB / 0.6306 GB, free: 117.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/4.153, allocations: 5.856 MB / 0.6364 GB, free: 117.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02591/4.179, allocations: 5.449 MB / 0.6417 GB, free: 117.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05826/4.237, allocations: 13.98 MB / 0.6553 GB, free: 114.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.994e-05/4.237, allocations: 68.16 kB / 0.6554 GB, free: 114.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 5.912e-06/4.237, allocations: 6.844 kB / 0.6554 GB, free: 114.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=396): time 0.3422/4.58, allocations: 52.67 MB / 0.7068 GB, free: 104.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/4.58, allocations: 194.4 kB / 0.707 GB, free: 104.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/4.59, allocations: 3.272 MB / 0.7102 GB, free: 103 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001302/4.591, allocations: 25.7 kB / 0.7102 GB, free: 103 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002543/4.594, allocations: 2.328 MB / 0.7125 GB, free: 101.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002733/4.597, allocations: 1.326 MB / 0.7138 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009712/4.598, allocations: 1.062 kB / 0.7138 GB, free: 100.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004497/4.598, allocations: 0.524 MB / 0.7143 GB, free: 100.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0122/4.61, allocations: 4.054 MB / 0.7183 GB, free: 98.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/4.622, allocations: 6.034 MB / 0.7242 GB, free: 92.17 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/4.634, allocations: 5.027 MB / 0.7291 GB, free: 87.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.421e-05/4.635, allocations: 18.41 kB / 0.7291 GB, free: 87.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.07317/4.708, allocations: 16.52 MB / 0.7452 GB, free: 75.06 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/4.708, allocations: 11.22 kB / 0.7452 GB, free: 75.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.843e-05/4.708, allocations: 64 kB / 0.7453 GB, free: 74.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05165/4.76, allocations: 7.867 MB / 0.753 GB, free: 69.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007933/4.768, allocations: 0.9794 MB / 0.7539 GB, free: 68.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1444/4.912, allocations: 42.76 MB / 0.7957 GB, free: 30.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/4.923, allocations: 259.6 kB / 0.7959 GB, free: 30.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/4.925, allocations: 275.9 kB / 0.7962 GB, free: 30.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (509): * Single equations (assignments): 504 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(14,44.4%) 101,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.002961/4.928, allocations: 319 kB / 0.7965 GB, free: 30 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001833/4.93, allocations: 454.2 kB / 0.7969 GB, free: 29.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06769/4.997, allocations: 15.74 MB / 0.8123 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2838/5.281, allocations: 14.43 MB / 0.8264 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.709e-05/5.281, allocations: 26.59 kB / 0.8264 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/5.281, allocations: 18.75 kB / 0.8264 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1239/5.405, allocations: 31.82 MB / 0.8575 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.463e-05/5.405, allocations: 3.719 kB / 0.8575 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005516/5.411, allocations: 401.5 kB / 0.8579 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05526/5.466, allocations: 7.568 MB / 0.8653 GB, free: 116.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001345/5.468, allocations: 14.28 kB / 0.8653 GB, free: 116.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1093/5.577, allocations: 42.27 MB / 0.9066 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02375/5.601, allocations: 8.679 MB / 0.9151 GB, free: 99.64 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07704/5.678, allocations: 21.8 MB / 0.9364 GB, free: 89.79 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0899/5.768, allocations: 28.62 MB / 0.9643 GB, free: 65.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005566/5.774, allocations: 1.28 MB / 0.9656 GB, free: 63.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004298/5.778, allocations: 18.42 kB / 0.9656 GB, free: 63.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01114/5.789, allocations: 180.2 kB / 0.9657 GB, free: 63.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001913/5.791, allocations: 206.9 kB / 0.9659 GB, free: 63.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001217/5.792, allocations: 96 kB / 0.966 GB, free: 63.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.007133/5.8, allocations: 2.38 MB / 0.9684 GB, free: 61.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01503/5.815, allocations: 1.609 MB / 0.9699 GB, free: 59.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 204 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.00202/5.817, allocations: 144.1 kB / 0.9701 GB, free: 59.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04646/5.863, allocations: 10.71 MB / 0.9805 GB, free: 50.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/5.863, allocations: 0 / 0.9805 GB, free: 50.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02907/5.892, allocations: 5.92 MB / 0.9863 GB, free: 45.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0078/5.9, allocations: 0.5982 MB / 0.9869 GB, free: 44.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04325/5.944, allocations: 13.05 MB / 0.9996 GB, free: 32.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01344/5.957, allocations: 4.426 MB / 1.004 GB, free: 29.65 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/5.957, allocations: 0 / 1.004 GB, free: 29.65 MB / 474.7 MB