Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 270 MB / 282.6 MB, free: 1.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.916e-05, allocations: 4 kB / 347.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.405, allocations: 61.87 MB / 408.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.5726, allocations: 89.28 MB / 498.2 MB, free: 1.449 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5729, allocations: 79.95 kB / 498.3 MB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03027/0.6032, allocations: 5.551 MB / 0.492 GB, free: 11.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6033, allocations: 0 / 0.492 GB, free: 11.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.6033, allocations: 4 kB / 0.492 GB, free: 11.8 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.0007856/0.6041, allocations: 406.1 kB / 0.4924 GB, free: 11.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.6042, allocations: 8.031 kB / 0.4924 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.866e-05/0.6043, allocations: 38.5 kB / 0.4925 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.6044, allocations: 7.906 kB / 0.4925 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008331/0.6052, allocations: 217.5 kB / 0.4927 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.6053, allocations: 4 kB / 0.4927 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.6053, allocations: 0 / 0.4927 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.6056, allocations: 57.67 kB / 0.4927 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.6057, allocations: 4 kB / 0.4927 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.6057, allocations: 0 / 0.4927 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6057, allocations: 3.938 kB / 0.4927 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.6059, allocations: 20 kB / 0.4928 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.6066, allocations: 296.8 kB / 0.493 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.6068, allocations: 62.62 kB / 0.4931 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.6069, allocations: 16.98 kB / 0.4931 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.607, allocations: 4 kB / 0.4931 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.6072, allocations: 71.31 kB / 0.4932 GB, free: 10.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 6.422e-06/0.6072, allocations: 0 / 0.4932 GB, free: 10.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001171/0.6084, allocations: 149.3 kB / 0.4933 GB, free: 10.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/0.6086, allocations: 55.41 kB / 0.4934 GB, free: 10.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.609, allocations: 181.6 kB / 0.4936 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.609, allocations: 25.7 kB / 0.4936 GB, free: 10 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.6092, allocations: 166.5 kB / 0.4937 GB, free: 9.836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.6093, allocations: 23.73 kB / 0.4938 GB, free: 9.812 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-06/0.6093, allocations: 0 / 0.4938 GB, free: 9.812 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.6095, allocations: 322.8 kB / 0.4941 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.873e-05/0.6096, allocations: 23.94 kB / 0.4941 GB, free: 9.465 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.6098, allocations: 37.7 kB / 0.4941 GB, free: 9.422 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.6099, allocations: 16 kB / 0.4941 GB, free: 9.406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6099, allocations: 0 / 0.4941 GB, free: 9.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003925/0.6103, allocations: 97.56 kB / 0.4942 GB, free: 9.305 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.6104, allocations: 7.938 kB / 0.4942 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6104, allocations: 192 / 0.4942 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.6104, allocations: 4 kB / 0.4943 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.6107, allocations: 19.98 kB / 0.4943 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.6107, allocations: 0 / 0.4943 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.611, allocations: 12.03 kB / 0.4943 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.611, allocations: 0 / 0.4943 GB, free: 9.262 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.0002115/0.6113, allocations: 112.9 kB / 0.4944 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.6115, allocations: 11.91 kB / 0.4944 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.612, allocations: 119 kB / 0.4945 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.612, allocations: 0 / 0.4945 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.612, allocations: 0 / 0.4945 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.6121, allocations: 3.984 kB / 0.4945 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009722/0.6131, allocations: 415.5 kB / 0.4949 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.6131, allocations: 4 kB / 0.4949 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.6132, allocations: 15.94 kB / 0.4949 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.6133, allocations: 3.938 kB / 0.4949 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.6133, allocations: 0 / 0.4949 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.6133, allocations: 4 kB / 0.4949 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6133, allocations: 3.938 kB / 0.4949 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.614, allocations: 218 kB / 0.4952 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.6143, allocations: 92.91 kB / 0.4952 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.6145, allocations: 4 kB / 0.4952 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.6151, allocations: 8 kB / 0.4953 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.6152, allocations: 11.88 kB / 0.4953 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.6152, allocations: 4 kB / 0.4953 GB, free: 8.137 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003189/0.6155, allocations: 159.5 kB / 0.4954 GB, free: 7.984 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.6156, allocations: 0 / 0.4954 GB, free: 7.984 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007222/0.6163, allocations: 31.92 kB / 0.4955 GB, free: 7.953 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.003853/0.6202, allocations: 1.168 MB / 0.4966 GB, free: 6.906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.6205, allocations: 59.88 kB / 0.4967 GB, free: 6.848 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/0.6206, allocations: 0 / 0.4967 GB, free: 6.848 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.6207, allocations: 32.08 kB / 0.4967 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007954/0.6215, allocations: 34.92 kB / 0.4967 GB, free: 6.785 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.6233, allocations: 274.2 kB / 0.497 GB, free: 6.477 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.6238, allocations: 0.7121 MB / 0.4977 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.624, allocations: 35.42 kB / 0.4977 GB, free: 5.703 MB / 426.7 MB Notification: Performance of SimCode: time 1.944e-06/0.624, allocations: 0 / 0.4977 GB, free: 5.703 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_Test25CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test25CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test25CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test25Functions.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_Test25CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test25FMU.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_Test25CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test25CalcHelperMain.o] Error 1