Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.016e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09124, allocations: 50.42 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3992/0.4905, allocations: 105 MB / 447.6 MB, free: 5.496 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.4908, allocations: 91.31 kB / 447.6 MB, free: 5.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6936/1.184, allocations: 122.4 MB / 0.5567 GB, free: 93.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.298e-06/1.184, allocations: 0 / 0.5567 GB, free: 93.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003764/1.185, allocations: 126.9 kB / 0.5568 GB, free: 93.22 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.02155/1.206, allocations: 6.219 MB / 0.5629 GB, free: 90.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.207, allocations: 7.5 kB / 0.5629 GB, free: 90.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01759/1.224, allocations: 2.77 MB / 0.5656 GB, free: 90.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0205/1.245, allocations: 7.249 MB / 0.5727 GB, free: 89.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005173/1.245, allocations: 459 kB / 0.5731 GB, free: 89.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002909/1.248, allocations: 0.598 MB / 0.5737 GB, free: 89.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04102/1.289, allocations: 15.52 MB / 0.5889 GB, free: 84.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000398/1.29, allocations: 82.14 kB / 0.589 GB, free: 84.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002571/1.292, allocations: 284.5 kB / 0.5892 GB, free: 83.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002664/1.295, allocations: 1.463 MB / 0.5907 GB, free: 83.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03369/1.329, allocations: 13.21 MB / 0.6036 GB, free: 78.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09147/1.42, allocations: 68.77 MB / 0.6707 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02423/1.444, allocations: 7.594 MB / 0.6781 GB, free: 6.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01168/1.456, allocations: 4.984 MB / 0.683 GB, free: 1.953 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3187/1.775, allocations: 14.34 MB / 0.697 GB, free: 86.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0241/1.799, allocations: 5.615 MB / 0.7025 GB, free: 86.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 1.106e-05/1.799, allocations: 0 / 0.7025 GB, free: 86.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=388): time 0.264/2.063, allocations: 44.26 MB / 0.7457 GB, free: 77.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/2.063, allocations: 249.1 kB / 0.7459 GB, free: 77.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009512/2.073, allocations: 4.503 MB / 0.7503 GB, free: 75.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001009/2.074, allocations: 88.23 kB / 0.7504 GB, free: 75.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003666/2.078, allocations: 3.877 MB / 0.7542 GB, free: 72.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002182/2.08, allocations: 1.423 MB / 0.7556 GB, free: 71.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/2.081, allocations: 169.4 kB / 0.7558 GB, free: 71.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005259/2.081, allocations: 0.6578 MB / 0.7564 GB, free: 70.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009216/2.091, allocations: 4.56 MB / 0.7609 GB, free: 69.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01573/2.106, allocations: 8.804 MB / 0.7695 GB, free: 61.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/2.123, allocations: 6.331 MB / 0.7756 GB, free: 55.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001604/2.123, allocations: 40 kB / 0.7757 GB, free: 55.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.04742/2.171, allocations: 18.61 MB / 0.7938 GB, free: 40.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/2.171, allocations: 68 kB / 0.7939 GB, free: 40.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/2.171, allocations: 148 kB / 0.7941 GB, free: 40.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02313/2.194, allocations: 6.577 MB / 0.8005 GB, free: 35.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007898/2.202, allocations: 1.813 MB / 0.8022 GB, free: 33.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0641/2.266, allocations: 35.63 MB / 0.837 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009296/2.276, allocations: 0.5907 MB / 0.8376 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002251/2.278, allocations: 0.4921 MB / 0.8381 GB, free: 12.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 905 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,75.5%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002512/2.281, allocations: 0.72 MB / 0.8388 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/2.282, allocations: 0.4898 MB / 0.8393 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3181/2.6, allocations: 13.94 MB / 0.8529 GB, free: 88.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.549e-05/2.6, allocations: 42.56 kB / 0.8529 GB, free: 88.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.7e-05/2.6, allocations: 28.12 kB / 0.853 GB, free: 88.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.584e-05/2.601, allocations: 20.09 kB / 0.853 GB, free: 88.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07199/2.673, allocations: 26.71 MB / 0.8791 GB, free: 86.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-05/2.673, allocations: 3.906 kB / 0.8791 GB, free: 86.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003623/2.676, allocations: 0.5459 MB / 0.8796 GB, free: 86.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02398/2.7, allocations: 6.398 MB / 0.8858 GB, free: 86.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/2.702, allocations: 78.86 kB / 0.8859 GB, free: 86.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06678/2.768, allocations: 34.32 MB / 0.9194 GB, free: 72.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.025e-06/2.768, allocations: 3.562 kB / 0.9194 GB, free: 72.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04704/2.815, allocations: 20.47 MB / 0.9394 GB, free: 64.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/2.817, allocations: 0.576 MB / 0.94 GB, free: 64.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002238/2.82, allocations: 66.97 kB / 0.9401 GB, free: 64.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005042/2.825, allocations: 355 kB / 0.9404 GB, free: 64.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00181/2.827, allocations: 277.9 kB / 0.9407 GB, free: 64.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009611/2.828, allocations: 102.6 kB / 0.9408 GB, free: 64.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007771/2.835, allocations: 3.214 MB / 0.9439 GB, free: 62.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.175e-06/2.835, allocations: 0 / 0.9439 GB, free: 62.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01144/2.847, allocations: 1.929 MB / 0.9458 GB, free: 60.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002681/2.85, allocations: 0.5137 MB / 0.9463 GB, free: 60.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02358/2.873, allocations: 11.78 MB / 0.9578 GB, free: 49.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.639e-06/2.873, allocations: 0 / 0.9578 GB, free: 49.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01234/2.886, allocations: 5.732 MB / 0.9634 GB, free: 44.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004779/2.89, allocations: 0.6091 MB / 0.964 GB, free: 44.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04319/2.934, allocations: 15.47 MB / 0.9791 GB, free: 30.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/2.944, allocations: 4.703 MB / 0.9837 GB, free: 26.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002362/2.946, allocations: 427.2 kB / 0.9841 GB, free: 25.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.353e-06/2.946, allocations: 2.062 kB / 0.9841 GB, free: 25.6 MB / 458.7 MB Notification: Performance of Templates: time 0.8736/3.82, allocations: 220.1 MB / 1.199 GB, free: 124.2 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPullingCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPullingCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPullingCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPullingFunctions.cpp:223:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp21.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPullingCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPullingCalcHelperMain.o] Error 1