Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.12e-05/4.113e-05, allocations: 7.984 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 50.42 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002956/0.1227, allocations: 1.563 MB / 346.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.125, allocations: 0.893 MB / 347.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.1252, allocations: 4 kB / 347.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.1261, allocations: 155.6 kB / 347.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.1264, allocations: 87.73 kB / 347.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007785/0.1272, allocations: 147.5 kB / 347.8 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.1275, allocations: 83.83 kB / 347.9 MB, free: 6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.1276, allocations: 19.92 kB / 347.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1277, allocations: 59.83 kB / 348 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1279, allocations: 51.78 kB / 348 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1281, allocations: 35.91 kB / 348.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.1281, allocations: 4 kB / 348.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.1282, allocations: 35.91 kB / 348.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.1283, allocations: 8 kB / 348.1 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.1286, allocations: 155.9 kB / 348.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1286, allocations: 0 / 348.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1286, allocations: 0 / 348.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1286, allocations: 0 / 348.3 MB, free: 5.637 MB / 282.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.0007529/0.1294, allocations: 460.5 kB / 348.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1294, allocations: 11.97 kB / 348.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.1295, allocations: 23.77 kB / 348.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.13, allocations: 253.8 kB / 349 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.1301, allocations: 4 kB / 349 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.1301, allocations: 8 kB / 349 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.1306, allocations: 150.7 kB / 349.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1306, allocations: 3.938 kB / 349.2 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1306, allocations: 4 kB / 349.2 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1306, allocations: 0 / 349.2 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1308, allocations: 31.94 kB / 349.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.1315, allocations: 374.3 kB / 349.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.1318, allocations: 107.9 kB / 349.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.1318, allocations: 4 kB / 349.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.1321, allocations: 79.45 kB / 349.7 MB, free: 3.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 4.539e-06/0.1321, allocations: 0 / 349.7 MB, free: 3.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005304/0.1326, allocations: 145.2 kB / 349.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/0.1328, allocations: 132.8 kB / 350 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.1332, allocations: 240.2 kB / 350.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.1333, allocations: 33.7 kB / 350.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1334, allocations: 170.6 kB / 350.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1334, allocations: 15.8 kB / 350.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.1334, allocations: 0 / 350.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1336, allocations: 318.8 kB / 350.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1337, allocations: 27.92 kB / 350.8 MB, free: 2.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1339, allocations: 69.94 kB / 350.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.134, allocations: 20 kB / 350.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.134, allocations: 32 / 350.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003222/0.1344, allocations: 109.5 kB / 351 MB, free: 2.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.1344, allocations: 8 kB / 351 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1344, allocations: 0 / 351 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.1345, allocations: 3.953 kB / 351 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1346, allocations: 15.98 kB / 351 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1346, allocations: 3.938 kB / 351 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.1348, allocations: 19.84 kB / 351.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1348, allocations: 8.125 kB / 351.1 MB, free: 2.543 MB / 282.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 0.0001889/0.135, allocations: 141.8 kB / 351.2 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.1352, allocations: 57.81 kB / 351.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.265e-05/0.1353, allocations: 25.7 kB / 351.3 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.1353, allocations: 11.89 kB / 351.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1353, allocations: 4 kB / 351.3 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1353, allocations: 0 / 351.3 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.1356, allocations: 225.6 kB / 351.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1356, allocations: 8.062 kB / 351.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.1357, allocations: 7.984 kB / 351.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1357, allocations: 0 / 351.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1357, allocations: 4 kB / 351.5 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1357, allocations: 0 / 351.5 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1358, allocations: 3.953 kB / 351.5 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.1362, allocations: 174 kB / 351.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.1363, allocations: 108.9 kB / 351.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.1364, allocations: 3.953 kB / 351.8 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1365, allocations: 11.98 kB / 351.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.1366, allocations: 4 kB / 351.8 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.1366, allocations: 4 kB / 351.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003003/0.1369, allocations: 192.5 kB / 352 MB, free: 1.449 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1369, allocations: 7.938 kB / 352 MB, free: 1.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003523/0.1373, allocations: 35.84 kB / 352.1 MB, free: 1.406 MB / 282.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001267/0.1386, allocations: 399.5 kB / 352.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.139, allocations: 71.84 kB / 352.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.139, allocations: 0 / 352.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.1391, allocations: 20 kB / 352.6 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.1397, allocations: 64.34 kB / 352.6 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.1405, allocations: 365 kB / 353 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.141, allocations: 0.7361 MB / 353.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.1411, allocations: 27.42 kB / 353.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1411, allocations: 0 / 353.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of Templates: time 0.007432/0.1485, allocations: 2.594 MB / 356.3 MB, free: 13.21 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -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:29: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSampleFunctions.cpp:208:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp25.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, ^ 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