Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.431/2.431, allocations: 270 MB / 282.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.692e-05/5.716e-05, allocations: 4 kB / 347.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4762, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.6546, allocations: 90.2 MB / 499.1 MB, free: 356 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.655, allocations: 67.97 kB / 499.2 MB, free: 288 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01932/0.6743, allocations: 4.338 MB / 0.4917 GB, free: 11.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6743, allocations: 0 / 0.4917 GB, free: 11.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.6744, allocations: 4 kB / 0.4917 GB, free: 11.93 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007276/0.6751, allocations: 459.8 kB / 0.4922 GB, free: 11.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.6752, allocations: 8.031 kB / 0.4922 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.6753, allocations: 42.55 kB / 0.4922 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.6753, allocations: 15.81 kB / 0.4922 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.6758, allocations: 228 kB / 0.4924 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.6758, allocations: 11.95 kB / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.6759, allocations: 4 kB / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.6761, allocations: 104.2 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.6762, allocations: 0 / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.6762, allocations: 0 / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.6762, allocations: 7.984 kB / 0.4926 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.6764, allocations: 35.94 kB / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/0.6772, allocations: 0.5166 MB / 0.4931 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.6776, allocations: 78.61 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.6777, allocations: 32.86 kB / 0.4932 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.6778, allocations: 4 kB / 0.4932 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.678, allocations: 79.33 kB / 0.4933 GB, free: 10.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 3.366e-06/0.678, allocations: 0 / 0.4933 GB, free: 10.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003518/0.6784, allocations: 109.4 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.6784, allocations: 59.36 kB / 0.4935 GB, free: 9.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.6787, allocations: 174.6 kB / 0.4936 GB, free: 9.758 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.6788, allocations: 25.7 kB / 0.4936 GB, free: 9.727 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.6789, allocations: 174.6 kB / 0.4938 GB, free: 9.555 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.679, allocations: 39.53 kB / 0.4939 GB, free: 9.516 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-06/0.679, allocations: 0 / 0.4939 GB, free: 9.516 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6791, allocations: 318.8 kB / 0.4942 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.6792, allocations: 20 kB / 0.4942 GB, free: 9.176 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.6794, allocations: 64.22 kB / 0.4942 GB, free: 9.098 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.6795, allocations: 36.02 kB / 0.4943 GB, free: 9.062 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6795, allocations: 0 / 0.4943 GB, free: 9.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000308/0.6798, allocations: 117.5 kB / 0.4944 GB, free: 8.941 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6798, allocations: 4 kB / 0.4944 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6799, allocations: 0 / 0.4944 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6799, allocations: 4.125 kB / 0.4944 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.6801, allocations: 27.98 kB / 0.4944 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.6802, allocations: 3.984 kB / 0.4944 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.6803, allocations: 23.8 kB / 0.4944 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.6803, allocations: 4 kB / 0.4944 GB, free: 8.875 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001214/0.6805, allocations: 118.5 kB / 0.4946 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.6805, allocations: 11.81 kB / 0.4946 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.6809, allocations: 119.1 kB / 0.4947 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.6809, allocations: 4 kB / 0.4947 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6809, allocations: 4 kB / 0.4947 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6809, allocations: 0 / 0.4947 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.6812, allocations: 213.5 kB / 0.4949 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6812, allocations: 0 / 0.4949 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.6814, allocations: 12 kB / 0.4949 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.6814, allocations: 0 / 0.4949 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.6814, allocations: 4 kB / 0.4949 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.6814, allocations: 0 / 0.4949 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6814, allocations: 3.984 kB / 0.4949 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.6819, allocations: 184.9 kB / 0.4951 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.682, allocations: 100.9 kB / 0.4952 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.682, allocations: 0 / 0.4952 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.6822, allocations: 8 kB / 0.4952 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.6822, allocations: 7.984 kB / 0.4952 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.6823, allocations: 4 kB / 0.4952 GB, free: 7.996 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001931/0.6825, allocations: 153.2 kB / 0.4954 GB, free: 7.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6825, allocations: 0 / 0.4954 GB, free: 7.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.6828, allocations: 32.12 kB / 0.4954 GB, free: 7.816 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001984/0.6848, allocations: 1.006 MB / 0.4964 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.6852, allocations: 67.92 kB / 0.4964 GB, free: 6.848 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6852, allocations: 0 / 0.4964 GB, free: 6.848 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.6853, allocations: 35.94 kB / 0.4965 GB, free: 6.812 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.6858, allocations: 39.36 kB / 0.4965 GB, free: 6.773 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/0.6867, allocations: 271.4 kB / 0.4968 GB, free: 6.469 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.6871, allocations: 0.7242 MB / 0.4975 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6873, allocations: 39.42 kB / 0.4975 GB, free: 5.68 MB / 426.7 MB Notification: Performance of SimCode: time 7.584e-06/0.6873, allocations: 0 / 0.4975 GB, free: 5.68 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_Test10CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test10CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test10Functions.cpp:204:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test10FMU.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_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test10CalcHelperMain.o] Error 1