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.001332/0.001332, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 220.2 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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.03255/0.03255, allocations: 6.591 MB / 319.8 MB, free: 12.61 MB / 254.1 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: StewartPlatform requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 72.17 kB / 445.1 MB, free: 4.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1382, allocations: 54.86 MB / 0.4883 GB, free: 13.85 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.005984/0.1442, allocations: 3.914 MB / 0.4921 GB, free: 9.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007457/0.1516, allocations: 4.298 MB / 0.4963 GB, free: 5.602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006576/0.1523, allocations: 12 kB / 0.4963 GB, free: 5.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1534, allocations: 314.2 kB / 0.4966 GB, free: 5.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.1576, allocations: 1.382 MB / 0.498 GB, free: 3.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.1583, allocations: 235.4 kB / 0.4982 GB, free: 3.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005553/0.1639, allocations: 3.56 MB / 0.5017 GB, free: 100 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.165, allocations: 0.5386 MB / 0.5022 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.1664, allocations: 0.6735 MB / 0.5029 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.1679, allocations: 0.9028 MB / 0.5037 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.1681, allocations: 116 kB / 0.5038 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.171, allocations: 1.15 MB / 0.505 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.1721, allocations: 0.939 MB / 0.5059 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.1732, allocations: 0.9171 MB / 0.5068 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00438/0.1776, allocations: 2.9 MB / 0.5096 GB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1776, allocations: 0 / 0.5096 GB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1776, allocations: 0 / 0.5096 GB, free: 7.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.479e-05/0.1776, allocations: 0 / 0.5096 GB, free: 7.895 MB / 382.1 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.005237/0.1829, allocations: 2.393 MB / 0.5119 GB, free: 5.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1829, allocations: 8.031 kB / 0.512 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.1842, allocations: 327.4 kB / 0.5123 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.1878, allocations: 1.874 MB / 0.5141 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007548/0.1885, allocations: 0.7772 MB / 0.5149 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1887, allocations: 68.38 kB / 0.5149 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.1922, allocations: 1.623 MB / 0.5165 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1922, allocations: 3.938 kB / 0.5165 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.1924, allocations: 32 kB / 0.5165 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/0.1924, allocations: 34 kB / 0.5166 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2939/0.4863, allocations: 1.852 MB / 0.5184 GB, free: 30.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006209/0.4925, allocations: 3.433 MB / 0.5217 GB, free: 29.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.4948, allocations: 0.7127 MB / 0.5224 GB, free: 29.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/0.4967, allocations: 0.6223 MB / 0.523 GB, free: 29.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.03e-05/0.4968, allocations: 3.562 kB / 0.523 GB, free: 29.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002204/0.499, allocations: 0.7495 MB / 0.5238 GB, free: 29.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 3.507e-06/0.499, allocations: 0 / 0.5238 GB, free: 29.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.006548/0.5055, allocations: 1.976 MB / 0.5257 GB, free: 29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.5056, allocations: 136.5 kB / 0.5258 GB, free: 28.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004434/0.51, allocations: 2.425 MB / 0.5282 GB, free: 28.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/0.5101, allocations: 31.52 kB / 0.5282 GB, free: 27.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007516/0.5109, allocations: 0.7844 MB / 0.529 GB, free: 27.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.511, allocations: 91.48 kB / 0.5291 GB, free: 27.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/0.5114, allocations: 206.7 kB / 0.5293 GB, free: 27.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.5115, allocations: 336 kB / 0.5296 GB, free: 26.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.5138, allocations: 0.8656 MB / 0.5304 GB, free: 26.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.516, allocations: 0.9626 MB / 0.5314 GB, free: 26.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00352/0.5195, allocations: 1.382 MB / 0.5327 GB, free: 25.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5195, allocations: 3.906 kB / 0.5327 GB, free: 25.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004878/0.5244, allocations: 1.964 MB / 0.5347 GB, free: 24.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.5244, allocations: 6.062 kB / 0.5347 GB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.5245, allocations: 1.156 kB / 0.5347 GB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.064e-05/0.5245, allocations: 2.406 kB / 0.5347 GB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009587/0.5255, allocations: 204.3 kB / 0.5349 GB, free: 24.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.5255, allocations: 6.875 kB / 0.5349 GB, free: 24.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.5273, allocations: 202.9 kB / 0.5351 GB, free: 24.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/0.5274, allocations: 22.36 kB / 0.5351 GB, free: 24.8 MB / 382.1 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.001147/0.5285, allocations: 0.6062 MB / 0.5357 GB, free: 24.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.5288, allocations: 172.6 kB / 0.5358 GB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.529, allocations: 177.4 kB / 0.536 GB, free: 24.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.529, allocations: 6.031 kB / 0.536 GB, free: 24.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.5291, allocations: 6.969 kB / 0.536 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5291, allocations: 3.984 kB / 0.536 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.5308, allocations: 1.371 MB / 0.5374 GB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5308, allocations: 0 / 0.5374 GB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/0.5315, allocations: 163.7 kB / 0.5375 GB, free: 23.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.5316, allocations: 1.469 kB / 0.5375 GB, free: 23.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.5316, allocations: 5.438 kB / 0.5375 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.5316, allocations: 2.859 kB / 0.5375 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5316, allocations: 3.938 kB / 0.5375 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/0.5352, allocations: 1.407 MB / 0.5389 GB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.5356, allocations: 200.9 kB / 0.5391 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.5358, allocations: 14.36 kB / 0.5391 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.5368, allocations: 153 kB / 0.5393 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.5371, allocations: 86.58 kB / 0.5393 GB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.5372, allocations: 13.61 kB / 0.5394 GB, free: 22.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002656/0.5398, allocations: 1.752 MB / 0.5411 GB, free: 21.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5398, allocations: 0 / 0.5411 GB, free: 21.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001453/0.5413, allocations: 0.5508 MB / 0.5416 GB, free: 21.23 MB / 382.1 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.0009984/0.5423, allocations: 0.5058 MB / 0.5421 GB, free: 21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003579/0.5459, allocations: 1.555 MB / 0.5436 GB, free: 20.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5459, allocations: 4 kB / 0.5436 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.5475, allocations: 0.6484 MB / 0.5443 GB, free: 19.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/0.5504, allocations: 0.9497 MB / 0.5452 GB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.5551, allocations: 3.36 MB / 0.5485 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.5559, allocations: 1.488 MB / 0.5499 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/0.5564, allocations: 94.02 kB / 0.55 GB, free: 14.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.044e-06/0.5564, allocations: 0 / 0.55 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Templates: time 0.04806/0.6045, allocations: 30.97 MB / 0.5802 GB, free: 15.57 MB / 414.1 MB " [Timeout remaining time 659] 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 -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/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_' 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 _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_' #define _gp_P_base_P_volume_ _pointerToRealVars[49] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 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 _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_' #define _gp_P_platform_P_volume_ _pointerToRealVars[191] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 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:1592:173: error: too many arguments to function call, expected 6, have 9 _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_' #define _gp_P_base_P_volume_ _pointerToRealVars[49] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 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:1593:197: error: too many arguments to function call, expected 6, have 9 _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_' #define _gp_P_platform_P_volume_ _pointerToRealVars[191] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 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:1692:173: error: too many arguments to function call, expected 6, have 9 _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_' #define _gp_P_base_P_volume_ _pointerToRealVars[49] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 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:1693:197: error: too many arguments to function call, expected 6, have 9 _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_' #define _gp_P_platform_P_volume_ _pointerToRealVars[191] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 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 _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_,tmp736); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:194:34: note: expanded from macro '_gp_P_base_P_volume_' #define _gp_P_base_P_volume_ _pointerToRealVars[49] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 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 _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_,tmp737); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:302:38: note: expanded from macro '_gp_P_platform_P_volume_' #define _gp_P_platform_P_volume_ _pointerToRealVars[191] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here 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_' 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_' 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_' tmp746=(_simTime>=switch2_P_poseInput_P_stopTime_); ^ 12 errors generated. make: *** [: OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.127016955986619] Failed to read output from testmodel.py, exit status != 0: 0.6129024389665574 0.629065933 0.448089787 Calling exit ...