Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.908/1.908, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.101e-05, allocations: 4 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09145, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.4687, allocations: 92.09 MB / 434.6 MB, free: 2.207 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.469, allocations: 85.08 kB / 434.7 MB, free: 2.164 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Magnetic/FluxTubes/Examples/MovingCoilActuator/Components/ConstantActuator.mo:67:3-67:83:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.09146/0.5605, allocations: 22.69 MB / 457.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.102e-06/0.5605, allocations: 3.938 kB / 457.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.057e-05/0.5606, allocations: 27.98 kB / 457.4 MB, free: 15.06 MB / 378.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.003151/0.5638, allocations: 1.22 MB / 458.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.5639, allocations: 16.03 kB / 458.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.5643, allocations: 126.5 kB / 458.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.5658, allocations: 0.662 MB / 459.5 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.566, allocations: 77.62 kB / 459.5 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.5662, allocations: 95.16 kB / 459.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.5685, allocations: 0.9258 MB / 460.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.5685, allocations: 0 / 460.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.5687, allocations: 46.48 kB / 460.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.5687, allocations: 24 kB / 460.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.5707, allocations: 0.7518 MB / 461.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008844/0.5796, allocations: 3.86 MB / 465.2 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.5823, allocations: 0.8342 MB / 466.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000949/0.5833, allocations: 370.7 kB / 466.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.581e-05/0.5834, allocations: 16.48 kB / 466.5 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.5835, allocations: 39.12 kB / 466.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 4.567e-06/0.5835, allocations: 0 / 466.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.005117/0.5886, allocations: 1.645 MB / 468.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.5887, allocations: 89.53 kB / 468.2 MB, free: 5.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.5904, allocations: 0.809 MB / 469 MB, free: 4.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.5906, allocations: 41.7 kB / 469.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/0.591, allocations: 0.5054 MB / 469.6 MB, free: 3.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.5914, allocations: 295.7 kB / 469.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.5915, allocations: 20 kB / 469.9 MB, free: 3.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.5917, allocations: 354.8 kB / 470.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008237/0.5925, allocations: 301.9 kB / 470.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009684/0.5935, allocations: 460 kB / 471 MB, free: 2.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.5944, allocations: 335.1 kB / 471.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.5945, allocations: 4 kB / 471.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002205/0.5967, allocations: 0.8506 MB / 472.2 MB, free: 1.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.5967, allocations: 8 kB / 472.2 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.5968, allocations: 4 kB / 472.2 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/0.5968, allocations: 11.98 kB / 472.2 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.5987, allocations: 356 kB / 472.5 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.5988, allocations: 8 kB / 472.5 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.6001, allocations: 123.9 kB / 472.7 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6002, allocations: 39.94 kB / 472.7 MB, free: 488 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0002713/0.6005, allocations: 166.7 kB / 472.9 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.6008, allocations: 98.88 kB / 473 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.6018, allocations: 354.2 kB / 473.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.6018, allocations: 8 kB / 473.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.337e-06/0.6019, allocations: 4 kB / 473.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.6019, allocations: 7.984 kB / 473.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006574/0.6085, allocations: 2.865 MB / 476.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.6085, allocations: 8.188 kB / 476.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.6099, allocations: 275.5 kB / 476.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-05/0.61, allocations: 20 kB / 476.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/0.6101, allocations: 28 kB / 476.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-05/0.6101, allocations: 19.92 kB / 476.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/0.6101, allocations: 15.94 kB / 476.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.6128, allocations: 1.681 MB / 478.2 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.6133, allocations: 203.9 kB / 478.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.6135, allocations: 31.98 kB / 478.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.6145, allocations: 87.88 kB / 478.5 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.6147, allocations: 87.7 kB / 478.6 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.944e-05/0.6149, allocations: 35.98 kB / 478.7 MB, free: 9.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001269/0.6161, allocations: 0.628 MB / 479.3 MB, free: 9.211 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.4e-07/0.6162, allocations: 4 kB / 479.3 MB, free: 9.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001312/0.6175, allocations: 239.9 kB / 479.5 MB, free: 8.973 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.00138/0.6189, allocations: 412.8 kB / 479.9 MB, free: 8.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.6207, allocations: 0.6867 MB / 480.6 MB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.6208, allocations: 4 kB / 480.6 MB, free: 7.969 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.6218, allocations: 399 kB / 481 MB, free: 7.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.6233, allocations: 191.2 kB / 481.2 MB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.6276, allocations: 1.599 MB / 482.8 MB, free: 5.625 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.6287, allocations: 1.053 MB / 483.9 MB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005698/0.6293, allocations: 91.39 kB / 483.9 MB, free: 4.457 MB / 394.7 MB Notification: Performance of SimCode: time 1.772e-06/0.6293, allocations: 0 / 483.9 MB, free: 4.457 MB / 394.7 MB Notification: Performance of Templates: time 0.02644/0.6558, allocations: 13.1 MB / 497 MB, free: 7.391 MB / 410.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 -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.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:28: ./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(), tmp30.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