Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",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(Modelica): time 1.9/1.9, allocations: 171.2 MB / 178.1 MB, free: 0.75 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1358/2.036, allocations: 41.11 MB / 219.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/2.241, allocations: 38.75 MB / 258 MB, free: 12.35 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/2.43, allocations: 100.3 MB / 358.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/2.431, allocations: 87.94 kB / 358.4 MB, free: 9.621 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.758/3.189, allocations: 129.8 MB / 488.2 MB, free: 4.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.276e-05/3.189, allocations: 12 kB / 488.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02875/3.217, allocations: 2.307 MB / 490.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1751/3.393, allocations: 7.543 MB / 498 MB, free: 60.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004534/3.393, allocations: 226.8 kB / 498.2 MB, free: 60.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003768/3.397, allocations: 418.9 kB / 498.6 MB, free: 60.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03048/3.427, allocations: 10.37 MB / 0.4971 GB, free: 60.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04738/3.475, allocations: 14.88 MB / 0.5116 GB, free: 56.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005239/3.475, allocations: 79.84 kB / 0.5117 GB, free: 56.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003853/3.479, allocations: 43.09 kB / 0.5117 GB, free: 56.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005863/3.485, allocations: 1.579 MB / 0.5133 GB, free: 56.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1448/3.63, allocations: 73.82 MB / 0.5854 GB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/3.641, allocations: 4.693 MB / 0.5899 GB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009173/3.65, allocations: 3.886 MB / 0.5937 GB, free: 5.688 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1905/3.841, allocations: 10.91 MB / 0.6044 GB, free: 57.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.655e-05/3.841, allocations: 68.14 kB / 0.6045 GB, free: 57.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=261): time 8.085e-06/3.841, allocations: 0 / 0.6045 GB, free: 57.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=344): time 0.1972/4.038, allocations: 40.89 MB / 0.6444 GB, free: 53.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/4.038, allocations: 170.1 kB / 0.6446 GB, free: 53.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/4.05, allocations: 4.523 MB / 0.649 GB, free: 53.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001062/4.051, allocations: 25.7 kB / 0.649 GB, free: 53.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003817/4.055, allocations: 4.376 MB / 0.6533 GB, free: 50.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002717/4.058, allocations: 1.241 MB / 0.6545 GB, free: 49.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001811/4.059, allocations: 0 / 0.6545 GB, free: 49.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0008787/4.06, allocations: 0.7105 MB / 0.6552 GB, free: 49.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01144/4.072, allocations: 4.079 MB / 0.6592 GB, free: 49.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01629/4.088, allocations: 9.4 MB / 0.6683 GB, free: 40.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/4.104, allocations: 6.179 MB / 0.6744 GB, free: 39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002254/4.104, allocations: 54.19 kB / 0.6744 GB, free: 39 MB / 330.7 MB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.0756/4.18, allocations: 17.13 MB / 0.6912 GB, free: 30.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/4.18, allocations: 8 kB / 0.6912 GB, free: 30.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003072/4.18, allocations: 188.9 kB / 0.6913 GB, free: 30.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04183/4.222, allocations: 5.126 MB / 0.6963 GB, free: 27.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01714/4.239, allocations: 2.041 MB / 0.6983 GB, free: 25.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2627/4.502, allocations: 33.43 MB / 0.731 GB, free: 42.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01438/4.516, allocations: 330.2 kB / 0.7313 GB, free: 42.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003014/4.519, allocations: 0.5862 MB / 0.7319 GB, free: 42.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1072 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0042/4.524, allocations: 0.5756 MB / 0.7324 GB, free: 42.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001731/4.525, allocations: 0.4987 MB / 0.7329 GB, free: 42.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04761/4.573, allocations: 10.31 MB / 0.743 GB, free: 41.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001842/4.573, allocations: 50.95 kB / 0.743 GB, free: 41.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0518/4.625, allocations: 9.371 MB / 0.7522 GB, free: 41.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001175/4.625, allocations: 16.78 kB / 0.7522 GB, free: 41.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0905/4.716, allocations: 22.33 MB / 0.774 GB, free: 35.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.393e-05/4.716, allocations: 3.5 kB / 0.774 GB, free: 35.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005203/4.721, allocations: 437.7 kB / 0.7744 GB, free: 35.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04107/4.762, allocations: 3.683 MB / 0.778 GB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001501/4.764, allocations: 20.66 kB / 0.778 GB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07348/4.837, allocations: 24.2 MB / 0.8017 GB, free: 22.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02892/4.866, allocations: 10.66 MB / 0.8121 GB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05496/4.921, allocations: 15.05 MB / 0.8268 GB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2174/5.139, allocations: 19.88 MB / 0.8462 GB, free: 58.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004544/5.143, allocations: 1.114 MB / 0.8473 GB, free: 58.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002282/5.146, allocations: 14.27 kB / 0.8473 GB, free: 58.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007487/5.153, allocations: 106.2 kB / 0.8474 GB, free: 58.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001358/5.155, allocations: 171.8 kB / 0.8476 GB, free: 58.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007386/5.155, allocations: 98.34 kB / 0.8477 GB, free: 58.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.008577/5.164, allocations: 3.049 MB / 0.8506 GB, free: 57.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.02091/5.185, allocations: 1.762 MB / 0.8524 GB, free: 57.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.R_rel.w[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 204 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001888/5.187, allocations: 222.9 kB / 0.8526 GB, free: 57.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.02467/5.212, allocations: 10.22 MB / 0.8626 GB, free: 57.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/5.212, allocations: 0 / 0.8626 GB, free: 57.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01003/5.222, allocations: 3.944 MB / 0.8664 GB, free: 56.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006681/5.229, allocations: 0.6091 MB / 0.867 GB, free: 56.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04792/5.277, allocations: 13.65 MB / 0.8803 GB, free: 53.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01996/5.297, allocations: 5.459 MB / 0.8857 GB, free: 53.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.874e-06/5.297, allocations: 0 / 0.8857 GB, free: 53.09 MB / 346.7 MB