Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4",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.306/2.306, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1839/2.49, allocations: 57.21 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/2.776, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4802/3.257, allocations: 118.3 MB / 472.3 MB, free: 30.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/3.257, allocations: 91.45 kB / 472.4 MB, free: 30.32 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:8234:19-8234:30:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:8232:19-8232:29:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:8233:19-8233:29:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:8288:13-8288:24:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:8305:19-8305:30:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:8303:19-8303:29:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:8304:19-8304:29:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:8380:13-8380:24:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4594 * Number of variables: 4594 Notification: Performance of Generate backend data structure: time 1.537/4.794, allocations: 281.1 MB / 0.7358 GB, free: 44.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/4.794, allocations: 12 kB / 0.7358 GB, free: 44.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1549/4.949, allocations: 16.73 MB / 0.7521 GB, free: 30.83 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0876/5.036, allocations: 22.55 MB / 0.7742 GB, free: 8.645 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009369/5.037, allocations: 468 kB / 0.7746 GB, free: 8.188 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008162/5.046, allocations: 0.8822 MB / 0.7755 GB, free: 7.305 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06399/5.11, allocations: 19.87 MB / 0.7949 GB, free: 3.434 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5333/5.643, allocations: 27.86 MB / 0.8221 GB, free: 80.63 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00155/5.645, allocations: 177.5 kB / 0.8223 GB, free: 80.63 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009307/5.654, allocations: 58.25 kB / 0.8223 GB, free: 80.63 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01039/5.664, allocations: 2.743 MB / 0.825 GB, free: 80.6 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3124/5.977, allocations: 134.2 MB / 0.9561 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02629/6.003, allocations: 11.69 MB / 0.9675 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02276/6.026, allocations: 11.13 MB / 0.9783 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0942/6.12, allocations: 30.31 MB / 1.008 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.918e-05/6.12, allocations: 103.2 kB / 1.008 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=604): time 1.125e-05/6.12, allocations: 0 / 1.008 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of matching and sorting (n=831): time 1.02/7.14, allocations: 99.94 MB / 1.106 GB, free: 115.8 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/7.141, allocations: 346.6 kB / 1.106 GB, free: 115.5 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02707/7.168, allocations: 8.924 MB / 1.115 GB, free: 112.4 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 0.002835/7.171, allocations: 29.67 kB / 1.115 GB, free: 112.4 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 0.008178/7.179, allocations: 7.602 MB / 1.122 GB, free: 106.9 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00721/7.186, allocations: 2.883 MB / 1.125 GB, free: 104.7 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004642/7.191, allocations: 3.938 kB / 1.125 GB, free: 104.7 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 0.001701/7.193, allocations: 0.9633 MB / 1.126 GB, free: 104.1 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02864/7.221, allocations: 9.564 MB / 1.135 GB, free: 100.5 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03332/7.255, allocations: 16.89 MB / 1.152 GB, free: 83.25 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03722/7.292, allocations: 12.68 MB / 1.164 GB, free: 72.76 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003594/7.292, allocations: 72 kB / 1.164 GB, free: 72.69 MB / 0.5106 GB Notification: Performance of matching and sorting (n=2031) (initialization): time 0.393/7.685, allocations: 34.02 MB / 1.197 GB, free: 104.1 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/7.685, allocations: 7.125 kB / 1.197 GB, free: 104.1 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005401/7.686, allocations: 258.2 kB / 1.198 GB, free: 104.1 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06511/7.751, allocations: 10.05 MB / 1.207 GB, free: 104 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03306/7.784, allocations: 3.493 MB / 1.211 GB, free: 104 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1698/7.954, allocations: 46.25 MB / 1.256 GB, free: 100.7 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02765/7.982, allocations: 0.5728 MB / 1.257 GB, free: 100.7 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005698/7.988, allocations: 0.8868 MB / 1.257 GB, free: 100.5 MB / 0.5106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1152 * Number of states: 0 () * Number of discrete variables: 147 (cyl4.color[3],cyl4.color[2],cyl4.color[1],cyl4.body.sphereColor[3],cyl4.body.sphereColor[2],cyl4.body.sphereColor[1],cyl3.color[3],cyl3.color[2],cyl3.color[1],cyl3.body.sphereColor[3],cyl3.body.sphereColor[2],cyl3.body.sphereColor[1],absoluteSensor_1D.arrowColor[3],absoluteSensor_1D.arrowColor[2],absoluteSensor_1D.arrowColor[1],absoluteSensor_MBS.arrowColor[3],absoluteSensor_MBS.arrowColor[2],absoluteSensor_MBS.arrowColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[1],fixedTranslation8.color[3],fixedTranslation8.color[2],fixedTranslation8.color[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],fixedTranslation7.color[3],fixedTranslation7.color[2],fixedTranslation7.color[1],bodyShape2.color[3],bodyShape2.color[2],bodyShape2.color[1],bodyShape2.body.sphereColor[3],bodyShape2.body.sphereColor[2],bodyShape2.body.sphereColor[1],bodyShape2.frameTranslation.color[3],bodyShape2.frameTranslation.color[2],bodyShape2.frameTranslation.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],freeMotion2.arrowColor[3],freeMotion2.arrowColor[2],freeMotion2.arrowColor[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],bodyShape1.color[3],bodyShape1.color[2],bodyShape1.color[1],bodyShape1.body.sphereColor[3],bodyShape1.body.sphereColor[2],bodyShape1.body.sphereColor[1],bodyShape1.frameTranslation.color[3],bodyShape1.frameTranslation.color[2],bodyShape1.frameTranslation.color[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],freeMotion1.arrowColor[3],freeMotion1.arrowColor[2],freeMotion1.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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 (1781): * Single equations (assignments): 1773 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(21,57.1%) 111,(11,71.1%) 101} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0096/7.997, allocations: 0.8137 MB / 1.258 GB, free: 100.2 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005856/8.003, allocations: 1.102 MB / 1.259 GB, free: 100.2 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1541/8.157, allocations: 27.34 MB / 1.286 GB, free: 91.35 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002883/8.158, allocations: 78.5 kB / 1.286 GB, free: 91.35 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002078/8.158, allocations: 40.84 kB / 1.286 GB, free: 91.35 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002933/8.158, allocations: 41.53 kB / 1.286 GB, free: 91.35 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2082/8.367, allocations: 53.34 MB / 1.338 GB, free: 59.71 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001289/8.367, allocations: 4 kB / 1.338 GB, free: 59.7 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0206/8.387, allocations: 1.219 MB / 1.339 GB, free: 58.69 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05528/8.443, allocations: 8.892 MB / 1.348 GB, free: 52.2 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003349/8.446, allocations: 39.83 kB / 1.348 GB, free: 52.16 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4172/8.863, allocations: 44.57 MB / 1.392 GB, free: 105.3 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/8.863, allocations: 6.781 kB / 1.392 GB, free: 105.3 MB / 0.5106 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1526/9.016, allocations: 39.62 MB / 1.43 GB, free: 98.03 MB / 0.5106 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2037/9.22, allocations: 53.65 MB / 1.483 GB, free: 75.95 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01302/9.233, allocations: 2.753 MB / 1.485 GB, free: 73.5 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009192/9.242, allocations: 26.61 kB / 1.486 GB, free: 73.48 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02089/9.263, allocations: 293.1 kB / 1.486 GB, free: 73.32 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003777/9.267, allocations: 407 kB / 1.486 GB, free: 73.09 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00261/9.27, allocations: 203.3 kB / 1.486 GB, free: 72.89 MB / 0.5106 GB Notification: Performance of sort global known variables: time 0.01894/9.289, allocations: 6.269 MB / 1.493 GB, free: 67.47 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.02689/9.316, allocations: 3.536 MB / 1.496 GB, free: 63.95 MB / 0.5106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 32 (freeMotion1.r_rel_a[1],freeMotion1.r_rel_a[2],freeMotion1.r_rel_a[3],freeMotion1.v_rel_a[1],freeMotion1.v_rel_a[2],freeMotion1.v_rel_a[3],freeMotion1.phi[1],freeMotion1.phi[2],freeMotion1.phi[3],freeMotion1.phi_d[1],freeMotion1.phi_d[2],freeMotion1.phi_d[3],revolute1.phi,revolute1.w,gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,freeMotion2.r_rel_a[1],freeMotion2.r_rel_a[2],freeMotion2.r_rel_a[3],freeMotion2.v_rel_a[1],freeMotion2.v_rel_a[2],freeMotion2.v_rel_a[3],freeMotion2.phi[1],freeMotion2.phi[2],freeMotion2.phi[3],freeMotion2.phi_d[1],freeMotion2.phi_d[2],freeMotion2.phi_d[3],revolute2.phi,revolute2.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (634): * Single equations (assignments): 628 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(11,71.1%) 87,(12,88.9%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003583/9.319, allocations: 259.8 kB / 1.496 GB, free: 63.79 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.08868/9.408, allocations: 24.34 MB / 1.52 GB, free: 42.48 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/9.408, allocations: 0 / 1.52 GB, free: 42.48 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 0.3109/9.719, allocations: 11.43 MB / 1.531 GB, free: 109.5 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01753/9.736, allocations: 1.429 MB / 1.533 GB, free: 109.5 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.138/9.875, allocations: 33.73 MB / 1.565 GB, free: 104 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05493/9.93, allocations: 11.25 MB / 1.576 GB, free: 102.8 MB / 0.5106 GB Notification: Performance of SimCode: time 2.044e-06/9.93, allocations: 0 / 1.576 GB, free: 102.8 MB / 0.5106 GB