Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 113.5 kB / 21.93 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 55.91 kB / 348.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3051, allocations: 49.16 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01117/0.3163, allocations: 10.52 MB / 408.1 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009052/0.3254, allocations: 4.009 MB / 412.1 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.328, allocations: 84.11 kB / 412.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006013/0.334, allocations: 2.698 MB / 414.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006669/0.3407, allocations: 2.027 MB / 416.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.3429, allocations: 0.8209 MB / 417.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007462/0.3504, allocations: 4.624 MB / 422.4 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003977/0.3543, allocations: 2.943 MB / 425.3 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.3577, allocations: 1.729 MB / 427.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004211/0.3619, allocations: 2.39 MB / 429.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.3629, allocations: 352 kB / 429.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.3658, allocations: 1.174 MB / 431 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002513/0.3683, allocations: 2.181 MB / 433.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002884/0.3712, allocations: 1.825 MB / 435 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3817, allocations: 7.6 MB / 442.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3817, allocations: 0 / 442.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3817, allocations: 0 / 442.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002135/0.3819, allocations: 0 / 442.6 MB, free: 6.066 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01162/0.3935, allocations: 5.346 MB / 447.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3936, allocations: 11.98 kB / 447.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008281/0.4019, allocations: 2.146 MB / 450.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007012/0.4089, allocations: 2.574 MB / 452.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.4092, allocations: 278.9 kB / 452.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.411, allocations: 435.6 kB / 453.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03368/0.4447, allocations: 12.29 MB / 465.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/0.4448, allocations: 47.58 kB / 465.7 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004951/0.4453, allocations: 179.8 kB / 465.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004731/0.45, allocations: 2.162 MB / 468 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0313/0.4813, allocations: 10.18 MB / 478.2 MB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05764/0.539, allocations: 41.44 MB / 0.5075 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.5506, allocations: 3.765 MB / 0.5111 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/0.5532, allocations: 1.63 MB / 0.5127 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/0.5668, allocations: 6.486 MB / 0.5191 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.123e-05/0.5669, allocations: 55.86 kB / 0.5191 GB, free: 10.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 5.33e-06/0.5669, allocations: 0 / 0.5191 GB, free: 10.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.04139/0.6083, allocations: 15.89 MB / 0.5346 GB, free: 10.78 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001907/0.6102, allocations: 1.577 MB / 0.5362 GB, free: 9.062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00639/0.6166, allocations: 4.012 MB / 0.5401 GB, free: 5.059 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004598/0.617, allocations: 57.7 kB / 0.5402 GB, free: 4.996 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003057/0.6201, allocations: 3.573 MB / 0.5436 GB, free: 1.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/0.6213, allocations: 0.8412 MB / 0.5445 GB, free: 0.543 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001975/0.6233, allocations: 1.37 MB / 0.5458 GB, free: 15.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6234, allocations: 309.2 kB / 0.5461 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/0.6271, allocations: 2.262 MB / 0.5483 GB, free: 12.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007897/0.635, allocations: 6.394 MB / 0.5546 GB, free: 4.148 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2693/0.9044, allocations: 9.316 MB / 0.5636 GB, free: 134.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001702/0.9046, allocations: 41.16 kB / 0.5637 GB, free: 134.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.027/0.9315, allocations: 10.04 MB / 0.5735 GB, free: 131.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.9317, allocations: 75.12 kB / 0.5736 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01132/0.943, allocations: 3.775 MB / 0.5772 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009972/0.953, allocations: 2.168 MB / 0.5794 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005139/0.9581, allocations: 1.584 MB / 0.5809 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007809/0.9659, allocations: 6.283 MB / 0.587 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006187/0.9721, allocations: 433.1 kB / 0.5875 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/0.9734, allocations: 414.4 kB / 0.5879 GB, free: 126.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0042/0.9776, allocations: 2.223 MB / 0.59 GB, free: 125.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000771/0.9783, allocations: 358.9 kB / 0.5904 GB, free: 125.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005484/0.9838, allocations: 3.236 MB / 0.5935 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00419/0.988, allocations: 2.737 MB / 0.5962 GB, free: 120.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.988, allocations: 11.92 kB / 0.5962 GB, free: 120.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.988, allocations: 13.17 kB / 0.5962 GB, free: 120.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/1.004, allocations: 8.962 MB / 0.605 GB, free: 111.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/1.004, allocations: 12 kB / 0.605 GB, free: 111.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.005, allocations: 371.4 kB / 0.6053 GB, free: 111 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/1.008, allocations: 0.9792 MB / 0.6063 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/1.008, allocations: 63.97 kB / 0.6064 GB, free: 109.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/1.012, allocations: 4.642 MB / 0.6109 GB, free: 105.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000738/1.013, allocations: 1.44 MB / 0.6123 GB, free: 103.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00759/1.021, allocations: 5.893 MB / 0.6181 GB, free: 97.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/1.022, allocations: 0.5584 MB / 0.6186 GB, free: 97.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004566/1.023, allocations: 59.98 kB / 0.6187 GB, free: 97.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.024, allocations: 147.2 kB / 0.6188 GB, free: 97.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/1.025, allocations: 184.5 kB / 0.619 GB, free: 96.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.025, allocations: 78.98 kB / 0.6191 GB, free: 96.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002961/1.028, allocations: 2.278 MB / 0.6213 GB, free: 94.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.028, allocations: 3.938 kB / 0.6213 GB, free: 94.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005573/1.033, allocations: 1.157 MB / 0.6224 GB, free: 93.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0004456/1.034, allocations: 213.8 kB / 0.6226 GB, free: 93.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008147/1.042, allocations: 5.641 MB / 0.6281 GB, free: 87.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/1.042, allocations: 0 / 0.6281 GB, free: 87.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/1.045, allocations: 1.956 MB / 0.63 GB, free: 85.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.048, allocations: 441.9 kB / 0.6305 GB, free: 85.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/1.063, allocations: 11.34 MB / 0.6415 GB, free: 73.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002808/1.066, allocations: 2.923 MB / 0.6444 GB, free: 70.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009326/1.067, allocations: 311.4 kB / 0.6447 GB, free: 70.36 MB / 478.1 MB Notification: Performance of SimCode: time 1.703e-06/1.067, allocations: 0 / 0.6447 GB, free: 70.36 MB / 478.1 MB Notification: Performance of Templates: time 0.3784/1.445, allocations: 142.5 MB / 0.7838 GB, free: 163.4 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp:25: In file included from ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgLoopMain.cpp:24: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.8644948047585785] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]', 'p2.s', 'p2.v'] 1.4552220478653908 1.466299572 1.081966085 Calling exit ...