Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.51e-05, allocations: 8 kB / 292.2 MB, free: 8.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 50.41 MB / 342.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5544, allocations: 81.38 MB / 424 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.5548, allocations: 81.7 kB / 424.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02503/0.5798, allocations: 5.917 MB / 430 MB, free: 7.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5799, allocations: 0 / 430 MB, free: 7.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.5799, allocations: 4 kB / 430 MB, free: 7.367 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006984/0.5806, allocations: 485.1 kB / 430.5 MB, free: 6.859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5807, allocations: 8.031 kB / 430.5 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.5807, allocations: 42.55 kB / 430.5 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/0.5808, allocations: 19.75 kB / 430.6 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.5813, allocations: 264.8 kB / 430.8 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.5814, allocations: 3.938 kB / 430.8 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.5814, allocations: 4 kB / 430.8 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.5818, allocations: 145.6 kB / 431 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5818, allocations: 0 / 431 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.5818, allocations: 3.953 kB / 431 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.5818, allocations: 4 kB / 431 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.582, allocations: 31.67 kB / 431 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.5826, allocations: 368.3 kB / 431.4 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.5828, allocations: 99.22 kB / 431.5 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.5829, allocations: 46.28 kB / 431.5 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.583, allocations: 12.05 kB / 431.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.5831, allocations: 78.89 kB / 431.6 MB, free: 5.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.5832, allocations: 0 / 431.6 MB, free: 5.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003391/0.5835, allocations: 108.8 kB / 431.7 MB, free: 5.617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/0.5836, allocations: 140.2 kB / 431.8 MB, free: 5.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.584, allocations: 239.1 kB / 432.1 MB, free: 5.258 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.584, allocations: 29.7 kB / 432.1 MB, free: 5.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.5841, allocations: 169.8 kB / 432.3 MB, free: 5.074 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.5842, allocations: 15.8 kB / 432.3 MB, free: 5.059 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.5842, allocations: 7.875 kB / 432.3 MB, free: 5.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5843, allocations: 314.8 kB / 432.6 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.5844, allocations: 19.69 kB / 432.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.5846, allocations: 73.44 kB / 432.7 MB, free: 4.645 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.602e-05/0.5846, allocations: 23.67 kB / 432.7 MB, free: 4.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5847, allocations: 0 / 432.7 MB, free: 4.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002318/0.5849, allocations: 104.9 kB / 432.8 MB, free: 4.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5849, allocations: 4 kB / 432.8 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.585, allocations: 3.984 kB / 432.8 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.585, allocations: 4 kB / 432.8 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.5851, allocations: 15.81 kB / 432.8 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.5851, allocations: 4 kB / 432.8 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.5853, allocations: 11.84 kB / 432.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.5853, allocations: 7.984 kB / 432.9 MB, free: 4.488 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.523e-05/0.5854, allocations: 112.9 kB / 433 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5855, allocations: 65.34 kB / 433 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.5858, allocations: 106.6 kB / 433.1 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5858, allocations: 4 kB / 433.1 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5858, allocations: 0 / 433.1 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.5859, allocations: 0 / 433.1 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.5861, allocations: 234 kB / 433.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5861, allocations: 0 / 433.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.5862, allocations: 11.5 kB / 433.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.5862, allocations: 8 kB / 433.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.5862, allocations: 4.078 kB / 433.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.5863, allocations: 8 kB / 433.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5863, allocations: 0 / 433.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.5866, allocations: 190.2 kB / 433.6 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5867, allocations: 107.9 kB / 433.7 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.5868, allocations: 11.23 kB / 433.7 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.5869, allocations: 4 kB / 433.7 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.587, allocations: 11.92 kB / 433.7 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.587, allocations: 0 / 433.7 MB, free: 3.602 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002744/0.5873, allocations: 197.4 kB / 433.9 MB, free: 3.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5873, allocations: 0 / 433.9 MB, free: 3.441 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000358/0.5877, allocations: 34.94 kB / 433.9 MB, free: 3.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001757/0.5894, allocations: 1.167 MB / 435.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.5897, allocations: 66.3 kB / 435.2 MB, free: 2.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5897, allocations: 256 / 435.2 MB, free: 2.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.5898, allocations: 30.81 kB / 435.2 MB, free: 2.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.5903, allocations: 53.55 kB / 435.3 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008374/0.5911, allocations: 330.4 kB / 435.6 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.5915, allocations: 0.7362 MB / 436.3 MB, free: 1.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.5916, allocations: 51.92 kB / 436.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5916, allocations: 0 / 436.4 MB, free: 1.105 MB / 346.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 OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSampleCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSampleFunctions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp13.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 OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSampleCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSampleFMU.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 'OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSampleCalcHelperMain.o] Error 1