Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.687/2.687, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.418e-05/5.409e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4426, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.6124, allocations: 89.1 MB / 498 MB, free: 1.449 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.6128, allocations: 75.97 kB / 498.1 MB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02539/0.6382, allocations: 5.668 MB / 0.492 GB, free: 11.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6382, allocations: 0 / 0.492 GB, free: 11.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.6383, allocations: 4 kB / 0.492 GB, free: 11.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005896/0.6389, allocations: 414.2 kB / 0.4924 GB, free: 11.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6389, allocations: 8.031 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.639, allocations: 34.56 kB / 0.4924 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.6391, allocations: 15.81 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.6395, allocations: 230.5 kB / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.6395, allocations: 0 / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.6396, allocations: 3.953 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.6397, allocations: 57.61 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.6398, allocations: 0 / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.6398, allocations: 3.984 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6398, allocations: 0 / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.6399, allocations: 12 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.6402, allocations: 197.7 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.6403, allocations: 46.62 kB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.6404, allocations: 20.86 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.6405, allocations: 3.953 kB / 0.493 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.6406, allocations: 67.42 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.304e-06/0.6407, allocations: 0 / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002947/0.641, allocations: 85.48 kB / 0.4931 GB, free: 10.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.641, allocations: 51.41 kB / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.6414, allocations: 237.8 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.6415, allocations: 25.7 kB / 0.4934 GB, free: 10 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.6416, allocations: 174.6 kB / 0.4936 GB, free: 9.832 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.6416, allocations: 7.906 kB / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.6416, allocations: 4 kB / 0.4936 GB, free: 9.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6418, allocations: 314.8 kB / 0.4939 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.6418, allocations: 12 kB / 0.4939 GB, free: 9.492 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.6419, allocations: 29.66 kB / 0.4939 GB, free: 9.457 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.785e-05/0.642, allocations: 15.98 kB / 0.4939 GB, free: 9.441 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.642, allocations: 8 kB / 0.494 GB, free: 9.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002136/0.6422, allocations: 69.59 kB / 0.494 GB, free: 9.359 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6423, allocations: 7.953 kB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6423, allocations: 0 / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6423, allocations: 4 kB / 0.494 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.6425, allocations: 15.88 kB / 0.494 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.6425, allocations: 0 / 0.494 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.461e-05/0.6426, allocations: 7.984 kB / 0.4941 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.6426, allocations: 4 kB / 0.4941 GB, free: 9.32 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 (7): * Single equations (assignments): 7 * 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.0001177/0.6427, allocations: 113 kB / 0.4942 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.6428, allocations: 15.81 kB / 0.4942 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.6431, allocations: 98.75 kB / 0.4943 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.6431, allocations: 7.984 kB / 0.4943 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6431, allocations: 0 / 0.4943 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6431, allocations: 0 / 0.4943 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.6434, allocations: 201.6 kB / 0.4945 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6434, allocations: 0 / 0.4945 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.6434, allocations: 7.938 kB / 0.4945 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.6435, allocations: 8 kB / 0.4945 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.6435, allocations: 0 / 0.4945 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.6435, allocations: 3.953 kB / 0.4945 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6435, allocations: 0 / 0.4945 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.6437, allocations: 112.9 kB / 0.4946 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6439, allocations: 104.9 kB / 0.4947 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.6439, allocations: 0 / 0.4947 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.644, allocations: 4 kB / 0.4947 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.6441, allocations: 11.94 kB / 0.4947 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.6441, allocations: 4 kB / 0.4947 GB, free: 8.535 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002844/0.6444, allocations: 196.2 kB / 0.4949 GB, free: 8.344 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6444, allocations: 0 / 0.4949 GB, free: 8.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.6447, allocations: 28 kB / 0.4949 GB, free: 8.316 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001669/0.6464, allocations: 0.9501 MB / 0.4959 GB, free: 7.469 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.6467, allocations: 43.86 kB / 0.4959 GB, free: 7.426 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6467, allocations: 0 / 0.4959 GB, free: 7.426 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.6468, allocations: 24.06 kB / 0.4959 GB, free: 7.402 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.6471, allocations: 31.66 kB / 0.496 GB, free: 7.371 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.6484, allocations: 289.8 kB / 0.4962 GB, free: 7.047 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.649, allocations: 0.7199 MB / 0.4969 GB, free: 6.301 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.6492, allocations: 39.42 kB / 0.497 GB, free: 6.262 MB / 426.7 MB Notification: Performance of SimCode: time 2.224e-06/0.6492, allocations: 0 / 0.497 GB, free: 6.262 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_Test64CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test64CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test64CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test64Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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_Test64CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test64FMU.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_Test64CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test64CalcHelperMain.o] Error 1