Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadModel(Modelica): time 2.496/2.496, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.717e-05, allocations: 0 / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 50.42 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003782/0.1275, allocations: 1.571 MB / 346.6 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.1305, allocations: 0.9125 MB / 347.5 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.1308, allocations: 4 kB / 347.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009257/0.1317, allocations: 163.5 kB / 347.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.1321, allocations: 75.81 kB / 347.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1332, allocations: 159.5 kB / 347.9 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.1335, allocations: 91.77 kB / 347.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1337, allocations: 19.98 kB / 348 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.1339, allocations: 59.83 kB / 348 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.1341, allocations: 55.78 kB / 348.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.1343, allocations: 31.98 kB / 348.1 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.1343, allocations: 4 kB / 348.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1345, allocations: 43.81 kB / 348.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.1345, allocations: 11.94 kB / 348.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.135, allocations: 152 kB / 348.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.135, allocations: 0 / 348.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.135, allocations: 0 / 348.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.135, allocations: 0 / 348.3 MB, free: 5.594 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.0007839/0.1358, allocations: 468.5 kB / 348.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1359, allocations: 8.031 kB / 348.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.136, allocations: 19.77 kB / 348.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.1365, allocations: 265.6 kB / 349.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1365, allocations: 8 kB / 349.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.1365, allocations: 4 kB / 349.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.137, allocations: 170.5 kB / 349.2 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1371, allocations: 0 / 349.2 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1371, allocations: 0 / 349.2 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1371, allocations: 3.953 kB / 349.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.1373, allocations: 39.92 kB / 349.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.1381, allocations: 450.6 kB / 349.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.1385, allocations: 134.5 kB / 349.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.1386, allocations: 7.938 kB / 349.9 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.1388, allocations: 93.09 kB / 350 MB, free: 3.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.364e-06/0.1388, allocations: 0 / 350 MB, free: 3.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005638/0.1394, allocations: 161.3 kB / 350.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1395, allocations: 154.2 kB / 350.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.14, allocations: 248.5 kB / 350.5 MB, free: 3.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.14, allocations: 29.7 kB / 350.5 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1402, allocations: 186.6 kB / 350.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.1402, allocations: 27.8 kB / 350.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.1402, allocations: 4 kB / 350.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1404, allocations: 310.8 kB / 351 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1405, allocations: 23.98 kB / 351.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.1407, allocations: 82.84 kB / 351.2 MB, free: 2.434 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1408, allocations: 28 kB / 351.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1409, allocations: 0 / 351.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004115/0.1413, allocations: 113.6 kB / 351.3 MB, free: 2.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1413, allocations: 7.938 kB / 351.3 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1413, allocations: 3.953 kB / 351.3 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1414, allocations: 4 kB / 351.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1415, allocations: 19.92 kB / 351.3 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1416, allocations: 0 / 351.3 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.1417, allocations: 15.91 kB / 351.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1418, allocations: 4 kB / 351.3 MB, free: 2.234 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,hold1.u,hold1.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.0002018/0.142, allocations: 150.7 kB / 351.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.1421, allocations: 69.5 kB / 351.6 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.023e-05/0.1422, allocations: 25.69 kB / 351.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1422, allocations: 7.953 kB / 351.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.1422, allocations: 4 kB / 351.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1423, allocations: 4 kB / 351.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.1426, allocations: 225.5 kB / 351.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1426, allocations: 4 kB / 351.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.1426, allocations: 7.938 kB / 351.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1427, allocations: 4.062 kB / 351.8 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1427, allocations: 4 kB / 351.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.1427, allocations: 3.984 kB / 351.8 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.1427, allocations: 7.953 kB / 351.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.1431, allocations: 208.5 kB / 352.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1433, allocations: 112.8 kB / 352.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.1434, allocations: 4 kB / 352.2 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1435, allocations: 7.984 kB / 352.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.1436, allocations: 8 kB / 352.2 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.1436, allocations: 7.984 kB / 352.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002924/0.1439, allocations: 192.5 kB / 352.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1439, allocations: 0 / 352.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.1443, allocations: 31.98 kB / 352.4 MB, free: 1.031 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,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 (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.001237/0.1455, allocations: 399.7 kB / 352.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.1459, allocations: 75.84 kB / 352.9 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1459, allocations: 0 / 352.9 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1461, allocations: 31.92 kB / 352.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.1466, allocations: 76.95 kB / 353 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.1474, allocations: 383 kB / 353.4 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1479, allocations: 0.7361 MB / 354.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.1479, allocations: 19.44 kB / 354.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.148, allocations: 0 / 354.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of Templates: time 0.007322/0.1553, allocations: 2.688 MB / 356.8 MB, free: 12.7 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.HoldCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldFunctions.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.HoldCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.o] Error 1