Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.472/2.472, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.916e-05, allocations: 8 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4207, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.6037, allocations: 89.54 MB / 498.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.6041, allocations: 75.95 kB / 498.5 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04406/0.6482, allocations: 8.334 MB / 0.495 GB, free: 8.559 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6482, allocations: 0 / 0.495 GB, free: 8.559 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.23e-05/0.6483, allocations: 4 kB / 0.495 GB, free: 8.555 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008931/0.6492, allocations: 0.5066 MB / 0.4955 GB, free: 8.004 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6492, allocations: 16.03 kB / 0.4955 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.6493, allocations: 34.56 kB / 0.4955 GB, free: 7.945 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.6494, allocations: 31.62 kB / 0.4956 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007265/0.6502, allocations: 303.8 kB / 0.4959 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.6502, allocations: 15.94 kB / 0.4959 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.6503, allocations: 4 kB / 0.4959 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.6506, allocations: 107.3 kB / 0.496 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.6506, allocations: 7.938 kB / 0.496 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.6507, allocations: 11.98 kB / 0.496 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.6507, allocations: 0 / 0.496 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.6509, allocations: 39.98 kB / 0.496 GB, free: 7.383 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.6519, allocations: 0.4929 MB / 0.4965 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.6524, allocations: 121.2 kB / 0.4966 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.6525, allocations: 45.77 kB / 0.4967 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.6525, allocations: 0 / 0.4967 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.6528, allocations: 129 kB / 0.4968 GB, free: 6.504 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/0.6528, allocations: 0 / 0.4968 GB, free: 6.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.00152/0.6544, allocations: 452.4 kB / 0.4972 GB, free: 6.055 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.6545, allocations: 77.11 kB / 0.4973 GB, free: 5.961 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.6554, allocations: 431.5 kB / 0.4977 GB, free: 5.523 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.6555, allocations: 37.69 kB / 0.4978 GB, free: 5.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.6557, allocations: 202.9 kB / 0.498 GB, free: 5.281 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.6558, allocations: 71.09 kB / 0.498 GB, free: 5.211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.6558, allocations: 7.938 kB / 0.498 GB, free: 5.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6559, allocations: 322.8 kB / 0.4983 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.6561, allocations: 52 kB / 0.4984 GB, free: 4.828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.6563, allocations: 91.36 kB / 0.4985 GB, free: 4.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.6565, allocations: 59.97 kB / 0.4985 GB, free: 4.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.6566, allocations: 0 / 0.4985 GB, free: 4.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005374/0.6571, allocations: 209.3 kB / 0.4987 GB, free: 4.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6571, allocations: 4 kB / 0.4987 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6572, allocations: 80 / 0.4987 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.6572, allocations: 4 kB / 0.4987 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.6575, allocations: 43.97 kB / 0.4988 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.6575, allocations: 7.984 kB / 0.4988 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.6578, allocations: 8 kB / 0.4988 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.6578, allocations: 15.92 kB / 0.4988 GB, free: 4.379 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001253/0.6579, allocations: 117 kB / 0.4989 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.6581, allocations: 39.58 kB / 0.499 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008262/0.6589, allocations: 268.7 kB / 0.4992 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-06/0.6589, allocations: 4 kB / 0.4992 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.6589, allocations: 0 / 0.4992 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.659, allocations: 3.984 kB / 0.4992 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.6605, allocations: 0.7974 MB / 0.5 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.6606, allocations: 4 kB / 0.5 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.6608, allocations: 39.86 kB / 0.5 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.6608, allocations: 4 kB / 0.5 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.6609, allocations: 4 kB / 0.5001 GB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.6609, allocations: 4.125 kB / 0.5001 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.6609, allocations: 8 kB / 0.5001 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.6617, allocations: 494.4 kB / 0.5005 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.6619, allocations: 128.7 kB / 0.5007 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.662, allocations: 8 kB / 0.5007 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.6622, allocations: 15.98 kB / 0.5007 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.6623, allocations: 27.91 kB / 0.5007 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.6624, allocations: 8 kB / 0.5007 GB, free: 2.266 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006414/0.663, allocations: 350.1 kB / 0.501 GB, free: 1.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.663, allocations: 0 / 0.501 GB, free: 1.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005867/0.6636, allocations: 71.98 kB / 0.5011 GB, free: 1.859 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002528/0.6662, allocations: 1.775 MB / 0.5028 GB, free: 208 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005038/0.6667, allocations: 155.7 kB / 0.503 GB, free: 52 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6667, allocations: 0 / 0.503 GB, free: 52 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.667, allocations: 79.86 kB / 0.5031 GB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.6677, allocations: 57.17 kB / 0.5031 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.6695, allocations: 0.6234 MB / 0.5037 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.67, allocations: 0.7912 MB / 0.5045 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.6703, allocations: 103.4 kB / 0.5046 GB, free: 14.31 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6703, allocations: 0 / 0.5046 GB, free: 14.31 MB / 442.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_Test74CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test74CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test74CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test74Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp12.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_Test74CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test74FMU.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_Test74CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test74CalcHelperMain.o] Error 1