Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.553/2.553, allocations: 270 MB / 282.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.827e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.3999, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.5915, allocations: 88.14 MB / 497.1 MB, free: 2.391 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.5918, allocations: 71.97 kB / 497.1 MB, free: 2.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0184/0.6102, allocations: 4.281 MB / 0.4897 GB, free: 14.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.378e-06/0.6102, allocations: 3.984 kB / 0.4897 GB, free: 14.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.6103, allocations: 4 kB / 0.4897 GB, free: 14.02 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.0005088/0.6108, allocations: 390.2 kB / 0.49 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.6109, allocations: 12.03 kB / 0.4901 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.485e-05/0.6109, allocations: 34.56 kB / 0.4901 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.611, allocations: 11.84 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.6113, allocations: 203.8 kB / 0.4903 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.6113, allocations: 8 kB / 0.4903 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.6114, allocations: 3.953 kB / 0.4903 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.6115, allocations: 57.56 kB / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.6115, allocations: 0 / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6116, allocations: 0 / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6116, allocations: 4 kB / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.6117, allocations: 19.98 kB / 0.4904 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.6122, allocations: 304.8 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.6123, allocations: 42.5 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.6124, allocations: 16.86 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.6124, allocations: 0 / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.6125, allocations: 30.56 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.6125, allocations: 4 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007578/0.6133, allocations: 169.3 kB / 0.4909 GB, free: 12.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.6133, allocations: 55.41 kB / 0.491 GB, free: 12.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.6136, allocations: 184.9 kB / 0.4912 GB, free: 12.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.6137, allocations: 25.7 kB / 0.4912 GB, free: 12.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.6138, allocations: 166.5 kB / 0.4913 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.6138, allocations: 23.66 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.6138, allocations: 4 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.614, allocations: 322.8 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.614, allocations: 20 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.6141, allocations: 20 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.843e-05/0.6142, allocations: 24.22 kB / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.6142, allocations: 0 / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002159/0.6145, allocations: 93.58 kB / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6145, allocations: 4 kB / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6145, allocations: 4 kB / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.6145, allocations: 0 / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.6147, allocations: 27.92 kB / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6148, allocations: 0 / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.6148, allocations: 7.906 kB / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.6149, allocations: 7.984 kB / 0.4919 GB, free: 11.55 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.309e-05/0.615, allocations: 108.9 kB / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.615, allocations: 7.906 kB / 0.492 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.6153, allocations: 118.2 kB / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6154, allocations: 288 / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6154, allocations: 0 / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.6154, allocations: 0 / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.6161, allocations: 415.2 kB / 0.4925 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6161, allocations: 3.984 kB / 0.4925 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.6163, allocations: 19.98 kB / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.6163, allocations: 8.031 kB / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.6163, allocations: 0 / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6163, allocations: 3.938 kB / 0.4925 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6163, allocations: 0 / 0.4925 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.6166, allocations: 209.9 kB / 0.4927 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.6167, allocations: 93 kB / 0.4928 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.6167, allocations: 8 kB / 0.4928 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6169, allocations: 12 kB / 0.4928 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.617, allocations: 7.938 kB / 0.4928 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.617, allocations: 4 kB / 0.4928 GB, free: 10.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.6172, allocations: 152.6 kB / 0.493 GB, free: 10.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6172, allocations: 0 / 0.493 GB, free: 10.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.6176, allocations: 27.94 kB / 0.493 GB, free: 10.27 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.001776/0.6194, allocations: 1.159 MB / 0.4941 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.6196, allocations: 59.97 kB / 0.4942 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6196, allocations: 0 / 0.4942 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.6197, allocations: 32.09 kB / 0.4942 GB, free: 9.137 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.62, allocations: 20.08 kB / 0.4943 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000803/0.6209, allocations: 281.6 kB / 0.4945 GB, free: 8.789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.6212, allocations: 0.7158 MB / 0.4952 GB, free: 8.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.6214, allocations: 39.48 kB / 0.4953 GB, free: 8.012 MB / 426.7 MB Notification: Performance of SimCode: time 2.695e-06/0.6214, allocations: 0 / 0.4953 GB, free: 8.012 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_Test15CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test15CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test15Functions.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_CombiTable1Dv_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test15FMU.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_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test15CalcHelperMain.o] Error 1