Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_1_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.016/2.016, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2972/2.313, allocations: 51.03 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/2.45, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/2.852, allocations: 91.21 MB / 407.2 MB, free: 1.727 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/2.853, allocations: 83.31 kB / 407.3 MB, free: 1.684 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: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.7277/3.58, allocations: 111.4 MB / 0.5065 GB, free: 79.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/3.581, allocations: 7.562 kB / 0.5066 GB, free: 79.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07101/3.652, allocations: 10.02 MB / 0.5163 GB, free: 79.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03788/3.69, allocations: 9.943 MB / 0.5261 GB, free: 78.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004139/3.69, allocations: 213.1 kB / 0.5263 GB, free: 78.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/3.692, allocations: 291.6 kB / 0.5265 GB, free: 78.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02131/3.714, allocations: 6.616 MB / 0.533 GB, free: 77.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02887/3.743, allocations: 9.176 MB / 0.542 GB, free: 73.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005228/3.743, allocations: 60.78 kB / 0.542 GB, free: 73.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002255/3.746, allocations: 17.38 kB / 0.542 GB, free: 73.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003299/3.749, allocations: 1.076 MB / 0.5431 GB, free: 73.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09803/3.847, allocations: 44.92 MB / 0.5869 GB, free: 38.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/3.86, allocations: 5.85 MB / 0.5927 GB, free: 33.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01015/3.87, allocations: 5.452 MB / 0.598 GB, free: 28.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03413/3.904, allocations: 13.97 MB / 0.6116 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/3.904, allocations: 68 kB / 0.6117 GB, free: 13.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 6.773e-06/3.904, allocations: 0 / 0.6117 GB, free: 13.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=396): time 0.4801/4.384, allocations: 52.68 MB / 0.6631 GB, free: 132.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/4.384, allocations: 198.1 kB / 0.6633 GB, free: 132 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00859/4.393, allocations: 3.271 MB / 0.6665 GB, free: 131.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001345/4.394, allocations: 25.7 kB / 0.6665 GB, free: 131.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002469/4.397, allocations: 2.334 MB / 0.6688 GB, free: 130.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002873/4.4, allocations: 1.32 MB / 0.6701 GB, free: 129.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009852/4.401, allocations: 0 / 0.6701 GB, free: 129.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004606/4.401, allocations: 0.5247 MB / 0.6706 GB, free: 129.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009936/4.411, allocations: 4.059 MB / 0.6746 GB, free: 129.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01577/4.427, allocations: 6.033 MB / 0.6805 GB, free: 125.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01788/4.445, allocations: 5.016 MB / 0.6854 GB, free: 123.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000134/4.445, allocations: 18.66 kB / 0.6854 GB, free: 123.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.08707/4.532, allocations: 16.52 MB / 0.7015 GB, free: 119.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/4.532, allocations: 6.75 kB / 0.7015 GB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.119e-05/4.533, allocations: 63.06 kB / 0.7016 GB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05301/4.586, allocations: 7.866 MB / 0.7093 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007905/4.594, allocations: 0.9807 MB / 0.7102 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1165/4.71, allocations: 42.76 MB / 0.752 GB, free: 81.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0096/4.72, allocations: 260.6 kB / 0.7522 GB, free: 81.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001997/4.722, allocations: 279.4 kB / 0.7525 GB, free: 80.87 MB / 426.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.002555/4.724, allocations: 306.2 kB / 0.7528 GB, free: 80.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001852/4.726, allocations: 465.9 kB / 0.7532 GB, free: 80.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06676/4.793, allocations: 15.73 MB / 0.7686 GB, free: 67.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0697/4.863, allocations: 14.42 MB / 0.7827 GB, free: 52.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001002/4.863, allocations: 28 kB / 0.7827 GB, free: 52.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001258/4.863, allocations: 19.84 kB / 0.7827 GB, free: 52.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1971/5.06, allocations: 31.83 MB / 0.8138 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.437e-05/5.06, allocations: 4 kB / 0.8138 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00572/5.066, allocations: 392.8 kB / 0.8142 GB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2101/5.276, allocations: 7.567 MB / 0.8216 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001142/5.277, allocations: 18.77 kB / 0.8216 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1055/5.383, allocations: 42.28 MB / 0.8629 GB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0232/5.406, allocations: 8.678 MB / 0.8714 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07369/5.48, allocations: 21.8 MB / 0.8927 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0935/5.574, allocations: 28.62 MB / 0.9206 GB, free: 81.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005149/5.579, allocations: 1.294 MB / 0.9219 GB, free: 80.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002851/5.582, allocations: 8 kB / 0.9219 GB, free: 80.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007428/5.589, allocations: 183.7 kB / 0.9221 GB, free: 80.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00216/5.591, allocations: 205.2 kB / 0.9223 GB, free: 80.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001915/5.593, allocations: 97.86 kB / 0.9224 GB, free: 80.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.01017/5.604, allocations: 2.381 MB / 0.9247 GB, free: 78.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01224/5.616, allocations: 1.607 MB / 0.9262 GB, free: 76.52 MB / 426.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.001519/5.617, allocations: 144.3 kB / 0.9264 GB, free: 76.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03797/5.655, allocations: 10.71 MB / 0.9368 GB, free: 66.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.09e-05/5.656, allocations: 4 kB / 0.9368 GB, free: 66.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02975/5.685, allocations: 5.916 MB / 0.9426 GB, free: 61.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008967/5.694, allocations: 0.599 MB / 0.9432 GB, free: 61.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06346/5.758, allocations: 13.03 MB / 0.9559 GB, free: 49.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01865/5.777, allocations: 4.419 MB / 0.9603 GB, free: 46.34 MB / 426.7 MB Notification: Performance of SimCode: time 2.505e-06/5.777, allocations: 0 / 0.9603 GB, free: 46.34 MB / 426.7 MB