Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 2.093/2.093, allocations: 224.7 MB / 241.1 MB, free: 1.703 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.048e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 50.41 MB / 345 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008555/0.1179, allocations: 5.046 MB / 350 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005042/0.123, allocations: 1.929 MB / 351.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/0.1239, allocations: 27.94 kB / 352 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.1247, allocations: 282.6 kB / 352.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.1262, allocations: 458.6 kB / 352.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1273, allocations: 263.5 kB / 353 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.1291, allocations: 0.7292 MB / 353.7 MB, free: 220 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005846/0.1297, allocations: 263.3 kB / 353.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007151/0.1305, allocations: 395 kB / 354.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008809/0.1314, allocations: 486.4 kB / 354.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.1317, allocations: 63.94 kB / 354.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.1319, allocations: 48 kB / 354.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.1322, allocations: 199.2 kB / 355.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.1325, allocations: 107.9 kB / 355.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.1346, allocations: 1.515 MB / 356.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1346, allocations: 0 / 356.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1347, allocations: 0 / 356.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.805e-05/0.1347, allocations: 4 kB / 356.7 MB, free: 13.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004238/0.1389, allocations: 1.263 MB / 358 MB, free: 11.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.139, allocations: 12.03 kB / 358 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.1394, allocations: 130.4 kB / 358.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.1412, allocations: 0.6765 MB / 358.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.1414, allocations: 81.98 kB / 358.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.1416, allocations: 95.91 kB / 359 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/0.1451, allocations: 1.029 MB / 360 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.1452, allocations: 3.953 kB / 360 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.1453, allocations: 36 kB / 360.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.1454, allocations: 24 kB / 360.1 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003849/0.1492, allocations: 0.942 MB / 361 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009051/0.1583, allocations: 3.695 MB / 364.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00611/0.1645, allocations: 1.091 MB / 365.8 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.1646, allocations: 12.11 kB / 365.8 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.1647, allocations: 38.75 kB / 365.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 3.507e-06/0.1647, allocations: 0 / 365.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.009071/0.1738, allocations: 1.973 MB / 367.8 MB, free: 1.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.1739, allocations: 89.11 kB / 367.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.1758, allocations: 0.8679 MB / 368.8 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.1759, allocations: 37.7 kB / 368.8 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/0.1764, allocations: 0.5245 MB / 369.3 MB, free: 192 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.1767, allocations: 236.8 kB / 369.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/0.1768, allocations: 12 kB / 369.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.177, allocations: 342.8 kB / 369.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.1788, allocations: 381.8 kB / 370.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.1807, allocations: 0.5536 MB / 370.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.1826, allocations: 426 kB / 371.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1826, allocations: 4 kB / 371.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004129/0.1867, allocations: 1.02 MB / 372.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.1868, allocations: 11.78 kB / 372.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.1868, allocations: 4 kB / 372.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/0.1869, allocations: 19.97 kB / 372.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/0.1894, allocations: 319.5 kB / 372.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.212e-05/0.1895, allocations: 15.98 kB / 372.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.1911, allocations: 95.92 kB / 372.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/0.1912, allocations: 31.94 kB / 372.8 MB, free: 12.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.000665/0.1918, allocations: 283.8 kB / 373.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.1921, allocations: 102.8 kB / 373.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.1939, allocations: 432.3 kB / 373.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.1939, allocations: 8 kB / 373.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1939, allocations: 0 / 373.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.194, allocations: 3.984 kB / 373.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006692/0.2007, allocations: 2.337 MB / 375.9 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.2007, allocations: 8 kB / 375.9 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.2025, allocations: 240.5 kB / 376.2 MB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.271e-05/0.2026, allocations: 11.98 kB / 376.2 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/0.2026, allocations: 20 kB / 376.2 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-05/0.2027, allocations: 19.92 kB / 376.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/0.2027, allocations: 15.88 kB / 376.2 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/0.2061, allocations: 1.396 MB / 377.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.2066, allocations: 191.8 kB / 377.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.2068, allocations: 20 kB / 377.8 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.208, allocations: 63.94 kB / 377.9 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.2082, allocations: 63.83 kB / 378 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/0.2083, allocations: 24 kB / 378 MB, free: 7.004 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001514/0.2098, allocations: 0.6747 MB / 378.7 MB, free: 6.336 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.2098, allocations: 0 / 378.7 MB, free: 6.336 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00135/0.2112, allocations: 208 kB / 378.9 MB, free: 6.133 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.001164/0.2124, allocations: 378.4 kB / 379.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003614/0.216, allocations: 0.8154 MB / 380 MB, free: 5.039 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/0.2161, allocations: 4 kB / 380 MB, free: 5.035 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.2178, allocations: 389.8 kB / 380.4 MB, free: 4.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.2195, allocations: 179.1 kB / 380.6 MB, free: 4.477 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005904/0.2254, allocations: 2.296 MB / 382.9 MB, free: 2.062 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008742/0.2263, allocations: 1.041 MB / 383.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/0.227, allocations: 83.41 kB / 384 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.227, allocations: 0 / 384 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of Templates: time 0.03082/0.2578, allocations: 12.56 MB / 396.6 MB, free: 4.402 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviourCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourFunctions.cpp:159:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp115.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.ForceCurrentBehaviourCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.o] Error 1