Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 270 MB / 282.6 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.404e-05/5.418e-05, allocations: 12 kB / 347.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 61.87 MB / 408.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5637, allocations: 89.27 MB / 498.2 MB, free: 1.383 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.564, allocations: 79.95 kB / 498.3 MB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02635/0.5904, allocations: 5.574 MB / 0.4921 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5904, allocations: 0 / 0.4921 GB, free: 11.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.5905, allocations: 8 kB / 0.4921 GB, free: 11.71 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006256/0.5911, allocations: 398.2 kB / 0.4924 GB, free: 11.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.5912, allocations: 8.031 kB / 0.4924 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.5913, allocations: 34.55 kB / 0.4925 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.5913, allocations: 11.91 kB / 0.4925 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.5918, allocations: 217.6 kB / 0.4927 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.5918, allocations: 7.953 kB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.5919, allocations: 4 kB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.592, allocations: 53.69 kB / 0.4928 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.5921, allocations: 3.938 kB / 0.4928 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.5921, allocations: 7.984 kB / 0.4928 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5921, allocations: 3.938 kB / 0.4928 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.892e-05/0.5922, allocations: 16 kB / 0.4928 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.5928, allocations: 296.9 kB / 0.4931 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.593, allocations: 62.62 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.5931, allocations: 16.98 kB / 0.4932 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.5931, allocations: 3.938 kB / 0.4932 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.5933, allocations: 67.39 kB / 0.4932 GB, free: 10.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.015e-06/0.5933, allocations: 0 / 0.4932 GB, free: 10.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006625/0.594, allocations: 153.2 kB / 0.4934 GB, free: 10.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.594, allocations: 55.41 kB / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.5944, allocations: 185.5 kB / 0.4936 GB, free: 9.934 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.5944, allocations: 25.7 kB / 0.4936 GB, free: 9.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5945, allocations: 170.5 kB / 0.4938 GB, free: 9.734 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.5946, allocations: 23.73 kB / 0.4938 GB, free: 9.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.5946, allocations: 0 / 0.4938 GB, free: 9.711 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5947, allocations: 314.8 kB / 0.4941 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.5948, allocations: 20 kB / 0.4941 GB, free: 9.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.734e-05/0.5949, allocations: 37.72 kB / 0.4942 GB, free: 9.332 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.595, allocations: 28.05 kB / 0.4942 GB, free: 9.305 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.595, allocations: 0 / 0.4942 GB, free: 9.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000272/0.5953, allocations: 93.52 kB / 0.4943 GB, free: 9.207 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.5954, allocations: 8 kB / 0.4943 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5954, allocations: 0 / 0.4943 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.5954, allocations: 0 / 0.4943 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.5956, allocations: 12 kB / 0.4943 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5956, allocations: 4 kB / 0.4943 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.5957, allocations: 8.016 kB / 0.4943 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.5957, allocations: 4 kB / 0.4943 GB, free: 9.172 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 (10): * Single equations (assignments): 10 * 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.0001053/0.5959, allocations: 116.9 kB / 0.4944 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.5959, allocations: 7.906 kB / 0.4944 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.5963, allocations: 119.1 kB / 0.4945 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.5963, allocations: 0 / 0.4945 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5963, allocations: 7.938 kB / 0.4946 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5963, allocations: 0 / 0.4946 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.597, allocations: 407.6 kB / 0.4949 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.597, allocations: 0 / 0.4949 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.5971, allocations: 19.86 kB / 0.495 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.5971, allocations: 7.938 kB / 0.495 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.5972, allocations: 3.984 kB / 0.495 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.5972, allocations: 0 / 0.495 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5972, allocations: 4.188 kB / 0.495 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.5975, allocations: 217.9 kB / 0.4952 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.5976, allocations: 100.9 kB / 0.4953 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.5977, allocations: 4 kB / 0.4953 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.5978, allocations: 4 kB / 0.4953 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.5979, allocations: 11.94 kB / 0.4953 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.5979, allocations: 8 kB / 0.4953 GB, free: 8.039 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.5982, allocations: 155.5 kB / 0.4955 GB, free: 7.891 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5982, allocations: 0 / 0.4955 GB, free: 7.891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003968/0.5986, allocations: 31.94 kB / 0.4955 GB, free: 7.859 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: 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 (9): * Single equations (assignments): 7 * 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.001992/0.6006, allocations: 1.163 MB / 0.4966 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.6009, allocations: 63.86 kB / 0.4967 GB, free: 6.754 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.6009, allocations: 0 / 0.4967 GB, free: 6.754 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.601, allocations: 35.88 kB / 0.4967 GB, free: 6.719 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.6015, allocations: 30.77 kB / 0.4967 GB, free: 6.691 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.6024, allocations: 273.7 kB / 0.497 GB, free: 6.383 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.6028, allocations: 0.7082 MB / 0.4977 GB, free: 5.648 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.6029, allocations: 35.42 kB / 0.4977 GB, free: 5.613 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6029, allocations: 0 / 0.4977 GB, free: 5.613 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_Test45CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test45CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test45CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test45Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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_Test45CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test45FMU.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_Test45CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test45CalcHelperMain.o] Error 1