Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.Switch2_test.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.0009062/0.0009062, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009568/0.0009568, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8906/0.8906, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.01876/0.01876, allocations: 5.054 MB / 265 MB, free: 8.309 MB / 250.7 MB " [Timeout remaining time 180] Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 390.4 MB, free: 6.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.214e-05, allocations: 5.094 kB / 390.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.003605/0.003637, allocations: 3.601 MB / 394 MB, free: 3.273 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.007365, allocations: 3.87 MB / 397.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.007553, allocations: 12 kB / 397.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.008128, allocations: 298.1 kB / 398.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.009994, allocations: 1.436 MB / 399.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.01027, allocations: 231.4 kB / 399.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.01268, allocations: 3.611 MB / 403.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005493/0.01323, allocations: 0.5502 MB / 404 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006564/0.01388, allocations: 0.912 MB / 404.9 MB, free: 8.293 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005771/0.01446, allocations: 0.8065 MB / 405.7 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.01457, allocations: 116 kB / 405.9 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.01571, allocations: 0.9745 MB / 406.8 MB, free: 6.395 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.01624, allocations: 0.9624 MB / 407.8 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.01666, allocations: 0.6 MB / 408.4 MB, free: 4.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.01867, allocations: 2.976 MB / 411.4 MB, free: 1.844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01867, allocations: 0 / 411.4 MB, free: 1.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01867, allocations: 4 kB / 411.4 MB, free: 1.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.01869, allocations: 0 / 411.4 MB, free: 1.84 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.1649/0.1836, allocations: 2.358 MB / 413.7 MB, free: 33.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1837, allocations: 9.812 kB / 413.7 MB, free: 33.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000692/0.1844, allocations: 320 kB / 414.1 MB, free: 33.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.1865, allocations: 1.878 MB / 415.9 MB, free: 32.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/0.1868, allocations: 0.776 MB / 416.7 MB, free: 31.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.1869, allocations: 65.56 kB / 416.8 MB, free: 31.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.1891, allocations: 1.691 MB / 418.5 MB, free: 31.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1891, allocations: 192 / 418.5 MB, free: 31.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/0.1891, allocations: 34.28 kB / 418.5 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.1892, allocations: 39.88 kB / 418.5 MB, free: 31.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/0.1921, allocations: 1.859 MB / 420.4 MB, free: 30.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.1955, allocations: 2.87 MB / 423.3 MB, free: 29.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.197, allocations: 0.7141 MB / 424 MB, free: 29.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.198, allocations: 0.6281 MB / 424.6 MB, free: 29.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.588e-05/0.1981, allocations: 3.344 kB / 424.6 MB, free: 29.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.1993, allocations: 0.7429 MB / 425.3 MB, free: 28.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/0.1993, allocations: 0 / 425.3 MB, free: 28.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.003063/0.2023, allocations: 1.959 MB / 427.3 MB, free: 28.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.2024, allocations: 132.6 kB / 427.4 MB, free: 27.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.2042, allocations: 2.145 MB / 429.6 MB, free: 26.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.2043, allocations: 31.2 kB / 429.6 MB, free: 26.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.2046, allocations: 0.7822 MB / 430.4 MB, free: 26.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.2047, allocations: 80.14 kB / 430.5 MB, free: 26.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.2049, allocations: 230.6 kB / 430.7 MB, free: 26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.442e-05/0.2049, allocations: 340.3 kB / 431 MB, free: 25.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.206, allocations: 0.861 MB / 431.9 MB, free: 25.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.2071, allocations: 1.045 MB / 432.9 MB, free: 24.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.2088, allocations: 1.379 MB / 434.3 MB, free: 23.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2088, allocations: 8 kB / 434.3 MB, free: 23.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002164/0.211, allocations: 1.951 MB / 436.3 MB, free: 21.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.211, allocations: 6.969 kB / 436.3 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.211, allocations: 4 kB / 436.3 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.211, allocations: 0 / 436.3 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.2114, allocations: 207.6 kB / 436.5 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.2115, allocations: 4 kB / 436.5 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.2121, allocations: 176.6 kB / 436.7 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.2121, allocations: 23.89 kB / 436.7 MB, free: 21.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (switch2.mux.sequenceIn[3],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[1],switch2.count,$PRE.switch2.count,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004356/0.2126, allocations: 0.599 MB / 437.3 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2127, allocations: 163 kB / 437.4 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.2128, allocations: 150.5 kB / 437.6 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.2128, allocations: 7.938 kB / 437.6 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2128, allocations: 0.5 kB / 437.6 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2128, allocations: 0 / 437.6 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007801/0.2136, allocations: 1.043 MB / 438.6 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2136, allocations: 0 / 438.6 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.2139, allocations: 164.6 kB / 438.8 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2139, allocations: 4 kB / 438.8 MB, free: 18.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.214, allocations: 8 kB / 438.8 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.214, allocations: 0 / 438.8 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.214, allocations: 0 / 438.8 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.2157, allocations: 1.378 MB / 440.2 MB, free: 17.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.2159, allocations: 179.8 kB / 440.4 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.216, allocations: 6.25 kB / 440.4 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.2165, allocations: 151.8 kB / 440.5 MB, free: 17.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.2166, allocations: 83.88 kB / 440.6 MB, free: 17.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.2166, allocations: 11.98 kB / 440.6 MB, free: 17.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001009/0.2177, allocations: 1.538 MB / 442.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2177, allocations: 0 / 442.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007974/0.2185, allocations: 0.5695 MB / 442.7 MB, free: 15 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,switch2.count,switch2.mux.sequenceIn[1],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[3]) * Number of discrete states: 1 (switch2.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006211/0.2191, allocations: 0.5263 MB / 443.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.221, allocations: 1.546 MB / 444.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.221, allocations: 0 / 444.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008764/0.2219, allocations: 0.6554 MB / 445.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.2232, allocations: 0.8333 MB / 446.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.226, allocations: 3.284 MB / 449.6 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.2264, allocations: 0.8896 MB / 450.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.2268, allocations: 91.38 kB / 450.5 MB, free: 7.156 MB / 330.7 MB Notification: Performance of SimCode: time 4.3e-07/0.2268, allocations: 0 / 450.5 MB, free: 7.156 MB / 330.7 MB Notification: Performance of Templates: time 0.02427/0.2511, allocations: 29.74 MB / 480.3 MB, free: 9.551 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_test.makefile [Timeout 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_test.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.o OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:508:141: error: use of undeclared identifier 'switch2_P_poseInput_omcQ_24PRE_P_switch2_P_count__P_stopTime_' 508 | SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition1_, ((_discrete_events->pre(_switch2_P_count_) <= 1) && (_simTime >= switch2_P_poseInput_omcQ_24PRE_P_switch2_P_count__P_stopTime_)), false); | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1412:173: error: too many arguments to function call, expected 6, have 9 1412 | _functions->StewartPlatform_Types_DiscParameters(_gp_P_base_P_D_, _gp_P_base_P_De_, _gp_P_base_P_thickness_, _gp_P_base_P_mass_, _gp_P_base_P_alpha_, _gp_P_base_P_area_, _gp_P_base_P_volume_, _gp_P_base_P_density_,tmp170); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:194:34: note: expanded from macro '_gp_P_base_P_volume_' 194 | #define _gp_P_base_P_volume_ _pointerToRealVars[49] | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 980 | void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1413:197: error: too many arguments to function call, expected 6, have 9 1413 | _functions->StewartPlatform_Types_DiscParameters(_gp_P_platform_P_D_, _gp_P_platform_P_De_, _gp_P_platform_P_thickness_, _gp_P_platform_P_mass_, _gp_P_platform_P_alpha_, _gp_P_platform_P_area_, _gp_P_platform_P_volume_, _gp_P_platform_P_density_,tmp171); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:302:38: note: expanded from macro '_gp_P_platform_P_volume_' 302 | #define _gp_P_platform_P_volume_ _pointerToRealVars[191] | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 980 | void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1598:173: error: too many arguments to function call, expected 6, have 9 1598 | _functions->StewartPlatform_Types_DiscParameters(_gp_P_base_P_D_, _gp_P_base_P_De_, _gp_P_base_P_thickness_, _gp_P_base_P_mass_, _gp_P_base_P_alpha_, _gp_P_base_P_area_, _gp_P_base_P_volume_, _gp_P_base_P_density_,tmp186); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:194:34: note: expanded from macro '_gp_P_base_P_volume_' 194 | #define _gp_P_base_P_volume_ _pointerToRealVars[49] | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 980 | void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1599:197: error: too many arguments to function call, expected 6, have 9 1599 | _functions->StewartPlatform_Types_DiscParameters(_gp_P_platform_P_D_, _gp_P_platform_P_De_, _gp_P_platform_P_thickness_, _gp_P_platform_P_mass_, _gp_P_platform_P_alpha_, _gp_P_platform_P_area_, _gp_P_platform_P_volume_, _gp_P_platform_P_density_,tmp187); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:302:38: note: expanded from macro '_gp_P_platform_P_volume_' 302 | #define _gp_P_platform_P_volume_ _pointerToRealVars[191] | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 980 | void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1698:173: error: too many arguments to function call, expected 6, have 9 1698 | _functions->StewartPlatform_Types_DiscParameters(_gp_P_base_P_D_, _gp_P_base_P_De_, _gp_P_base_P_thickness_, _gp_P_base_P_mass_, _gp_P_base_P_alpha_, _gp_P_base_P_area_, _gp_P_base_P_volume_, _gp_P_base_P_density_,tmp189); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:194:34: note: expanded from macro '_gp_P_base_P_volume_' 194 | #define _gp_P_base_P_volume_ _pointerToRealVars[49] | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 980 | void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1699:197: error: too many arguments to function call, expected 6, have 9 1699 | _functions->StewartPlatform_Types_DiscParameters(_gp_P_platform_P_D_, _gp_P_platform_P_De_, _gp_P_platform_P_thickness_, _gp_P_platform_P_mass_, _gp_P_platform_P_alpha_, _gp_P_platform_P_area_, _gp_P_platform_P_volume_, _gp_P_platform_P_density_,tmp190); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:302:38: note: expanded from macro '_gp_P_platform_P_volume_' 302 | #define _gp_P_platform_P_volume_ _pointerToRealVars[191] | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 980 | void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:33: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.cpp:1399:173: error: too many arguments to function call, expected 6, have 9 1399 | _functions->StewartPlatform_Types_DiscParameters(_gp_P_base_P_D_, _gp_P_base_P_De_, _gp_P_base_P_thickness_, _gp_P_base_P_mass_, _gp_P_base_P_alpha_, _gp_P_base_P_area_, _gp_P_base_P_volume_, _gp_P_base_P_density_,tmp712); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:194:34: note: expanded from macro '_gp_P_base_P_volume_' 194 | #define _gp_P_base_P_volume_ _pointerToRealVars[49] | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 980 | void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:33: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.cpp:1400:197: error: too many arguments to function call, expected 6, have 9 1400 | _functions->StewartPlatform_Types_DiscParameters(_gp_P_platform_P_D_, _gp_P_platform_P_De_, _gp_P_platform_P_thickness_, _gp_P_platform_P_mass_, _gp_P_platform_P_alpha_, _gp_P_platform_P_area_, _gp_P_platform_P_volume_, _gp_P_platform_P_density_,tmp713); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:302:38: note: expanded from macro '_gp_P_platform_P_volume_' 302 | #define _gp_P_platform_P_volume_ _pointerToRealVars[191] | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 980 | void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:33: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.cpp:1595:15: error: use of undeclared identifier 'switch2_P_poseInput_P_stopTime_' 1595 | f[6] = (switch2_P_poseInput_P_stopTime_ - _simTime - _zeroTol); | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.cpp:1597:37: error: use of undeclared identifier 'switch2_P_poseInput_P_stopTime_' 1597 | f[6] = (_simTime - _zeroTol - switch2_P_poseInput_P_stopTime_); | ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.cpp:1758:30: error: use of undeclared identifier 'switch2_P_poseInput_P_stopTime_' 1758 | tmp722=(_simTime>=switch2_P_poseInput_P_stopTime_); | ^ 12 errors generated. make: *** [: OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.976587587967515] Failed to read output from testmodel.py, exit status != 0: 0.2572633270174265 0.26529203100000004 0.244903171 Calling exit ...