Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001336/0.001336, 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.001355/0.001355, 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.477/1.477, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 71.88 kB / 374.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1097, allocations: 53.31 MB / 427.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2168/0.3265, allocations: 10.75 MB / 438.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007338/0.3338, allocations: 3.962 MB / 442.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.3351, allocations: 62.66 kB / 442.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004558/0.3396, allocations: 2.611 MB / 445.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004618/0.3443, allocations: 1.77 MB / 447 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.346, allocations: 0.6863 MB / 447.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005991/0.352, allocations: 3.715 MB / 451.4 MB, free: 36 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005482/0.3574, allocations: 2.966 MB / 454.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.3609, allocations: 1.472 MB / 455.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00434/0.3652, allocations: 2.108 MB / 457.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.3665, allocations: 315 kB / 458.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.3698, allocations: 1.179 MB / 459.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00279/0.3726, allocations: 1.848 MB / 461.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00319/0.3758, allocations: 2.129 MB / 463.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00941/0.3852, allocations: 6.669 MB / 470.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3852, allocations: 0 / 470.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3852, allocations: 7.938 kB / 470.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000212/0.3854, allocations: 0 / 470.1 MB, free: 5.059 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.009863/0.3953, allocations: 4.656 MB / 474.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3953, allocations: 8.031 kB / 474.7 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007468/0.4028, allocations: 1.967 MB / 476.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.407, allocations: 1.994 MB / 478.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.4072, allocations: 246.2 kB / 478.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008756/0.4081, allocations: 403.7 kB / 479.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/0.4276, allocations: 10.1 MB / 489.4 MB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.4277, allocations: 51.52 kB / 489.5 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004622/0.4281, allocations: 159.8 kB / 489.6 MB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002966/0.4311, allocations: 1.847 MB / 491.5 MB, free: 172 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.4497, allocations: 8.37 MB / 499.9 MB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05334/0.503, allocations: 39.3 MB / 0.5265 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.5146, allocations: 3.913 MB / 0.5304 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/0.5169, allocations: 1.338 MB / 0.5317 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/0.529, allocations: 7.73 MB / 0.5392 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.5291, allocations: 51.48 kB / 0.5393 GB, free: 1.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.647e-06/0.5291, allocations: 0 / 0.5393 GB, free: 1.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03494/0.564, allocations: 12.69 MB / 0.5517 GB, free: 4.832 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00147/0.5655, allocations: 1.689 MB / 0.5533 GB, free: 2.969 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/0.5709, allocations: 3.82 MB / 0.557 GB, free: 15.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.5711, allocations: 45.7 kB / 0.5571 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002469/0.5736, allocations: 3.238 MB / 0.5602 GB, free: 11.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007785/0.5744, allocations: 0.6786 MB / 0.5609 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/0.5761, allocations: 1.262 MB / 0.5621 GB, free: 9.883 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5762, allocations: 305.1 kB / 0.5624 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003188/0.5794, allocations: 2.054 MB / 0.5644 GB, free: 7.523 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006574/0.586, allocations: 5.985 MB / 0.5703 GB, free: 15.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/0.5969, allocations: 8.636 MB / 0.5787 GB, free: 4.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.255e-05/0.597, allocations: 40 kB / 0.5787 GB, free: 4.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02544/0.6225, allocations: 9.851 MB / 0.5884 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.6226, allocations: 68 kB / 0.5884 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01274/0.6353, allocations: 3.842 MB / 0.5922 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01276/0.6481, allocations: 2.723 MB / 0.5948 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00481/0.6529, allocations: 1.368 MB / 0.5962 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/0.6713, allocations: 11.58 MB / 0.6075 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006157/0.6774, allocations: 411.5 kB / 0.6079 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/0.6786, allocations: 388.8 kB / 0.6083 GB, free: 6.238 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.003582/0.6822, allocations: 2.013 MB / 0.6102 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006064/0.6828, allocations: 345.6 kB / 0.6105 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.6839, allocations: 432.4 kB / 0.611 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00648/0.6904, allocations: 2.718 MB / 0.6136 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.6904, allocations: 4 kB / 0.6136 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.6904, allocations: 7.969 kB / 0.6136 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2428/0.9332, allocations: 8.562 MB / 0.622 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.9332, allocations: 2.875 kB / 0.622 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/0.9342, allocations: 195.5 kB / 0.6222 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004875/0.9391, allocations: 1.456 MB / 0.6236 GB, free: 159.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002286/0.9393, allocations: 30.66 kB / 0.6236 GB, free: 159.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/0.9531, allocations: 9.823 MB / 0.6332 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001133/0.9542, allocations: 1.557 MB / 0.6347 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/0.9685, allocations: 5.356 MB / 0.64 GB, free: 150.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.9697, allocations: 390.2 kB / 0.6403 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004969/0.9702, allocations: 33.3 kB / 0.6404 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/0.9724, allocations: 130.8 kB / 0.6405 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005486/0.9729, allocations: 105.1 kB / 0.6406 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.9731, allocations: 43.02 kB / 0.6406 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005277/0.9784, allocations: 2.335 MB / 0.6429 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9784, allocations: 0 / 0.6429 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00934/0.9877, allocations: 1.075 MB / 0.644 GB, free: 149.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005736/0.9883, allocations: 172.5 kB / 0.6441 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.001, allocations: 5.563 MB / 0.6496 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/1.001, allocations: 3.875 kB / 0.6496 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005857/1.007, allocations: 2.244 MB / 0.6518 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/1.011, allocations: 388.6 kB / 0.6521 GB, free: 146 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.03, allocations: 9.546 MB / 0.6615 GB, free: 140.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004235/1.035, allocations: 3.129 MB / 0.6645 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/1.036, allocations: 267.4 kB / 0.6648 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/1.036, allocations: 0 / 0.6648 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.1338/1.17, allocations: 145.1 MB / 0.8065 GB, free: 8.344 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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 OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp:25: In file included from ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgLoopMain.cpp:30: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.275128033943474] 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]'] 1.178578854072839 1.373125902 0.985657444 Calling exit ...