Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.682/2.682, allocations: 270 MB / 282.6 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.817e-05/3.838e-05, allocations: 11.94 kB / 347.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4708, allocations: 61.88 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.637, allocations: 89.53 MB / 498.5 MB, free: 1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.6373, allocations: 75.95 kB / 498.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05069/0.6881, allocations: 8.17 MB / 0.4948 GB, free: 8.742 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6881, allocations: 0 / 0.4948 GB, free: 8.742 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.016e-05/0.6882, allocations: 8 kB / 0.4948 GB, free: 8.734 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.0009063/0.6891, allocations: 0.5027 MB / 0.4953 GB, free: 8.188 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.6891, allocations: 11.97 kB / 0.4953 GB, free: 8.176 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.801e-05/0.6892, allocations: 42.56 kB / 0.4954 GB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.6893, allocations: 23.72 kB / 0.4954 GB, free: 8.102 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.69, allocations: 303.8 kB / 0.4957 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.69, allocations: 8 kB / 0.4957 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.6901, allocations: 7.984 kB / 0.4957 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.6904, allocations: 111.3 kB / 0.4958 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.6904, allocations: 4 kB / 0.4958 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.6904, allocations: 4 kB / 0.4958 GB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.6904, allocations: 0 / 0.4958 GB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.6906, allocations: 39.98 kB / 0.4959 GB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.6915, allocations: 496.7 kB / 0.4963 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.692, allocations: 121.2 kB / 0.4965 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.6922, allocations: 45.78 kB / 0.4965 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.6922, allocations: 8.141 kB / 0.4965 GB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.6925, allocations: 113.1 kB / 0.4966 GB, free: 6.719 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.6925, allocations: 0 / 0.4966 GB, free: 6.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001463/0.694, allocations: 435.8 kB / 0.497 GB, free: 6.285 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.6941, allocations: 85.11 kB / 0.4971 GB, free: 6.184 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007489/0.6949, allocations: 390.6 kB / 0.4975 GB, free: 5.793 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.6949, allocations: 33.7 kB / 0.4975 GB, free: 5.754 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.695, allocations: 194.9 kB / 0.4977 GB, free: 5.562 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.6952, allocations: 71.09 kB / 0.4978 GB, free: 5.492 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.6952, allocations: 7.938 kB / 0.4978 GB, free: 5.484 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6954, allocations: 318.8 kB / 0.4981 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.6955, allocations: 55.94 kB / 0.4981 GB, free: 5.109 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.6958, allocations: 93.17 kB / 0.4982 GB, free: 5.008 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.696, allocations: 64.12 kB / 0.4983 GB, free: 4.945 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.696, allocations: 0 / 0.4983 GB, free: 4.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005352/0.6965, allocations: 205.4 kB / 0.4985 GB, free: 4.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.6966, allocations: 4 kB / 0.4985 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.6966, allocations: 0 / 0.4985 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.6966, allocations: 8.062 kB / 0.4985 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.6969, allocations: 39.92 kB / 0.4985 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.697, allocations: 4 kB / 0.4985 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.6972, allocations: 15.89 kB / 0.4985 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.6972, allocations: 8 kB / 0.4986 GB, free: 4.66 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.0001247/0.6973, allocations: 116.9 kB / 0.4987 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.6974, allocations: 35.58 kB / 0.4987 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007845/0.6982, allocations: 272.9 kB / 0.499 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.6983, allocations: 4 kB / 0.499 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.6983, allocations: 0 / 0.499 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6983, allocations: 3.938 kB / 0.499 GB, free: 4.223 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.6998, allocations: 0.7819 MB / 0.4997 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.6999, allocations: 4 kB / 0.4997 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.7001, allocations: 35.86 kB / 0.4998 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.7001, allocations: 4 kB / 0.4998 GB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.7001, allocations: 12 kB / 0.4998 GB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.7002, allocations: 4 kB / 0.4998 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.7002, allocations: 3.984 kB / 0.4998 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.701, allocations: 490.6 kB / 0.5003 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.7011, allocations: 128.7 kB / 0.5004 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.44e-05/0.7012, allocations: 11.98 kB / 0.5004 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.7015, allocations: 4 kB / 0.5004 GB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.7016, allocations: 23.97 kB / 0.5004 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.7016, allocations: 8 kB / 0.5004 GB, free: 2.574 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005661/0.7022, allocations: 314.1 kB / 0.5007 GB, free: 2.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.72e-07/0.7022, allocations: 4 kB / 0.5007 GB, free: 2.266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005744/0.7028, allocations: 67.98 kB / 0.5008 GB, free: 2.199 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.00269/0.7055, allocations: 1.772 MB / 0.5025 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.7061, allocations: 155.7 kB / 0.5027 GB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7061, allocations: 0 / 0.5027 GB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.7063, allocations: 80.3 kB / 0.5028 GB, free: 320 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006836/0.707, allocations: 53.61 kB / 0.5028 GB, free: 264 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.7087, allocations: 0.5739 MB / 0.5034 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.7092, allocations: 0.7795 MB / 0.5041 GB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.7095, allocations: 99.39 kB / 0.5042 GB, free: 14.73 MB / 442.7 MB Notification: Performance of SimCode: time 3.527e-06/0.7095, allocations: 0 / 0.5042 GB, free: 14.73 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_Test79CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test79CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test79CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test79Functions.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_Test79CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test79FMU.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_Test79CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test79CalcHelperMain.o] Error 1