Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.57/2.57, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.414e-05, allocations: 8 kB / 347.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4013, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.5697, allocations: 89.24 MB / 498.2 MB, free: 1.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.5701, allocations: 71.97 kB / 498.2 MB, free: 1.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02552/0.5956, allocations: 5.449 MB / 0.4919 GB, free: 11.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5957, allocations: 0 / 0.4919 GB, free: 11.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.5957, allocations: 4 kB / 0.4919 GB, free: 11.88 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.0006426/0.5963, allocations: 402.2 kB / 0.4923 GB, free: 11.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.5964, allocations: 12.03 kB / 0.4923 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.5965, allocations: 34.55 kB / 0.4923 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.5965, allocations: 11.91 kB / 0.4923 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.597, allocations: 217.6 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.597, allocations: 3.953 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.5971, allocations: 8 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.5972, allocations: 45.69 kB / 0.4926 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5973, allocations: 3.984 kB / 0.4926 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.5973, allocations: 4 kB / 0.4926 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5973, allocations: 7.938 kB / 0.4926 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.5974, allocations: 27.88 kB / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.5979, allocations: 292.9 kB / 0.4929 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.5981, allocations: 62.67 kB / 0.493 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/0.5982, allocations: 16.98 kB / 0.493 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.5982, allocations: 0 / 0.493 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.5984, allocations: 75.33 kB / 0.4931 GB, free: 10.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.295e-06/0.5984, allocations: 0 / 0.4931 GB, free: 10.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006271/0.5991, allocations: 145.3 kB / 0.4932 GB, free: 10.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.5991, allocations: 51.41 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.5995, allocations: 186 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.5995, allocations: 29.7 kB / 0.4935 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.5996, allocations: 166.5 kB / 0.4936 GB, free: 9.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.5997, allocations: 27.73 kB / 0.4936 GB, free: 9.871 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.5997, allocations: 4 kB / 0.4936 GB, free: 9.867 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5998, allocations: 314.8 kB / 0.4939 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.5999, allocations: 20 kB / 0.494 GB, free: 9.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.306e-05/0.6, allocations: 37.7 kB / 0.494 GB, free: 9.488 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.6001, allocations: 23.98 kB / 0.494 GB, free: 9.465 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6001, allocations: 0 / 0.494 GB, free: 9.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002472/0.6004, allocations: 101.6 kB / 0.4941 GB, free: 9.359 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.6004, allocations: 8 kB / 0.4941 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6004, allocations: 0 / 0.4941 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.6004, allocations: 0 / 0.4941 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.6006, allocations: 12 kB / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.6006, allocations: 4 kB / 0.4941 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.6007, allocations: 3.984 kB / 0.4941 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.6008, allocations: 4 kB / 0.4941 GB, free: 9.328 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.981e-05/0.6009, allocations: 112.9 kB / 0.4943 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.601, allocations: 11.94 kB / 0.4943 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.6013, allocations: 119 kB / 0.4944 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.6013, allocations: 0 / 0.4944 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6013, allocations: 288 / 0.4944 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6014, allocations: 4 kB / 0.4944 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006916/0.6021, allocations: 411.3 kB / 0.4948 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.6021, allocations: 3.938 kB / 0.4948 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.6022, allocations: 15.92 kB / 0.4948 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.6022, allocations: 11.97 kB / 0.4948 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.6022, allocations: 0 / 0.4948 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.6023, allocations: 0 / 0.4948 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6023, allocations: 0 / 0.4948 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.6026, allocations: 218.1 kB / 0.495 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.6027, allocations: 96.91 kB / 0.4951 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.6028, allocations: 12 kB / 0.4951 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.6029, allocations: 4 kB / 0.4951 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.603, allocations: 11.94 kB / 0.4951 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.603, allocations: 4 kB / 0.4951 GB, free: 8.199 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.6032, allocations: 155.5 kB / 0.4953 GB, free: 8.051 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6032, allocations: 0 / 0.4953 GB, free: 8.051 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.6037, allocations: 31.94 kB / 0.4953 GB, free: 8.02 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.001974/0.6056, allocations: 1.164 MB / 0.4965 GB, free: 6.977 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.6059, allocations: 59.88 kB / 0.4965 GB, free: 6.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.606, allocations: 4.062 kB / 0.4965 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.6061, allocations: 39.86 kB / 0.4966 GB, free: 6.875 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.6065, allocations: 23.94 kB / 0.4966 GB, free: 6.852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.6073, allocations: 266.1 kB / 0.4968 GB, free: 6.551 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.6077, allocations: 0.7083 MB / 0.4975 GB, free: 5.816 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.6078, allocations: 43.36 kB / 0.4976 GB, free: 5.773 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6078, allocations: 0 / 0.4976 GB, free: 5.773 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_Test24CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test24CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test24Functions.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_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test24FMU.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_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test24CalcHelperMain.o] Error 1