Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2344/0.2344, allocations: 46.88 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") translateModel(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 83.84 kB / 0.4924 GB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1675, allocations: 65.99 MB / 0.5568 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse): time 0.02595/0.1935, allocations: 20.12 MB / 0.5765 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.2082, allocations: 6.01 MB / 0.5823 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004193/0.2124, allocations: 139.5 kB / 0.5825 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01224/0.2246, allocations: 6.035 MB / 0.5883 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.2347, allocations: 3.108 MB / 0.5914 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004085/0.2388, allocations: 1.439 MB / 0.5928 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3542/0.593, allocations: 9.419 MB / 0.602 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01723/0.6103, allocations: 6.784 MB / 0.6086 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.6206, allocations: 3.269 MB / 0.6118 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01451/0.6351, allocations: 4.661 MB / 0.6164 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005309/0.6404, allocations: 0.72 MB / 0.6171 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.6512, allocations: 1.74 MB / 0.6188 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01172/0.6629, allocations: 4.042 MB / 0.6227 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01366/0.6766, allocations: 4.435 MB / 0.627 GB, free: 15.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02732/0.7039, allocations: 13.42 MB / 0.6401 GB, free: 6.371 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.7039, allocations: 4.938 kB / 0.6401 GB, free: 6.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.7039, allocations: 0 / 0.6401 GB, free: 6.367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006948/0.7046, allocations: 0 / 0.6401 GB, free: 6.367 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.03424/0.7389, allocations: 9.525 MB / 0.6494 GB, free: 12.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.7389, allocations: 8.031 kB / 0.6495 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02613/0.765, allocations: 3.886 MB / 0.6533 GB, free: 8.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01604/0.7811, allocations: 5.508 MB / 0.6586 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006615/0.7817, allocations: 494.6 kB / 0.6591 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004625/0.7864, allocations: 0.9933 MB / 0.6601 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04732/0.8337, allocations: 18.08 MB / 0.6777 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004478/0.8341, allocations: 80.53 kB / 0.6778 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002396/0.8365, allocations: 311.3 kB / 0.6781 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00499/0.8415, allocations: 2.751 MB / 0.6808 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04003/0.8816, allocations: 15.42 MB / 0.6959 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1137/0.9953, allocations: 70.03 MB / 0.7642 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02476/1.02, allocations: 7.795 MB / 0.7719 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006276/1.026, allocations: 3.532 MB / 0.7753 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03466/1.061, allocations: 18.12 MB / 0.793 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.389e-05/1.061, allocations: 72.5 kB / 0.7931 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=303): time 6.262e-06/1.061, allocations: 0 / 0.7931 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=331): time 0.09554/1.157, allocations: 31.31 MB / 0.8236 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005447/1.162, allocations: 6.629 MB / 0.8301 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/1.174, allocations: 6.584 MB / 0.8365 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.175, allocations: 77.61 kB / 0.8366 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.005929/1.181, allocations: 5.462 MB / 0.842 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002836/1.184, allocations: 1.395 MB / 0.8433 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004932/1.189, allocations: 2.125 MB / 0.8454 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.189, allocations: 309.1 kB / 0.8457 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7041/1.893, allocations: 4.421 MB / 0.85 GB, free: 222.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01314/1.906, allocations: 10.27 MB / 0.86 GB, free: 214.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02207/1.928, allocations: 15.45 MB / 0.8751 GB, free: 202 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002865/1.928, allocations: 57.75 kB / 0.8752 GB, free: 202 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1358) (initialization): time 0.05473/1.983, allocations: 21.29 MB / 0.896 GB, free: 196 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/1.983, allocations: 93.12 kB / 0.8961 GB, free: 196 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03671/2.02, allocations: 12.57 MB / 0.9083 GB, free: 191 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03719/2.057, allocations: 8.586 MB / 0.9167 GB, free: 182.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007417/2.065, allocations: 2.386 MB / 0.919 GB, free: 179.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02632/2.091, allocations: 22.66 MB / 0.9412 GB, free: 156.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/2.101, allocations: 0.8952 MB / 0.942 GB, free: 155.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/2.103, allocations: 0.6042 MB / 0.9426 GB, free: 155.1 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1278): * Single equations (assignments): 1251 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 14 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 10 systems {(4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 4 systems {4, 4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006748/2.11, allocations: 3.473 MB / 0.946 GB, free: 151.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/2.111, allocations: 0.621 MB / 0.9466 GB, free: 151.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/2.113, allocations: 0.8448 MB / 0.9475 GB, free: 150.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01372/2.127, allocations: 7.983 MB / 0.9553 GB, free: 142.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.621e-05/2.127, allocations: 8 kB / 0.9553 GB, free: 142.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-05/2.127, allocations: 19.94 kB / 0.9553 GB, free: 142.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.032/2.159, allocations: 20.72 MB / 0.9755 GB, free: 121.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/2.159, allocations: 5.125 kB / 0.9755 GB, free: 121.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002863/2.162, allocations: 0.6319 MB / 0.9761 GB, free: 121 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/2.172, allocations: 3.881 MB / 0.9799 GB, free: 117.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006022/2.173, allocations: 111.6 kB / 0.98 GB, free: 117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/2.185, allocations: 15.02 MB / 0.9947 GB, free: 101.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002924/2.188, allocations: 6.413 MB / 1.001 GB, free: 94.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/2.208, allocations: 13.47 MB / 1.014 GB, free: 81 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002682/2.21, allocations: 0.6862 MB / 1.015 GB, free: 80.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009319/2.211, allocations: 87.97 kB / 1.015 GB, free: 80.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/2.214, allocations: 403.3 kB / 1.015 GB, free: 79.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007059/2.215, allocations: 261.4 kB / 1.016 GB, free: 79.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002625/2.215, allocations: 99.94 kB / 1.016 GB, free: 79.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005428/2.221, allocations: 4.083 MB / 1.02 GB, free: 75.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/2.221, allocations: 0 / 1.02 GB, free: 75.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01014/2.231, allocations: 2.208 MB / 1.022 GB, free: 73.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.frame_a.r_0[1],bodyBox.body.frame_a.r_0[2],bodyBox.body.frame_a.r_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 14 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 10 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 4 systems {4, 4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008595/2.232, allocations: 256.3 kB / 1.022 GB, free: 72.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0218/2.254, allocations: 12.65 MB / 1.034 GB, free: 60.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/2.254, allocations: 5 kB / 1.034 GB, free: 60.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01186/2.266, allocations: 6.276 MB / 1.04 GB, free: 53.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007645/2.273, allocations: 0.926 MB / 1.041 GB, free: 52.52 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72:writable] Warning: Variable pointMass.v_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72:writable] Warning: Variable pointMass.v_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72:writable] Warning: Variable pointMass.v_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72:writable] Warning: Variable pointMass.r_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72:writable] Warning: Variable pointMass.r_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72:writable] Warning: Variable pointMass.r_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03662/2.31, allocations: 21.27 MB / 1.062 GB, free: 31.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007318/2.317, allocations: 5.339 MB / 1.067 GB, free: 25.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002123/2.319, allocations: 0.4915 MB / 1.068 GB, free: 25.32 MB / 0.6544 GB Notification: Performance of SimCode: time 1.492e-06/2.319, allocations: 0 / 1.068 GB, free: 25.32 MB / 0.6544 GB Notification: Performance of Templates: time 1.623/3.942, allocations: 0.6159 GB / 1.684 GB, free: 177.9 MB / 0.6857 GB " [Timeout remaining time 656] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgLoopMain.cpp:60: ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:62: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:136: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:208: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:281: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:355: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:428: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:501: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:573: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:62: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:136: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:208: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:281: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:355: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:428: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:501: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:573: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:78:62: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp296 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(2)) + (((-_system->_bodyShape_P_body_P_Q_(2)) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(4))))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:78:135: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp296 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(2)) + (((-_system->_bodyShape_P_body_P_Q_(2)) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(4))))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:78:211: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp296 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(2)) + (((-_system->_bodyShape_P_body_P_Q_(2)) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(4))))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 9.233316974947229] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.frame_a.r_0[1]', 'body.frame_a.r_0[2]', 'body.frame_a.r_0[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]', 'bodyBox.body.Q[1]', 'bodyBox.body.Q[2]', 'bodyBox.body.Q[3]', 'bodyBox.body.Q[4]', 'bodyBox.body.frame_a.r_0[1]', 'bodyBox.body.frame_a.r_0[2]', 'bodyBox.body.frame_a.r_0[3]', 'bodyBox.body.w_a[1]', 'bodyBox.body.w_a[2]', 'bodyBox.body.w_a[3]', 'bodyBox.v_0[1]', 'bodyBox.v_0[2]', 'bodyBox.v_0[3]', 'bodyCylinder.body.Q[1]', 'bodyCylinder.body.Q[2]', 'bodyCylinder.body.Q[3]', 'bodyCylinder.body.Q[4]', 'bodyCylinder.body.frame_a.r_0[1]', 'bodyCylinder.body.frame_a.r_0[2]', 'bodyCylinder.body.frame_a.r_0[3]', 'bodyCylinder.body.w_a[1]', 'bodyCylinder.body.w_a[2]', 'bodyCylinder.body.w_a[3]', 'bodyCylinder.v_0[1]', 'bodyCylinder.v_0[2]', 'bodyCylinder.v_0[3]', 'bodyShape.body.Q[1]', 'bodyShape.body.Q[2]', 'bodyShape.body.Q[3]', 'bodyShape.body.Q[4]', 'bodyShape.body.frame_a.r_0[1]', 'bodyShape.body.frame_a.r_0[2]', 'bodyShape.body.frame_a.r_0[3]', 'bodyShape.body.w_a[1]', 'bodyShape.body.w_a[2]', 'bodyShape.body.w_a[3]', 'bodyShape.v_0[1]', 'bodyShape.v_0[2]', 'bodyShape.v_0[3]', 'pointMass.r_0[1]', 'pointMass.r_0[2]', 'pointMass.r_0[3]', 'pointMass.v_0[1]', 'pointMass.v_0[2]', 'pointMass.v_0[3]'] 3.9508856660686433 3.959528944 3.253038859 Calling exit ...