Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 270 MB / 282.7 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.538e-05, allocations: 4 kB / 347.1 MB, free: 3.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.391, allocations: 61.87 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.5478, allocations: 87.93 MB / 496.9 MB, free: 2.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.5481, allocations: 75.95 kB / 496.9 MB, free: 2.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01558/0.5637, allocations: 3.664 MB / 0.4889 GB, free: 14.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5638, allocations: 0 / 0.4889 GB, free: 14.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.5638, allocations: 0 / 0.4889 GB, free: 14.89 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.0004452/0.5642, allocations: 370.3 kB / 0.4892 GB, free: 14.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5643, allocations: 8.031 kB / 0.4892 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.5644, allocations: 34.56 kB / 0.4893 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.5644, allocations: 7.906 kB / 0.4893 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.5647, allocations: 190.9 kB / 0.4894 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.5647, allocations: 0 / 0.4894 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.5647, allocations: 15.95 kB / 0.4895 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.5649, allocations: 45.67 kB / 0.4895 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5649, allocations: 3.938 kB / 0.4895 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.5649, allocations: 0 / 0.4895 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.5649, allocations: 0 / 0.4895 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.257e-05/0.565, allocations: 15.94 kB / 0.4895 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.5654, allocations: 284.8 kB / 0.4898 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.5656, allocations: 30.58 kB / 0.4898 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.5657, allocations: 8.859 kB / 0.4898 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.5657, allocations: 12.08 kB / 0.4898 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.5657, allocations: 34.5 kB / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.5658, allocations: 4 kB / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004729/0.5662, allocations: 97.39 kB / 0.49 GB, free: 13.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.5663, allocations: 51.41 kB / 0.49 GB, free: 13.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.5665, allocations: 131 kB / 0.4901 GB, free: 13.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.5665, allocations: 25.7 kB / 0.4902 GB, free: 13.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.5666, allocations: 162.5 kB / 0.4903 GB, free: 13.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.5666, allocations: 11.81 kB / 0.4903 GB, free: 13.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.5667, allocations: 0 / 0.4903 GB, free: 13.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5668, allocations: 322.8 kB / 0.4906 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.5668, allocations: 11.94 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.5669, allocations: 8 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.5669, allocations: 15.98 kB / 0.4907 GB, free: 12.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5669, allocations: 0 / 0.4907 GB, free: 12.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001353/0.5671, allocations: 57.61 kB / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5671, allocations: 4 kB / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5671, allocations: 0 / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5672, allocations: 0 / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.5673, allocations: 19.98 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.5673, allocations: 0 / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.5674, allocations: 7.984 kB / 0.4908 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.5674, allocations: 4 kB / 0.4908 GB, free: 12.71 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.399e-05/0.5675, allocations: 108.9 kB / 0.4909 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.5675, allocations: 8 kB / 0.4909 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.5678, allocations: 73.67 kB / 0.4909 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5678, allocations: 4 kB / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5678, allocations: 0 / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5678, allocations: 8.234 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.5683, allocations: 330.5 kB / 0.4913 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5683, allocations: 0 / 0.4913 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.5684, allocations: 15.98 kB / 0.4913 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5684, allocations: 0 / 0.4913 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.5684, allocations: 0 / 0.4913 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.5684, allocations: 4 kB / 0.4913 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5684, allocations: 4 kB / 0.4913 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.5686, allocations: 159.4 kB / 0.4914 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.5687, allocations: 89 kB / 0.4915 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.5687, allocations: 0 / 0.4915 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.5689, allocations: 7.938 kB / 0.4915 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.5689, allocations: 11.98 kB / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.5689, allocations: 4 kB / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.5691, allocations: 110.4 kB / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5691, allocations: 0 / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.5694, allocations: 23.94 kB / 0.4917 GB, free: 11.67 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.0015/0.5709, allocations: 0.9874 MB / 0.4926 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.5711, allocations: 31.94 kB / 0.4927 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.5711, allocations: 3.938 kB / 0.4927 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.5711, allocations: 12 kB / 0.4927 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.5714, allocations: 18.83 kB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.572, allocations: 184.1 kB / 0.4929 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.5723, allocations: 0.6887 MB / 0.4936 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.5724, allocations: 27.42 kB / 0.4936 GB, free: 9.77 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5724, allocations: 0 / 0.4936 GB, free: 9.77 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_Test2CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2Functions.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_Test2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2FMU.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_Test2CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2CalcHelperMain.o] Error 1