Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.679/2.679, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.074e-05/5.088e-05, allocations: 11.98 kB / 347.1 MB, free: 3.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.414, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.5797, allocations: 89.28 MB / 498.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.5801, allocations: 75.95 kB / 498.3 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02667/0.6068, allocations: 5.508 MB / 0.492 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.6068, allocations: 3.984 kB / 0.492 GB, free: 11.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.6069, allocations: 4 kB / 0.492 GB, free: 11.64 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.0006482/0.6075, allocations: 386.3 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.6076, allocations: 16.03 kB / 0.4924 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.873e-05/0.6077, allocations: 34.56 kB / 0.4924 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.6077, allocations: 7.906 kB / 0.4924 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.6082, allocations: 219.6 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.6082, allocations: 3.953 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.6082, allocations: 4 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.6084, allocations: 57.66 kB / 0.4927 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6084, allocations: 0 / 0.4927 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6085, allocations: 0 / 0.4927 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.6085, allocations: 4 kB / 0.4927 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.6086, allocations: 23.98 kB / 0.4927 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.6092, allocations: 296.8 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.6094, allocations: 54.62 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.6095, allocations: 20.98 kB / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.6095, allocations: 0 / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.6097, allocations: 67.39 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.6097, allocations: 3.938 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006245/0.6103, allocations: 157.1 kB / 0.4933 GB, free: 10.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.6104, allocations: 59.41 kB / 0.4933 GB, free: 10.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.6107, allocations: 164.9 kB / 0.4935 GB, free: 9.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.6107, allocations: 25.7 kB / 0.4935 GB, free: 9.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.6108, allocations: 166.6 kB / 0.4937 GB, free: 9.699 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.6109, allocations: 31.69 kB / 0.4937 GB, free: 9.668 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.6109, allocations: 0 / 0.4937 GB, free: 9.668 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.611, allocations: 314.8 kB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-05/0.6111, allocations: 20 kB / 0.494 GB, free: 9.332 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.6112, allocations: 41.64 kB / 0.4941 GB, free: 9.285 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.449e-05/0.6113, allocations: 20 kB / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6113, allocations: 0 / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002321/0.6115, allocations: 89.67 kB / 0.4942 GB, free: 9.172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.6116, allocations: 8 kB / 0.4942 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6116, allocations: 0 / 0.4942 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.6116, allocations: 0 / 0.4942 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.6118, allocations: 15.94 kB / 0.4942 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.6118, allocations: 7.984 kB / 0.4942 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/0.6119, allocations: 7.844 kB / 0.4942 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.6119, allocations: 4 kB / 0.4942 GB, free: 9.129 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 9.595e-05/0.612, allocations: 114.8 kB / 0.4943 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.6121, allocations: 11.94 kB / 0.4943 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.6124, allocations: 118.2 kB / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6124, allocations: 0 / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6124, allocations: 0 / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6125, allocations: 0 / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/0.6131, allocations: 407.3 kB / 0.4948 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6132, allocations: 0 / 0.4948 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.6132, allocations: 11.98 kB / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.6133, allocations: 8.031 kB / 0.4949 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.6133, allocations: 288 / 0.4949 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6133, allocations: 3.938 kB / 0.4949 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6133, allocations: 4.234 kB / 0.4949 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.6136, allocations: 221.8 kB / 0.4951 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.6137, allocations: 93.19 kB / 0.4952 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.6138, allocations: 12 kB / 0.4952 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.6139, allocations: 4 kB / 0.4952 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.614, allocations: 11.94 kB / 0.4952 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.614, allocations: 4 kB / 0.4952 GB, free: 8.016 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.6142, allocations: 136.6 kB / 0.4953 GB, free: 7.883 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.756e-06/0.6142, allocations: 0 / 0.4953 GB, free: 7.883 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.6146, allocations: 35.92 kB / 0.4954 GB, free: 7.848 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.001868/0.6165, allocations: 1.179 MB / 0.4965 GB, free: 6.785 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.6168, allocations: 55.92 kB / 0.4966 GB, free: 6.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6168, allocations: 4.062 kB / 0.4966 GB, free: 6.727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.617, allocations: 28 kB / 0.4966 GB, free: 6.699 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.6174, allocations: 27.88 kB / 0.4966 GB, free: 6.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.6182, allocations: 262.4 kB / 0.4969 GB, free: 6.363 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.6185, allocations: 0.7083 MB / 0.4976 GB, free: 5.629 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.6186, allocations: 39.42 kB / 0.4976 GB, free: 5.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6187, allocations: 0 / 0.4976 GB, free: 5.59 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_Test34CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test34CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test34CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test34Functions.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_Test34CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test34FMU.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_Test34CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test34CalcHelperMain.o] Error 1