Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.804/2.804, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-05/5.972e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4413, allocations: 61.89 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.6096, allocations: 89.09 MB / 498 MB, free: 1.438 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.6099, allocations: 75.95 kB / 498.1 MB, free: 1.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02536/0.6353, allocations: 5.668 MB / 0.492 GB, free: 11.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6354, allocations: 4 kB / 0.492 GB, free: 11.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.6354, allocations: 4 kB / 0.492 GB, free: 11.68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000592/0.636, allocations: 402.2 kB / 0.4924 GB, free: 11.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.6361, allocations: 8.031 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.6361, allocations: 34.56 kB / 0.4924 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.6362, allocations: 15.81 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.6366, allocations: 230.5 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.6367, allocations: 4 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.6367, allocations: 7.938 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.6368, allocations: 45.69 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.6369, allocations: 0 / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.6369, allocations: 0 / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.6369, allocations: 3.938 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.129e-05/0.637, allocations: 15.98 kB / 0.4927 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.6373, allocations: 193.7 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.6375, allocations: 50.58 kB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.6375, allocations: 24.88 kB / 0.493 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.6376, allocations: 11.94 kB / 0.493 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.6377, allocations: 55.41 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.544e-06/0.6378, allocations: 0 / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003002/0.6381, allocations: 85.48 kB / 0.4931 GB, free: 10.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.6381, allocations: 51.41 kB / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.6385, allocations: 241.8 kB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.6386, allocations: 33.64 kB / 0.4934 GB, free: 9.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.6387, allocations: 166.6 kB / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.6387, allocations: 11.89 kB / 0.4936 GB, free: 9.812 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.6387, allocations: 0 / 0.4936 GB, free: 9.812 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6389, allocations: 318.8 kB / 0.4939 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.6389, allocations: 12 kB / 0.4939 GB, free: 9.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.639, allocations: 25.72 kB / 0.4939 GB, free: 9.449 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.6391, allocations: 15.98 kB / 0.4939 GB, free: 9.434 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6391, allocations: 0 / 0.4939 GB, free: 9.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001914/0.6393, allocations: 77.53 kB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.6394, allocations: 7.953 kB / 0.494 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6394, allocations: 0 / 0.494 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6394, allocations: 4 kB / 0.494 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.6395, allocations: 11.98 kB / 0.494 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.6396, allocations: 0 / 0.494 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.6397, allocations: 8.031 kB / 0.494 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.6397, allocations: 0 / 0.494 GB, free: 9.32 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 (7): * Single equations (assignments): 7 * 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 9.63e-05/0.6398, allocations: 114.9 kB / 0.4942 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.6399, allocations: 15.81 kB / 0.4942 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.6401, allocations: 102.5 kB / 0.4943 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6402, allocations: 3.984 kB / 0.4943 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6402, allocations: 192 / 0.4943 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6402, allocations: 0 / 0.4943 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.6404, allocations: 205.6 kB / 0.4945 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6405, allocations: 4 kB / 0.4945 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.6405, allocations: 4 kB / 0.4945 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.6405, allocations: 3.984 kB / 0.4945 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.6406, allocations: 8 kB / 0.4945 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.6406, allocations: 3.953 kB / 0.4945 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6406, allocations: 3.938 kB / 0.4945 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.6408, allocations: 108.9 kB / 0.4946 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.6409, allocations: 104.9 kB / 0.4947 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.641, allocations: 4 kB / 0.4947 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.6411, allocations: 7.984 kB / 0.4947 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.6412, allocations: 7.891 kB / 0.4947 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.6412, allocations: 8 kB / 0.4947 GB, free: 8.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002846/0.6415, allocations: 192.2 kB / 0.4949 GB, free: 8.332 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6415, allocations: 0 / 0.4949 GB, free: 8.332 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.6418, allocations: 31.98 kB / 0.4949 GB, free: 8.301 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: 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 (6): * Single equations (assignments): 4 * 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.001639/0.6435, allocations: 0.9394 MB / 0.4959 GB, free: 7.461 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.6437, allocations: 43.94 kB / 0.4959 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6437, allocations: 0 / 0.4959 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.6438, allocations: 16 kB / 0.4959 GB, free: 7.402 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.6442, allocations: 31.7 kB / 0.4959 GB, free: 7.371 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/0.6451, allocations: 297.7 kB / 0.4962 GB, free: 7.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.6454, allocations: 0.7161 MB / 0.4969 GB, free: 6.297 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.6455, allocations: 47.42 kB / 0.497 GB, free: 6.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6456, allocations: 0 / 0.497 GB, free: 6.25 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_Test63CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test63CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test63CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test63Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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_Test63CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test63FMU.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_Test63CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test63CalcHelperMain.o] Error 1