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 2.135/2.135, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.835e-05, allocations: 0 / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 50.42 MB / 345 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003226/0.1173, allocations: 1.579 MB / 346.6 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.121, allocations: 0.9242 MB / 347.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.1213, allocations: 7.938 kB / 347.5 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008113/0.1221, allocations: 155.6 kB / 347.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.1225, allocations: 87.73 kB / 347.7 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.1233, allocations: 159.5 kB / 347.9 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.1236, allocations: 91.77 kB / 348 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1237, allocations: 15.98 kB / 348 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1239, allocations: 59.83 kB / 348 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1241, allocations: 59.75 kB / 348.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.1243, allocations: 31.98 kB / 348.1 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.1243, allocations: 8 kB / 348.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.1244, allocations: 39.78 kB / 348.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.1245, allocations: 8 kB / 348.2 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.1248, allocations: 155.9 kB / 348.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1248, allocations: 0 / 348.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1248, allocations: 3.938 kB / 348.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.1249, allocations: 0 / 348.3 MB, free: 5.574 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008623/0.1257, allocations: 464.5 kB / 348.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.1258, allocations: 12.03 kB / 348.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.1259, allocations: 27.67 kB / 348.8 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.1265, allocations: 265.7 kB / 349.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.1265, allocations: 4 kB / 349.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.1265, allocations: 8 kB / 349.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.127, allocations: 171.5 kB / 349.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1271, allocations: 0 / 349.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1271, allocations: 4 kB / 349.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1271, allocations: 0 / 349.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.1273, allocations: 43.81 kB / 349.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007501/0.1281, allocations: 383.3 kB / 349.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.1285, allocations: 138.5 kB / 349.8 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.1285, allocations: 4 kB / 349.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.1288, allocations: 71.47 kB / 349.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.875e-06/0.1288, allocations: 0 / 349.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006204/0.1294, allocations: 157.7 kB / 350.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.1296, allocations: 162.2 kB / 350.2 MB, free: 3.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.1301, allocations: 256 kB / 350.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.1301, allocations: 29.7 kB / 350.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.1303, allocations: 170.8 kB / 350.7 MB, free: 2.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.1303, allocations: 23.73 kB / 350.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.1303, allocations: 4 kB / 350.7 MB, free: 2.941 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1305, allocations: 314.8 kB / 351 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.1306, allocations: 23.98 kB / 351 MB, free: 2.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1308, allocations: 83.7 kB / 351.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.131, allocations: 35.97 kB / 351.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.131, allocations: 0 / 351.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003636/0.1314, allocations: 117.7 kB / 351.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1314, allocations: 4 kB / 351.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1314, allocations: 192 / 351.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.1314, allocations: 11.95 kB / 351.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.1316, allocations: 19.92 kB / 351.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1316, allocations: 0 / 351.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.1318, allocations: 12 kB / 351.3 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.1318, allocations: 4 kB / 351.3 MB, free: 2.285 MB / 282.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.0002245/0.1321, allocations: 141.8 kB / 351.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.1323, allocations: 81.41 kB / 351.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.32e-05/0.1324, allocations: 29.73 kB / 351.6 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1324, allocations: 7.891 kB / 351.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1324, allocations: 4 kB / 351.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1324, allocations: 0 / 351.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.1328, allocations: 225.6 kB / 351.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1328, allocations: 0 / 351.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.1328, allocations: 15.92 kB / 351.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.1329, allocations: 7.938 kB / 351.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1329, allocations: 0 / 351.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1329, allocations: 0 / 351.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1329, allocations: 11.95 kB / 351.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.1334, allocations: 208.5 kB / 352 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.1336, allocations: 112.9 kB / 352.1 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.1336, allocations: 3.984 kB / 352.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1337, allocations: 8 kB / 352.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.1338, allocations: 7.984 kB / 352.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.1338, allocations: 4 kB / 352.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003161/0.1342, allocations: 196.5 kB / 352.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1342, allocations: 0 / 352.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.1346, allocations: 36 kB / 352.4 MB, free: 1.07 MB / 282.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001278/0.1358, allocations: 410.4 kB / 352.8 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.1362, allocations: 80.16 kB / 352.9 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1363, allocations: 4.062 kB / 352.9 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1364, allocations: 24.12 kB / 352.9 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.137, allocations: 72.31 kB / 353 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.138, allocations: 394.1 kB / 353.3 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.1385, allocations: 0.7439 MB / 354.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.1386, allocations: 23.42 kB / 354.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1386, allocations: 0 / 354.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of Templates: time 0.007943/0.1465, allocations: 2.766 MB / 356.9 MB, free: 12.64 MB / 298.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 -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.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:29: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSampleFunctions.cpp:208:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp27.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