Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.135e-05, allocations: 4 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4415/0.5427, allocations: 89.86 MB / 432.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.5431, allocations: 87.7 kB / 432.6 MB, free: 3.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07459/0.6177, allocations: 16.25 MB / 448.8 MB, free: 6.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6177, allocations: 0 / 448.8 MB, free: 6.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.798e-05/0.6178, allocations: 16 kB / 448.8 MB, free: 6.215 MB / 362.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.004044/0.6219, allocations: 0.9749 MB / 449.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.622, allocations: 8.031 kB / 449.8 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003643/0.6224, allocations: 106.1 kB / 449.9 MB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.6228, allocations: 102.9 kB / 450 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.6248, allocations: 0.5338 MB / 450.6 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.625, allocations: 43.5 kB / 450.6 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.6253, allocations: 65.02 kB / 450.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.6279, allocations: 0.5961 MB / 451.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-05/0.628, allocations: 3.938 kB / 451.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.6282, allocations: 27.94 kB / 451.3 MB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.6282, allocations: 20 kB / 451.3 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.6308, allocations: 0.4906 MB / 451.8 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009542/0.6404, allocations: 2.648 MB / 454.5 MB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.6422, allocations: 453 kB / 454.9 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.6436, allocations: 270 kB / 455.2 MB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.6438, allocations: 8.438 kB / 455.2 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.6439, allocations: 42.31 kB / 455.2 MB, free: 1.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 5.45e-06/0.6439, allocations: 0 / 455.2 MB, free: 1.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.009448/0.6533, allocations: 1.37 MB / 456.6 MB, free: 12 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/0.6535, allocations: 59.78 kB / 456.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.6561, allocations: 0.8388 MB / 457.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.6563, allocations: 37.2 kB / 457.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.6568, allocations: 414 kB / 457.9 MB, free: 14.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.6572, allocations: 213.1 kB / 458.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.6573, allocations: 15 kB / 458.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.6575, allocations: 341.2 kB / 458.5 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000902/0.6584, allocations: 205.4 kB / 458.7 MB, free: 14.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.6594, allocations: 307.6 kB / 459 MB, free: 14.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.6605, allocations: 234.6 kB / 459.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.6605, allocations: 0 / 459.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002608/0.6631, allocations: 0.6135 MB / 459.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.6632, allocations: 4 kB / 459.8 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.6632, allocations: 4.281 kB / 459.8 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/0.6633, allocations: 8 kB / 459.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.6657, allocations: 191.7 kB / 460 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/0.6658, allocations: 8 kB / 460 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.6674, allocations: 59.95 kB / 460.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.6676, allocations: 31.98 kB / 460.1 MB, free: 13.11 MB / 378.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 (88): * Single equations (assignments): 88 * 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.000307/0.6679, allocations: 152.7 kB / 460.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.6682, allocations: 82.97 kB / 460.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.6706, allocations: 0.5737 MB / 460.9 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.6707, allocations: 4 kB / 460.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.6707, allocations: 4 kB / 460.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.6707, allocations: 3.984 kB / 460.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00665/0.6774, allocations: 1.862 MB / 462.8 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.6775, allocations: 4 kB / 462.8 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.6793, allocations: 156.1 kB / 463 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.362e-05/0.6793, allocations: 4 kB / 463 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.68e-05/0.6794, allocations: 16 kB / 463 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.811e-05/0.6795, allocations: 7.984 kB / 463 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/0.6795, allocations: 7.938 kB / 463 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.6819, allocations: 0.8252 MB / 463.8 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008021/0.6828, allocations: 244 kB / 464.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.683, allocations: 12 kB / 464.1 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.6844, allocations: 59.95 kB / 464.1 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.6846, allocations: 52.44 kB / 464.2 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.337e-05/0.6847, allocations: 20 kB / 464.2 MB, free: 8.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001981/0.6867, allocations: 0.6671 MB / 464.9 MB, free: 8.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.6867, allocations: 0 / 464.9 MB, free: 8.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001579/0.6883, allocations: 184 kB / 465 MB, free: 7.906 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (66): * Single equations (assignments): 66 * 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.004532/0.6929, allocations: 2.398 MB / 467.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.6952, allocations: 0.5021 MB / 467.9 MB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.6952, allocations: 0 / 467.9 MB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.6963, allocations: 270.8 kB / 468.2 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.6979, allocations: 114.7 kB / 468.3 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/0.7035, allocations: 1.394 MB / 469.7 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008016/0.7043, allocations: 0.9827 MB / 470.7 MB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000909/0.7053, allocations: 299.3 kB / 471 MB, free: 1.852 MB / 378.7 MB Notification: Performance of SimCode: time 1.362e-06/0.7053, allocations: 0 / 471 MB, free: 1.852 MB / 378.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -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:28: ./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(), tmp22.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, ^ In file included from OMCppModelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviourCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviourFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 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