Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 270 MB / 282.7 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.203e-05, allocations: 0 / 347.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3899, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.5498, allocations: 88.03 MB / 497 MB, free: 2.492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5502, allocations: 71.97 kB / 497 MB, free: 2.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.5686, allocations: 4.261 MB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5687, allocations: 0 / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.5687, allocations: 0 / 0.4895 GB, free: 14.15 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.5692, allocations: 394.2 kB / 0.4899 GB, free: 13.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.5693, allocations: 8.031 kB / 0.4899 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.5693, allocations: 42.55 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.5694, allocations: 7.906 kB / 0.49 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.5697, allocations: 207.7 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.5697, allocations: 0 / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.5698, allocations: 7.953 kB / 0.4902 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5699, allocations: 57.61 kB / 0.4902 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.57, allocations: 0 / 0.4902 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.57, allocations: 0 / 0.4902 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.57, allocations: 0 / 0.4902 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.5701, allocations: 16 kB / 0.4902 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.5706, allocations: 300.8 kB / 0.4905 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.5707, allocations: 42.5 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.5707, allocations: 12.86 kB / 0.4906 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.5708, allocations: 0 / 0.4906 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.5708, allocations: 34.56 kB / 0.4906 GB, free: 12.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.5708, allocations: 4 kB / 0.4906 GB, free: 12.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007118/0.5716, allocations: 161.6 kB / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.5716, allocations: 51.41 kB / 0.4908 GB, free: 12.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.5719, allocations: 184.8 kB / 0.491 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.5719, allocations: 25.7 kB / 0.491 GB, free: 12.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.572, allocations: 170.5 kB / 0.4912 GB, free: 12.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.5721, allocations: 23.66 kB / 0.4912 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-06/0.5721, allocations: 4 kB / 0.4912 GB, free: 12.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5722, allocations: 318.8 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.5723, allocations: 16 kB / 0.4915 GB, free: 11.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.5723, allocations: 15.98 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.891e-05/0.5724, allocations: 16 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5724, allocations: 0 / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001867/0.5726, allocations: 77.62 kB / 0.4916 GB, free: 11.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.5727, allocations: 4 kB / 0.4916 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.5727, allocations: 0 / 0.4916 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.5727, allocations: 4 kB / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.5729, allocations: 19.98 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.5729, allocations: 7.938 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.249e-05/0.573, allocations: 7.906 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.573, allocations: 3.984 kB / 0.4917 GB, free: 11.73 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 0.0001084/0.5732, allocations: 112.9 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.5732, allocations: 7.906 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.5735, allocations: 106.2 kB / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5735, allocations: 0 / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5735, allocations: 0 / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5736, allocations: 0 / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.5743, allocations: 399.6 kB / 0.4923 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5744, allocations: 4 kB / 0.4923 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.5745, allocations: 20.02 kB / 0.4923 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5746, allocations: 4 kB / 0.4923 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.5746, allocations: 0 / 0.4923 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5746, allocations: 0 / 0.4923 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5746, allocations: 4.078 kB / 0.4923 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.5749, allocations: 198 kB / 0.4925 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.575, allocations: 97.02 kB / 0.4926 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.5751, allocations: 0 / 0.4926 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.5752, allocations: 15.92 kB / 0.4926 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.5753, allocations: 7.938 kB / 0.4926 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5753, allocations: 8 kB / 0.4926 GB, free: 10.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002153/0.5755, allocations: 148.6 kB / 0.4928 GB, free: 10.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5755, allocations: 0 / 0.4928 GB, free: 10.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.5759, allocations: 31.94 kB / 0.4928 GB, free: 10.48 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.001913/0.5778, allocations: 1.152 MB / 0.4939 GB, free: 9.453 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.5781, allocations: 51.97 kB / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5781, allocations: 0 / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.5782, allocations: 27.94 kB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.5785, allocations: 19.94 kB / 0.494 GB, free: 9.355 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.5793, allocations: 265.6 kB / 0.4943 GB, free: 9.043 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.5796, allocations: 0.7083 MB / 0.495 GB, free: 8.309 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5797, allocations: 35.42 kB / 0.495 GB, free: 8.273 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5798, allocations: 0 / 0.495 GB, free: 8.273 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_Test15CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15CalcHelperMain.o] Error 1