Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 270 MB / 282.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.072e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4667/0.4667, allocations: 61.88 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.6922, allocations: 88.14 MB / 497.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/0.6926, allocations: 71.95 kB / 497.1 MB, free: 2.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01856/0.7112, allocations: 4.391 MB / 0.4898 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7113, allocations: 4 kB / 0.4898 GB, free: 13.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.7113, allocations: 4 kB / 0.4898 GB, free: 13.93 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.0004931/0.7118, allocations: 398.2 kB / 0.4902 GB, free: 13.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.7119, allocations: 8.031 kB / 0.4902 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.772e-05/0.712, allocations: 42.55 kB / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.712, allocations: 15.75 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.7123, allocations: 202.8 kB / 0.4904 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.7124, allocations: 7.953 kB / 0.4904 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.7124, allocations: 4 kB / 0.4904 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.7125, allocations: 53.67 kB / 0.4905 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7126, allocations: 0 / 0.4905 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.7126, allocations: 4 kB / 0.4905 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.7126, allocations: 4 kB / 0.4905 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.83e-05/0.7127, allocations: 12 kB / 0.4905 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.7133, allocations: 328.7 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.7134, allocations: 38.56 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.7134, allocations: 16.86 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.7135, allocations: 0 / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.7135, allocations: 30.56 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.7135, allocations: 3.938 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007233/0.7143, allocations: 177.1 kB / 0.4911 GB, free: 12.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.7143, allocations: 51.41 kB / 0.4911 GB, free: 12.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.7147, allocations: 215.1 kB / 0.4913 GB, free: 12.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7147, allocations: 25.7 kB / 0.4913 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.7148, allocations: 174.5 kB / 0.4915 GB, free: 11.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.7149, allocations: 23.64 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.7149, allocations: 4 kB / 0.4915 GB, free: 11.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.715, allocations: 314.8 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.7151, allocations: 27.98 kB / 0.4919 GB, free: 11.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.7152, allocations: 20 kB / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.431e-05/0.7152, allocations: 27.92 kB / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7153, allocations: 0 / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002095/0.7155, allocations: 85.89 kB / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.7155, allocations: 4 kB / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7155, allocations: 0 / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.7156, allocations: 0 / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.7157, allocations: 27.92 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.7158, allocations: 4 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.925e-05/0.7159, allocations: 11.95 kB / 0.492 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.7159, allocations: 0 / 0.492 GB, free: 11.39 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.3e-05/0.716, allocations: 109 kB / 0.4921 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.7161, allocations: 11.81 kB / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.7164, allocations: 119.1 kB / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.7164, allocations: 0 / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7164, allocations: 0 / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7164, allocations: 4 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000705/0.7171, allocations: 423.2 kB / 0.4927 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.7172, allocations: 0 / 0.4927 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.7173, allocations: 16 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7173, allocations: 0 / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.7174, allocations: 11.98 kB / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.7174, allocations: 7.984 kB / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7174, allocations: 0 / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.7177, allocations: 209.8 kB / 0.4929 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.7178, allocations: 96.92 kB / 0.493 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.7178, allocations: 7.953 kB / 0.493 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.718, allocations: 12.27 kB / 0.493 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.718, allocations: 8 kB / 0.493 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.718, allocations: 4 kB / 0.493 GB, free: 10.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002548/0.7183, allocations: 179.5 kB / 0.4932 GB, free: 10.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7183, allocations: 0 / 0.4932 GB, free: 10.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.7187, allocations: 39.86 kB / 0.4932 GB, free: 10.05 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.001834/0.7206, allocations: 1.165 MB / 0.4944 GB, free: 9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.7208, allocations: 48 kB / 0.4944 GB, free: 8.953 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7208, allocations: 0 / 0.4944 GB, free: 8.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.355e-05/0.721, allocations: 40.08 kB / 0.4945 GB, free: 8.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.7213, allocations: 12.33 kB / 0.4945 GB, free: 8.898 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.7222, allocations: 313.7 kB / 0.4948 GB, free: 8.547 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.7225, allocations: 0.7238 MB / 0.4955 GB, free: 7.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.7227, allocations: 39.42 kB / 0.4955 GB, free: 7.758 MB / 426.7 MB Notification: Performance of SimCode: time 3.556e-06/0.7227, allocations: 0 / 0.4955 GB, free: 7.758 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_Test32CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test32CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test32CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test32Functions.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_Test32CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test32FMU.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_Test32CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test32CalcHelperMain.o] Error 1