Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.766e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09372, allocations: 50.41 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.5017, allocations: 81.54 MB / 424.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.502, allocations: 79.42 kB / 424.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02439/0.5264, allocations: 6.039 MB / 430.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.935e-06/0.5264, allocations: 0 / 430.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.828e-05/0.5265, allocations: 8 kB / 430.2 MB, free: 7.547 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006787/0.5271, allocations: 486.5 kB / 430.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5272, allocations: 8.031 kB / 430.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.5273, allocations: 23.77 kB / 430.7 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.5278, allocations: 265.4 kB / 431 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.5278, allocations: 7.312 kB / 431 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.5279, allocations: 11.48 kB / 431 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.5283, allocations: 164.4 kB / 431.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.44e-06/0.5283, allocations: 0 / 431.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.5283, allocations: 3.438 kB / 431.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.5283, allocations: 7.953 kB / 431.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.5285, allocations: 38.06 kB / 431.2 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.5291, allocations: 376.2 kB / 431.6 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.5294, allocations: 128.5 kB / 431.7 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.5295, allocations: 52.61 kB / 431.8 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.5295, allocations: 7.938 kB / 431.8 MB, free: 5.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.5297, allocations: 88.97 kB / 431.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.949e-06/0.5297, allocations: 0 / 431.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003411/0.5301, allocations: 121.7 kB / 432 MB, free: 5.734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.5302, allocations: 166.1 kB / 432.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.5306, allocations: 249 kB / 432.4 MB, free: 5.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.5306, allocations: 28.77 kB / 432.4 MB, free: 5.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.5308, allocations: 175.6 kB / 432.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.5308, allocations: 20.75 kB / 432.6 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-06/0.5308, allocations: 0 / 432.6 MB, free: 5.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.531, allocations: 318.3 kB / 432.9 MB, free: 4.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.5311, allocations: 22.25 kB / 432.9 MB, free: 4.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.5312, allocations: 80.97 kB / 433 MB, free: 4.699 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.826e-05/0.5313, allocations: 33.73 kB / 433 MB, free: 4.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.013e-06/0.5313, allocations: 0 / 433 MB, free: 4.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002638/0.5316, allocations: 112.5 kB / 433.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5316, allocations: 11.95 kB / 433.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.976e-06/0.5317, allocations: 0 / 433.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.5317, allocations: 4 kB / 433.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.5318, allocations: 8 kB / 433.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.5318, allocations: 7.984 kB / 433.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.5319, allocations: 7.906 kB / 433.2 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.532, allocations: 11.38 kB / 433.2 MB, free: 4.531 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001078/0.5321, allocations: 119.7 kB / 433.3 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.5323, allocations: 71.94 kB / 433.4 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.5325, allocations: 113 kB / 433.5 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5326, allocations: 0 / 433.5 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.648e-06/0.5326, allocations: 4 kB / 433.5 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.362e-06/0.5326, allocations: 0 / 433.5 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.5329, allocations: 239.7 kB / 433.7 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-06/0.5329, allocations: 4.094 kB / 433.7 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.533, allocations: 15.88 kB / 433.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.413e-06/0.533, allocations: 0 / 433.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.533, allocations: 4 kB / 433.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.667e-06/0.533, allocations: 4.078 kB / 433.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.763e-06/0.5331, allocations: 11.98 kB / 433.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.5334, allocations: 206.8 kB / 434 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.5336, allocations: 119.6 kB / 434.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.5336, allocations: 7.438 kB / 434.1 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5338, allocations: 7.984 kB / 434.1 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.5338, allocations: 11.92 kB / 434.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.5338, allocations: 7.688 kB / 434.1 MB, free: 3.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002657/0.5341, allocations: 199.6 kB / 434.3 MB, free: 3.418 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.5341, allocations: 0 / 434.3 MB, free: 3.418 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.5345, allocations: 35.44 kB / 434.4 MB, free: 3.387 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (12): * Single equations (assignments): 10 * 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.001474/0.536, allocations: 417.2 kB / 434.8 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.5363, allocations: 76.23 kB / 434.8 MB, free: 3.035 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.108e-06/0.5363, allocations: 0 / 434.8 MB, free: 3.035 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.5364, allocations: 34.47 kB / 434.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.5369, allocations: 58.56 kB / 434.9 MB, free: 2.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.5375, allocations: 285.7 kB / 435.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.538, allocations: 0.7356 MB / 435.9 MB, free: 1.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.5381, allocations: 26.19 kB / 436 MB, free: 1.898 MB / 346.7 MB Notification: Performance of SimCode: time 1.521e-06/0.5381, allocations: 4 kB / 436 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Templates: time 0.006283/0.5444, allocations: 2.796 MB / 438.8 MB, free: 15.14 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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.BackSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSampleCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSampleFunctions.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, ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSampleCalcHelperMain.o] Error 1