Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.666/2.666, allocations: 270 MB / 282.6 MB, free: 1.816 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.216e-05/4.221e-05, allocations: 8 kB / 347.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4082, allocations: 61.87 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.5918, allocations: 89.12 MB / 498 MB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.5921, allocations: 75.95 kB / 498.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03029/0.6224, allocations: 6.589 MB / 0.4929 GB, free: 10.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6225, allocations: 0 / 0.4929 GB, free: 10.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.353e-05/0.6226, allocations: 4 kB / 0.4929 GB, free: 10.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001124/0.6237, allocations: 0.5987 MB / 0.4935 GB, free: 10.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.6238, allocations: 12.03 kB / 0.4935 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.6238, allocations: 38.55 kB / 0.4935 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.624, allocations: 51.34 kB / 0.4936 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.6254, allocations: 471.2 kB / 0.494 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.6255, allocations: 12 kB / 0.494 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.6255, allocations: 0 / 0.494 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.6258, allocations: 87.25 kB / 0.4941 GB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6258, allocations: 0 / 0.4941 GB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.6258, allocations: 8 kB / 0.4941 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.6259, allocations: 0 / 0.4941 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.626, allocations: 27.98 kB / 0.4941 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.6267, allocations: 378.4 kB / 0.4945 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.627, allocations: 101.2 kB / 0.4946 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.6271, allocations: 41.89 kB / 0.4946 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.6271, allocations: 4 kB / 0.4946 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.6274, allocations: 112.9 kB / 0.4948 GB, free: 8.715 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.505e-06/0.6274, allocations: 0 / 0.4948 GB, free: 8.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005749/0.628, allocations: 165.1 kB / 0.4949 GB, free: 8.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.6281, allocations: 81.11 kB / 0.495 GB, free: 8.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.6303, allocations: 0.9031 MB / 0.4959 GB, free: 7.539 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.6304, allocations: 37.64 kB / 0.4959 GB, free: 7.496 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.6306, allocations: 238.6 kB / 0.4961 GB, free: 7.262 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.6307, allocations: 31.64 kB / 0.4962 GB, free: 7.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.6307, allocations: 7.938 kB / 0.4962 GB, free: 7.223 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6309, allocations: 310.8 kB / 0.4965 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.631, allocations: 28 kB / 0.4965 GB, free: 6.883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.6311, allocations: 59.42 kB / 0.4966 GB, free: 6.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.6312, allocations: 27.98 kB / 0.4966 GB, free: 6.785 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.6313, allocations: 0 / 0.4966 GB, free: 6.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003475/0.6316, allocations: 121.5 kB / 0.4967 GB, free: 6.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.6317, allocations: 8 kB / 0.4967 GB, free: 6.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6317, allocations: 4.062 kB / 0.4967 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.6317, allocations: 4 kB / 0.4967 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.6319, allocations: 23.92 kB / 0.4967 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.632, allocations: 256 / 0.4967 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.6323, allocations: 19.89 kB / 0.4968 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.6323, allocations: 8 kB / 0.4968 GB, free: 6.594 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001243/0.6324, allocations: 109 kB / 0.4969 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.6326, allocations: 55.39 kB / 0.4969 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006341/0.6333, allocations: 193.4 kB / 0.4971 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.6333, allocations: 0 / 0.4971 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6333, allocations: 0 / 0.4971 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.6333, allocations: 0 / 0.4971 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.634, allocations: 397.1 kB / 0.4975 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.634, allocations: 0 / 0.4975 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.6341, allocations: 8 kB / 0.4975 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.6342, allocations: 3.953 kB / 0.4975 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.6342, allocations: 8 kB / 0.4975 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.6342, allocations: 3.938 kB / 0.4975 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6342, allocations: 4 kB / 0.4975 GB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.6348, allocations: 215 kB / 0.4977 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.6352, allocations: 192.4 kB / 0.4979 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.6353, allocations: 7.984 kB / 0.4979 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.6355, allocations: 12 kB / 0.4979 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.209e-05/0.6356, allocations: 11.98 kB / 0.4979 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.6357, allocations: 4 kB / 0.4979 GB, free: 5.281 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001615/0.6373, allocations: 0.724 MB / 0.4986 GB, free: 4.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.6373, allocations: 0 / 0.4986 GB, free: 4.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006296/0.638, allocations: 79.92 kB / 0.4987 GB, free: 4.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002197/0.6402, allocations: 1.135 MB / 0.4998 GB, free: 3.445 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.6406, allocations: 83.92 kB / 0.4999 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6406, allocations: 0 / 0.4999 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.6408, allocations: 43.92 kB / 0.4999 GB, free: 3.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.6415, allocations: 62.5 kB / 0.5 GB, free: 3.262 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.6441, allocations: 0.9154 MB / 0.5009 GB, free: 2.301 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.6448, allocations: 0.8546 MB / 0.5017 GB, free: 1.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.6452, allocations: 151.4 kB / 0.5019 GB, free: 1.273 MB / 426.7 MB Notification: Performance of SimCode: time 3.226e-06/0.6453, allocations: 0 / 0.5019 GB, free: 1.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_CombiTimeTable_Test69CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test69CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test69CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test69Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp8.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_Test69CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test69FMU.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_Test69CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test69CalcHelperMain.o] Error 1