Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 270 MB / 282.6 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.932e-05/4.937e-05, allocations: 7.938 kB / 347.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.495, allocations: 61.86 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.6556, allocations: 88.04 MB / 497 MB, free: 2.531 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.656, allocations: 75.95 kB / 497 MB, free: 2.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01567/0.6717, allocations: 3.699 MB / 0.489 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6717, allocations: 0 / 0.489 GB, free: 14.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.6717, allocations: 0 / 0.489 GB, free: 14.75 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004453/0.6722, allocations: 362.4 kB / 0.4893 GB, free: 14.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6722, allocations: 12.03 kB / 0.4894 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.6723, allocations: 30.56 kB / 0.4894 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.6723, allocations: 7.906 kB / 0.4894 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.6726, allocations: 192.3 kB / 0.4896 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.6726, allocations: 4 kB / 0.4896 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.6727, allocations: 15.89 kB / 0.4896 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.6728, allocations: 41.69 kB / 0.4896 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6728, allocations: 7.875 kB / 0.4896 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.6729, allocations: 0 / 0.4896 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6729, allocations: 0 / 0.4896 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.727e-05/0.6729, allocations: 19.98 kB / 0.4897 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.6734, allocations: 280.9 kB / 0.4899 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.6737, allocations: 42.5 kB / 0.49 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.6737, allocations: 12.86 kB / 0.49 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.6738, allocations: 0 / 0.49 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.6738, allocations: 34.56 kB / 0.49 GB, free: 13.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.6738, allocations: 4 kB / 0.49 GB, free: 13.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004967/0.6743, allocations: 109.4 kB / 0.4901 GB, free: 13.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.6744, allocations: 55.41 kB / 0.4902 GB, free: 13.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.6745, allocations: 131.3 kB / 0.4903 GB, free: 13.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.6746, allocations: 25.7 kB / 0.4903 GB, free: 13.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.6747, allocations: 158.6 kB / 0.4905 GB, free: 13.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.6747, allocations: 19.78 kB / 0.4905 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.6747, allocations: 0 / 0.4905 GB, free: 13.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6749, allocations: 318.8 kB / 0.4908 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.6749, allocations: 12 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/0.675, allocations: 12 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.675, allocations: 15.98 kB / 0.4908 GB, free: 12.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.675, allocations: 0 / 0.4908 GB, free: 12.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001529/0.6752, allocations: 65.59 kB / 0.4909 GB, free: 12.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6752, allocations: 8 kB / 0.4909 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6752, allocations: 0 / 0.4909 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.6753, allocations: 0 / 0.4909 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.6754, allocations: 23.92 kB / 0.4909 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6754, allocations: 0 / 0.4909 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.6755, allocations: 4 kB / 0.4909 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.6755, allocations: 144 / 0.4909 GB, free: 12.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.612e-05/0.6756, allocations: 108.9 kB / 0.491 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.6756, allocations: 11.98 kB / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.6759, allocations: 77.67 kB / 0.4911 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.6759, allocations: 4 kB / 0.4911 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.6759, allocations: 4.297 kB / 0.4911 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6759, allocations: 3.938 kB / 0.4911 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.6764, allocations: 342.5 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6764, allocations: 0 / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.6765, allocations: 15.98 kB / 0.4915 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6766, allocations: 0 / 0.4915 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.6766, allocations: 0 / 0.4915 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.6766, allocations: 4 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6766, allocations: 3.938 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.6768, allocations: 171.3 kB / 0.4916 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.6769, allocations: 85 kB / 0.4917 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.6769, allocations: 8 kB / 0.4917 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.677, allocations: 4 kB / 0.4917 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.6771, allocations: 3.984 kB / 0.4917 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.6771, allocations: 8 kB / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.6772, allocations: 107.3 kB / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6772, allocations: 0 / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003453/0.6776, allocations: 19.94 kB / 0.4919 GB, free: 11.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001526/0.6791, allocations: 0.9926 MB / 0.4928 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.6793, allocations: 32 kB / 0.4929 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6793, allocations: 3.938 kB / 0.4929 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.254e-05/0.6794, allocations: 23.98 kB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.6797, allocations: 11.98 kB / 0.4929 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.6803, allocations: 192 kB / 0.4931 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.6806, allocations: 0.6965 MB / 0.4938 GB, free: 9.574 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.6807, allocations: 23.42 kB / 0.4938 GB, free: 9.551 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6807, allocations: 0 / 0.4938 GB, free: 9.551 MB / 426.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 OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1Functions.cpp:194:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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 OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1FMU.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 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test1CalcHelperMain.o] Error 1