Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.097e-05/4.112e-05, allocations: 4 kB / 347.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5121/0.5122, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.698, allocations: 89.28 MB / 498.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/0.6984, allocations: 71.97 kB / 498.3 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03409/0.7325, allocations: 5.811 MB / 0.4923 GB, free: 11.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7326, allocations: 0 / 0.4923 GB, free: 11.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.7326, allocations: 0 / 0.4923 GB, free: 11.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008132/0.7335, allocations: 414.2 kB / 0.4927 GB, free: 10.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.7335, allocations: 8.031 kB / 0.4927 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.67e-05/0.7336, allocations: 34.5 kB / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.7337, allocations: 15.81 kB / 0.4927 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.7343, allocations: 230.5 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.7344, allocations: 7.953 kB / 0.493 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.7345, allocations: 11.92 kB / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.7347, allocations: 53.69 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.7347, allocations: 0 / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.7347, allocations: 0 / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.7348, allocations: 4 kB / 0.493 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.7349, allocations: 23.97 kB / 0.493 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.7356, allocations: 312.8 kB / 0.4933 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.7359, allocations: 50.69 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.736, allocations: 24.92 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.7361, allocations: 4 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.7363, allocations: 67.33 kB / 0.4935 GB, free: 9.965 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.096e-06/0.7364, allocations: 0 / 0.4935 GB, free: 9.965 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009843/0.7373, allocations: 165.1 kB / 0.4936 GB, free: 9.797 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.7374, allocations: 51.41 kB / 0.4937 GB, free: 9.734 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005977/0.738, allocations: 237.8 kB / 0.4939 GB, free: 9.488 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.7381, allocations: 25.7 kB / 0.4939 GB, free: 9.457 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.7383, allocations: 174.6 kB / 0.4941 GB, free: 9.285 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/0.7383, allocations: 23.66 kB / 0.4941 GB, free: 9.262 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.7384, allocations: 0 / 0.4941 GB, free: 9.262 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.7386, allocations: 322.8 kB / 0.4944 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.7387, allocations: 19.94 kB / 0.4945 GB, free: 8.918 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.7388, allocations: 33.72 kB / 0.4945 GB, free: 8.879 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.739, allocations: 23.98 kB / 0.4945 GB, free: 8.855 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.739, allocations: 4 kB / 0.4945 GB, free: 8.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003568/0.7394, allocations: 81.69 kB / 0.4946 GB, free: 8.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.7394, allocations: 11.98 kB / 0.4946 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7395, allocations: 3.938 kB / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.7395, allocations: 0 / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.7397, allocations: 12 kB / 0.4946 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.7398, allocations: 4 kB / 0.4946 GB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.7399, allocations: 4 kB / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.74, allocations: 7.984 kB / 0.4946 GB, free: 8.723 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000158/0.7401, allocations: 113 kB / 0.4947 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.7402, allocations: 15.81 kB / 0.4948 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005286/0.7408, allocations: 123.2 kB / 0.4949 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.7408, allocations: 0 / 0.4949 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7408, allocations: 0 / 0.4949 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7408, allocations: 0 / 0.4949 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.7419, allocations: 439.1 kB / 0.4953 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.7419, allocations: 4.031 kB / 0.4953 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.7421, allocations: 12 kB / 0.4953 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.7421, allocations: 0 / 0.4953 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.7421, allocations: 4 kB / 0.4953 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.7422, allocations: 192 / 0.4953 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.7422, allocations: 7.938 kB / 0.4953 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.7427, allocations: 225.8 kB / 0.4955 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.7429, allocations: 97 kB / 0.4956 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.7429, allocations: 8 kB / 0.4956 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.7432, allocations: 3.984 kB / 0.4956 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.7433, allocations: 11.89 kB / 0.4957 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.7433, allocations: 4 kB / 0.4957 GB, free: 7.559 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004481/0.7438, allocations: 196.2 kB / 0.4958 GB, free: 7.367 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.7438, allocations: 0 / 0.4958 GB, free: 7.367 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007248/0.7445, allocations: 43.83 kB / 0.4959 GB, free: 7.324 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002643/0.7472, allocations: 1.169 MB / 0.497 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.7476, allocations: 63.91 kB / 0.4971 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7476, allocations: 0 / 0.4971 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.7477, allocations: 24 kB / 0.4971 GB, free: 6.188 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.7483, allocations: 43.95 kB / 0.4972 GB, free: 6.145 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.7496, allocations: 326.3 kB / 0.4975 GB, free: 5.781 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.7501, allocations: 0.7201 MB / 0.4982 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.7503, allocations: 43.42 kB / 0.4982 GB, free: 4.992 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/0.7503, allocations: 4 kB / 0.4982 GB, free: 4.988 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_CombiTimeTable_Test1CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test1CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test1Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test1CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test1FMU.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_CombiTimeTable_Test1CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test1CalcHelperMain.o] Error 1