Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",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.85/1.85, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.19/2.04, allocations: 41.11 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/2.13, allocations: 38.76 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.346/2.476, allocations: 101.1 MB / 359.1 MB, free: 3.379 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003909/2.477, allocations: 86.69 kB / 359.2 MB, free: 3.336 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2639 * Number of variables: 2639 Notification: Performance of Generate backend data structure: time 0.8787/3.355, allocations: 142.8 MB / 0.4903 GB, free: 36.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/3.356, allocations: 16 kB / 0.4903 GB, free: 36.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02618/3.382, allocations: 2.443 MB / 0.4927 GB, free: 34.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03921/3.421, allocations: 8.081 MB / 0.5006 GB, free: 26.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005315/3.422, allocations: 252 kB / 0.5008 GB, free: 25.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004372/3.426, allocations: 467.8 kB / 0.5012 GB, free: 25.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04513/3.471, allocations: 11.7 MB / 0.5127 GB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06735/3.539, allocations: 16.63 MB / 0.5289 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000844/3.54, allocations: 79.28 kB / 0.529 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00577/3.545, allocations: 43.94 kB / 0.529 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007395/3.553, allocations: 1.785 MB / 0.5308 GB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.556/4.109, allocations: 81.04 MB / 0.6099 GB, free: 49.76 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01826/4.127, allocations: 5.723 MB / 0.6155 GB, free: 48.55 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009842/4.137, allocations: 4.831 MB / 0.6202 GB, free: 46.5 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03885/4.176, allocations: 13.37 MB / 0.6333 GB, free: 40.02 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/4.176, allocations: 67.12 kB / 0.6333 GB, free: 39.96 MB / 362.8 MB Notification: Performance of pre-optimization done (n=308): time 1.012e-05/4.176, allocations: 0 / 0.6333 GB, free: 39.96 MB / 362.8 MB Notification: Performance of matching and sorting (n=378): time 0.2102/4.386, allocations: 39.58 MB / 0.672 GB, free: 18.19 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/4.387, allocations: 170.5 kB / 0.6722 GB, free: 18 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01859/4.405, allocations: 4.747 MB / 0.6768 GB, free: 13.86 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001586/4.407, allocations: 25.7 kB / 0.6768 GB, free: 13.83 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005735/4.413, allocations: 4.725 MB / 0.6814 GB, free: 9.59 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003799/4.416, allocations: 1.369 MB / 0.6828 GB, free: 8.355 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002342/4.419, allocations: 0 / 0.6828 GB, free: 8.355 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.001398/4.42, allocations: 0.7264 MB / 0.6835 GB, free: 7.746 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01584/4.436, allocations: 4.394 MB / 0.6878 GB, free: 3.812 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2008/4.637, allocations: 9.94 MB / 0.6975 GB, free: 82.45 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01771/4.655, allocations: 6.567 MB / 0.7039 GB, free: 82.39 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003107/4.655, allocations: 56.56 kB / 0.7039 GB, free: 82.39 MB / 362.8 MB Notification: Performance of matching and sorting (n=1285) (initialization): time 0.06364/4.719, allocations: 16.52 MB / 0.7201 GB, free: 81.46 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/4.719, allocations: 15.22 kB / 0.7201 GB, free: 81.46 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003757/4.719, allocations: 192.8 kB / 0.7203 GB, free: 81.46 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02314/4.743, allocations: 3.541 MB / 0.7237 GB, free: 81.39 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01686/4.759, allocations: 2.267 MB / 0.7259 GB, free: 81.2 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06136/4.821, allocations: 24.88 MB / 0.7502 GB, free: 72.04 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01451/4.835, allocations: 359.5 kB / 0.7506 GB, free: 72.04 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003184/4.839, allocations: 0.5989 MB / 0.7512 GB, free: 71.96 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 893 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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 (1191): * Single equations (assignments): 1176 * Array equations: 8 * 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%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.004776/4.844, allocations: 0.6071 MB / 0.7518 GB, free: 71.59 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002057/4.846, allocations: 0.5336 MB / 0.7523 GB, free: 71.59 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04258/4.888, allocations: 10.19 MB / 0.7622 GB, free: 68.03 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03618/4.924, allocations: 8.822 MB / 0.7709 GB, free: 65.08 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03745/4.962, allocations: 9.28 MB / 0.7799 GB, free: 61.36 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000114/4.962, allocations: 18.52 kB / 0.7799 GB, free: 61.36 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08137/5.044, allocations: 23.3 MB / 0.8027 GB, free: 42.69 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.592e-05/5.044, allocations: 4 kB / 0.8027 GB, free: 42.68 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00745/5.051, allocations: 0.5955 MB / 0.8033 GB, free: 42.2 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01897/5.07, allocations: 2.817 MB / 0.806 GB, free: 40.22 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001209/5.071, allocations: 19.78 kB / 0.806 GB, free: 40.21 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2134/5.285, allocations: 19.08 MB / 0.8247 GB, free: 78.47 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01068/5.296, allocations: 5.19 MB / 0.8298 GB, free: 75.85 MB / 362.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0752/5.371, allocations: 15.67 MB / 0.845 GB, free: 74.28 MB / 362.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06111/5.432, allocations: 21.11 MB / 0.8657 GB, free: 70.97 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005153/5.437, allocations: 1.225 MB / 0.8669 GB, free: 70.54 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002723/5.44, allocations: 8.25 kB / 0.8669 GB, free: 70.54 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007822/5.448, allocations: 138.4 kB / 0.867 GB, free: 70.54 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001578/5.449, allocations: 187.6 kB / 0.8672 GB, free: 70.5 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006482/5.45, allocations: 103.6 kB / 0.8673 GB, free: 70.48 MB / 362.8 MB Notification: Performance of sort global known variables: time 0.009408/5.46, allocations: 3.211 MB / 0.8704 GB, free: 69.34 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.01591/5.475, allocations: 1.85 MB / 0.8722 GB, free: 69.33 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (292): * Single equations (assignments): 284 * 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 {(4,75.0%) 19,(3,100.0%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00227/5.478, allocations: 227.6 kB / 0.8724 GB, free: 69.24 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.04007/5.518, allocations: 11.19 MB / 0.8834 GB, free: 65.37 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/5.518, allocations: 0 / 0.8834 GB, free: 65.37 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01406/5.532, allocations: 4.51 MB / 0.8878 GB, free: 63.54 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007496/5.54, allocations: 0.6387 MB / 0.8884 GB, free: 63.3 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0715/5.611, allocations: 15.07 MB / 0.9031 GB, free: 55.18 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02637/5.638, allocations: 6.005 MB / 0.909 GB, free: 50.68 MB / 362.8 MB Notification: Performance of SimCode: time 2.494e-06/5.638, allocations: 0 / 0.909 GB, free: 50.68 MB / 362.8 MB