Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.4e-05, allocations: 4 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3901, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.5519, allocations: 88.04 MB / 497 MB, free: 2.617 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5522, allocations: 71.95 kB / 497 MB, free: 2.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01929/0.5716, allocations: 4.176 MB / 0.4895 GB, free: 14.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5716, allocations: 0 / 0.4895 GB, free: 14.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.5717, allocations: 4 kB / 0.4895 GB, free: 14.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004971/0.5722, allocations: 394.1 kB / 0.4898 GB, free: 13.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.5722, allocations: 8.031 kB / 0.4898 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.767e-05/0.5723, allocations: 42.44 kB / 0.4899 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.5724, allocations: 7.906 kB / 0.4899 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.5727, allocations: 191 kB / 0.4901 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5727, allocations: 8 kB / 0.4901 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.5727, allocations: 7.953 kB / 0.4901 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.5729, allocations: 49.67 kB / 0.4901 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5729, allocations: 0 / 0.4901 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5729, allocations: 0 / 0.4901 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.573, allocations: 4 kB / 0.4901 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.429e-05/0.573, allocations: 15.98 kB / 0.4902 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.5736, allocations: 304.6 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.5737, allocations: 38.56 kB / 0.4905 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.5738, allocations: 12.86 kB / 0.4905 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.5738, allocations: 3.938 kB / 0.4905 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.5738, allocations: 34.56 kB / 0.4905 GB, free: 13.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.5738, allocations: 0 / 0.4905 GB, free: 13.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007239/0.5746, allocations: 149.3 kB / 0.4907 GB, free: 12.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.5746, allocations: 55.41 kB / 0.4907 GB, free: 12.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.5749, allocations: 172 kB / 0.4909 GB, free: 12.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.575, allocations: 25.7 kB / 0.4909 GB, free: 12.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.5751, allocations: 170.5 kB / 0.4911 GB, free: 12.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.5751, allocations: 27.56 kB / 0.4911 GB, free: 12.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.5752, allocations: 0 / 0.4911 GB, free: 12.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5753, allocations: 318.8 kB / 0.4914 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.5754, allocations: 19.98 kB / 0.4914 GB, free: 12.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.5754, allocations: 24.12 kB / 0.4915 GB, free: 12.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.5755, allocations: 16 kB / 0.4915 GB, free: 12.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5755, allocations: 0 / 0.4915 GB, free: 12.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001846/0.5757, allocations: 73.69 kB / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5758, allocations: 8 kB / 0.4915 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5758, allocations: 0 / 0.4915 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5758, allocations: 3.938 kB / 0.4916 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.576, allocations: 19.98 kB / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.576, allocations: 4 kB / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.5761, allocations: 7.984 kB / 0.4916 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.5761, allocations: 8 kB / 0.4916 GB, free: 11.96 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 (8): * Single equations (assignments): 8 * 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.186e-05/0.5762, allocations: 108.9 kB / 0.4917 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.5763, allocations: 11.91 kB / 0.4917 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.5766, allocations: 98.14 kB / 0.4918 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5766, allocations: 0 / 0.4918 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5766, allocations: 4 kB / 0.4918 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.5766, allocations: 4 kB / 0.4918 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006541/0.5773, allocations: 391.3 kB / 0.4922 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5773, allocations: 0 / 0.4922 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.5775, allocations: 19.98 kB / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.5775, allocations: 0 / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.5775, allocations: 4 kB / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.5775, allocations: 7.969 kB / 0.4922 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5775, allocations: 0 / 0.4922 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.5778, allocations: 206.3 kB / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.5779, allocations: 92.92 kB / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.578, allocations: 4 kB / 0.4925 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5781, allocations: 12.27 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.5782, allocations: 11.95 kB / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.5782, allocations: 0 / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002021/0.5784, allocations: 149.1 kB / 0.4927 GB, free: 10.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5784, allocations: 0 / 0.4927 GB, free: 10.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003698/0.5788, allocations: 28 kB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001924/0.5807, allocations: 1.151 MB / 0.4938 GB, free: 9.695 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.581, allocations: 43.94 kB / 0.4939 GB, free: 9.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.581, allocations: 0 / 0.4939 GB, free: 9.652 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.5811, allocations: 24 kB / 0.4939 GB, free: 9.629 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.5814, allocations: 19.94 kB / 0.4939 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.5822, allocations: 257.1 kB / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.5826, allocations: 0.7083 MB / 0.4948 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.5827, allocations: 31.42 kB / 0.4949 GB, free: 8.543 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5827, allocations: 3.938 kB / 0.4949 GB, free: 8.539 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_Test3CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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_Test3CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3FMU.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_Test3CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3CalcHelperMain.o] Error 1