Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.698e-05/2.706e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006644/0.121, allocations: 3.647 MB / 348.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004026/0.125, allocations: 1.567 MB / 350.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006174/0.1257, allocations: 23.94 kB / 350.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008254/0.1266, allocations: 366.7 kB / 350.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.1278, allocations: 394.9 kB / 351 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.1287, allocations: 191.6 kB / 351.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.1301, allocations: 0.4953 MB / 351.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.1305, allocations: 158.2 kB / 351.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000571/0.1311, allocations: 275.3 kB / 352.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/0.1319, allocations: 366.9 kB / 352.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.1322, allocations: 51.94 kB / 352.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1323, allocations: 28 kB / 352.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.1326, allocations: 167.3 kB / 352.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.1328, allocations: 64 kB / 352.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.1342, allocations: 0.9935 MB / 353.7 MB, free: 152 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1342, allocations: 0 / 353.7 MB, free: 152 kB / 282.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1343, allocations: 0 / 353.7 MB, free: 152 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.696e-05/0.1343, allocations: 0 / 353.7 MB, free: 152 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003072/0.1374, allocations: 0.9824 MB / 354.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.1374, allocations: 8.031 kB / 354.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.1378, allocations: 98.78 kB / 354.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.1393, allocations: 0.5115 MB / 355.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.1396, allocations: 53.3 kB / 355.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.1398, allocations: 60 kB / 355.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.142, allocations: 0.6557 MB / 356.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.142, allocations: 11.95 kB / 356.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-05/0.1421, allocations: 24 kB / 356.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.1422, allocations: 16 kB / 356.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.1446, allocations: 0.5829 MB / 356.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006285/0.1509, allocations: 2.56 MB / 359.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.1526, allocations: 490.3 kB / 359.8 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-05/0.1528, allocations: 16.41 kB / 359.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.1528, allocations: 38.98 kB / 359.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 3.737e-06/0.1528, allocations: 3.938 kB / 359.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=60): time 0.008143/0.161, allocations: 1.633 MB / 361.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.1611, allocations: 59.97 kB / 361.5 MB, free: 8.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.1628, allocations: 0.8629 MB / 362.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.1629, allocations: 37.7 kB / 362.4 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.1633, allocations: 410.5 kB / 362.8 MB, free: 6.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.1636, allocations: 201.1 kB / 363 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.1637, allocations: 12 kB / 363 MB, free: 6.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1639, allocations: 338.8 kB / 363.4 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.1651, allocations: 257.2 kB / 363.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.1664, allocations: 359.6 kB / 364 MB, free: 5.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.1676, allocations: 295.1 kB / 364.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.1676, allocations: 0 / 364.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002713/0.1704, allocations: 0.7156 MB / 365 MB, free: 4.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.1704, allocations: 4 kB / 365 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.1705, allocations: 7.984 kB / 365 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.1705, allocations: 4 kB / 365 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.172, allocations: 187.8 kB / 365.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.172, allocations: 4 kB / 365.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.1731, allocations: 55.95 kB / 365.2 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.769e-05/0.1732, allocations: 27.98 kB / 365.2 MB, free: 4.293 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005996/0.1738, allocations: 269.5 kB / 365.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.174, allocations: 82.92 kB / 365.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.1766, allocations: 0.6632 MB / 366.2 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.1767, allocations: 4 kB / 366.3 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.1767, allocations: 4 kB / 366.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.1767, allocations: 3.984 kB / 366.3 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/0.1818, allocations: 1.811 MB / 368.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.1818, allocations: 4 kB / 368.1 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.183, allocations: 139.8 kB / 368.2 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.183, allocations: 7.953 kB / 368.2 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.1831, allocations: 20.17 kB / 368.2 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.1831, allocations: 4 kB / 368.2 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/0.1832, allocations: 11.88 kB / 368.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.1857, allocations: 0.8582 MB / 369.1 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/0.1863, allocations: 200.1 kB / 369.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.1865, allocations: 19.94 kB / 369.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008125/0.1873, allocations: 51.95 kB / 369.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.1875, allocations: 40.34 kB / 369.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.1875, allocations: 20 kB / 369.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001413/0.1889, allocations: 0.6864 MB / 370.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.189, allocations: 0 / 370.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008976/0.1899, allocations: 152 kB / 370.3 MB, free: 15.01 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/0.191, allocations: 358.7 kB / 370.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002681/0.1937, allocations: 0.6123 MB / 371.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.1937, allocations: 448 / 371.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.195, allocations: 310.8 kB / 371.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.1962, allocations: 110.8 kB / 371.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.2008, allocations: 1.886 MB / 373.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008653/0.2017, allocations: 0.9789 MB / 374.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.2022, allocations: 59.41 kB / 374.6 MB, free: 10.72 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2023, allocations: 0 / 374.6 MB, free: 10.72 MB / 314.7 MB Notification: Performance of Templates: time 0.02453/0.2268, allocations: 9.528 MB / 384.1 MB, free: 1.215 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourFunctions.cpp:159:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp78.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.o] Error 1