Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.618/2.618, allocations: 270 MB / 282.6 MB, free: 1.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.254e-05, allocations: 7.984 kB / 347.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4263, allocations: 61.86 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.588, allocations: 87.94 MB / 496.9 MB, free: 2.688 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.5883, allocations: 71.97 kB / 496.9 MB, free: 2.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01678/0.6051, allocations: 3.749 MB / 0.4889 GB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6052, allocations: 4 kB / 0.4889 GB, free: 14.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.6052, allocations: 0 / 0.4889 GB, free: 14.85 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.0004943/0.6057, allocations: 366.4 kB / 0.4893 GB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.6058, allocations: 12.03 kB / 0.4893 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.6058, allocations: 42.55 kB / 0.4893 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.6059, allocations: 7.906 kB / 0.4894 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.6062, allocations: 190.8 kB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.6062, allocations: 7.891 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.6063, allocations: 7.984 kB / 0.4896 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.6064, allocations: 41.7 kB / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6064, allocations: 3.906 kB / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.6064, allocations: 0 / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.6065, allocations: 0 / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.6065, allocations: 15.98 kB / 0.4896 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.607, allocations: 284.9 kB / 0.4899 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.6073, allocations: 34.52 kB / 0.4899 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.6073, allocations: 12.86 kB / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.6074, allocations: 0 / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.6074, allocations: 38.56 kB / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.6074, allocations: 0 / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005282/0.6079, allocations: 105.4 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.608, allocations: 51.41 kB / 0.4901 GB, free: 13.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.6082, allocations: 159.8 kB / 0.4903 GB, free: 13.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.6083, allocations: 25.7 kB / 0.4903 GB, free: 13.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.6084, allocations: 162.5 kB / 0.4904 GB, free: 13.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.6084, allocations: 19.8 kB / 0.4905 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.6084, allocations: 0 / 0.4905 GB, free: 13.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6086, allocations: 314.8 kB / 0.4908 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.6086, allocations: 8 kB / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.384e-05/0.6087, allocations: 8 kB / 0.4908 GB, free: 12.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.054e-05/0.6087, allocations: 15.98 kB / 0.4908 GB, free: 12.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6087, allocations: 0 / 0.4908 GB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001467/0.6089, allocations: 57.59 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.6089, allocations: 4 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6089, allocations: 0 / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.609, allocations: 11.94 kB / 0.4909 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.6091, allocations: 12.25 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.6091, allocations: 0 / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.6092, allocations: 15.98 kB / 0.4909 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.6093, allocations: 4.094 kB / 0.4909 GB, free: 12.64 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 8.219e-05/0.6093, allocations: 105 kB / 0.491 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.6094, allocations: 15.83 kB / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.6096, allocations: 73.77 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.6096, allocations: 0 / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6097, allocations: 0 / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6097, allocations: 0 / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.6102, allocations: 338.5 kB / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6102, allocations: 0 / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.6103, allocations: 15.98 kB / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6103, allocations: 0 / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.6104, allocations: 4 kB / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.6104, allocations: 4 kB / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6104, allocations: 3.984 kB / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.6106, allocations: 163.3 kB / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.6107, allocations: 85.02 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.6107, allocations: 7.984 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6109, allocations: 11.94 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.6109, allocations: 7.984 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.6109, allocations: 4 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001527/0.6111, allocations: 125.8 kB / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6111, allocations: 0 / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.6114, allocations: 23.94 kB / 0.4918 GB, free: 11.57 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.001544/0.613, allocations: 0.9861 MB / 0.4928 GB, free: 10.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.6132, allocations: 28 kB / 0.4928 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6133, allocations: 4 kB / 0.4928 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.587e-05/0.6133, allocations: 16 kB / 0.4928 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.6137, allocations: 26.72 kB / 0.4929 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.6143, allocations: 197 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.6147, allocations: 0.6965 MB / 0.4937 GB, free: 9.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.772e-05/0.6148, allocations: 27.42 kB / 0.4938 GB, free: 9.633 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6148, allocations: 0 / 0.4938 GB, free: 9.633 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_CombiTable1Ds_Test11CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11Functions.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_CombiTable1Ds_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11FMU.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_CombiTable1Ds_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.o] Error 1