Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001693/0.001693, allocations: 116.2 kB / 19.18 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.00191/0.00191, allocations: 205 kB / 22.13 MB, free: 0.9258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.489/1.489, allocations: 230.5 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001949/0.001949, allocations: 67.88 kB / 374.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 53.31 MB / 428.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.2254/0.3351, allocations: 12.03 MB / 440.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007492/0.3425, allocations: 4.221 MB / 444.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.3438, allocations: 69.19 kB / 444.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004568/0.3484, allocations: 2.784 MB / 447.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004533/0.3529, allocations: 1.986 MB / 449.2 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.3546, allocations: 0.8081 MB / 450 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007845/0.3625, allocations: 4.685 MB / 454.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004956/0.3674, allocations: 3.063 MB / 457.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.3708, allocations: 1.675 MB / 459.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004055/0.3749, allocations: 2.521 MB / 461.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.3761, allocations: 352.3 kB / 462.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.3796, allocations: 1.3 MB / 463.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003138/0.3828, allocations: 2.143 MB / 465.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004828/0.3876, allocations: 2.406 MB / 468.1 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.3978, allocations: 7.501 MB / 475.6 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3978, allocations: 0 / 475.6 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3978, allocations: 0 / 475.6 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000324/0.3981, allocations: 0 / 475.6 MB, free: 0.9688 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01304/0.4111, allocations: 5.375 MB / 481 MB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4112, allocations: 8.031 kB / 481 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007955/0.4191, allocations: 2.197 MB / 483.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005842/0.425, allocations: 2.49 MB / 485.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.4252, allocations: 282.8 kB / 485.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00095/0.4262, allocations: 427.7 kB / 486.4 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02277/0.4489, allocations: 12.27 MB / 498.6 MB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.449, allocations: 54.94 kB / 498.7 MB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004436/0.4495, allocations: 175.8 kB / 498.9 MB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003214/0.4527, allocations: 2.162 MB / 0.4893 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/0.4744, allocations: 10.24 MB / 0.4993 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06161/0.536, allocations: 44.19 MB / 0.5424 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.5481, allocations: 4.518 MB / 0.5468 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/0.5508, allocations: 1.622 MB / 0.5484 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01485/0.5657, allocations: 8.328 MB / 0.5566 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.5657, allocations: 51.88 kB / 0.5566 GB, free: 15.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=183): time 3.557e-06/0.5657, allocations: 4 kB / 0.5566 GB, free: 15.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=205): time 0.04328/0.609, allocations: 16.31 MB / 0.5725 GB, free: 15.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001609/0.6106, allocations: 1.684 MB / 0.5742 GB, free: 13.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007633/0.6182, allocations: 4.207 MB / 0.5783 GB, free: 9.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.6185, allocations: 53.7 kB / 0.5783 GB, free: 9.191 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002977/0.6215, allocations: 3.537 MB / 0.5818 GB, free: 5.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009104/0.6224, allocations: 0.8451 MB / 0.5826 GB, free: 4.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001969/0.6243, allocations: 1.366 MB / 0.584 GB, free: 3.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6245, allocations: 301.1 kB / 0.5842 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003871/0.6283, allocations: 2.282 MB / 0.5865 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007813/0.6361, allocations: 6.418 MB / 0.5927 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/0.6487, allocations: 9.345 MB / 0.6019 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001494/0.6488, allocations: 44 kB / 0.6019 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02424/0.6731, allocations: 10.18 MB / 0.6119 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.6732, allocations: 68 kB / 0.6119 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2432/0.9164, allocations: 3.882 MB / 0.6157 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01044/0.9269, allocations: 2.262 MB / 0.6179 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005868/0.9327, allocations: 1.591 MB / 0.6195 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009771/0.9425, allocations: 6.625 MB / 0.6259 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00543/0.9479, allocations: 436.6 kB / 0.6264 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/0.9493, allocations: 426.2 kB / 0.6268 GB, free: 154.9 MB / 0.5137 GB 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.0046/0.9539, allocations: 2.21 MB / 0.6289 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006894/0.9546, allocations: 396.8 kB / 0.6293 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005918/0.9605, allocations: 3.304 MB / 0.6325 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004674/0.9652, allocations: 2.777 MB / 0.6352 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.9652, allocations: 5.141 kB / 0.6352 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.9652, allocations: 8.672 kB / 0.6353 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/0.9824, allocations: 10.36 MB / 0.6454 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.9824, allocations: 18.73 kB / 0.6454 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.9837, allocations: 372 kB / 0.6457 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/0.9862, allocations: 0.9876 MB / 0.6467 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.9863, allocations: 62.84 kB / 0.6468 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/0.99, allocations: 4.91 MB / 0.6516 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006762/0.9906, allocations: 1.563 MB / 0.6531 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008793/0.9994, allocations: 5.974 MB / 0.6589 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.001, allocations: 459.8 kB / 0.6594 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005563/1.001, allocations: 62.84 kB / 0.6594 GB, free: 139.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/1.004, allocations: 159.2 kB / 0.6596 GB, free: 139.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/1.004, allocations: 171.8 kB / 0.6597 GB, free: 139.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/1.004, allocations: 73.67 kB / 0.6598 GB, free: 139.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004904/1.009, allocations: 2.586 MB / 0.6623 GB, free: 138.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/1.009, allocations: 0 / 0.6623 GB, free: 138.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008151/1.017, allocations: 1.142 MB / 0.6634 GB, free: 137.8 MB / 0.5137 GB 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.0005241/1.018, allocations: 219.5 kB / 0.6637 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01179/1.03, allocations: 5.826 MB / 0.6693 GB, free: 131.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.03, allocations: 0 / 0.6693 GB, free: 131.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004605/1.034, allocations: 2.125 MB / 0.6714 GB, free: 129.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003899/1.038, allocations: 0.4959 MB / 0.6719 GB, free: 129 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/1.059, allocations: 11.26 MB / 0.6829 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/1.062, allocations: 3.453 MB / 0.6863 GB, free: 114.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.063, allocations: 331.4 kB / 0.6866 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.693e-06/1.063, allocations: 0 / 0.6866 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.3822/1.445, allocations: 142.1 MB / 0.8254 GB, free: 166.9 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_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 -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/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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgLoopMain.cpp:24: ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.414253329974599] 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.4539220919832587 1.463682114 1.063290925 Calling exit ...