Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadModel(Modelica): time 2.223/2.223, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.96e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 50.42 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003072/0.1206, allocations: 1.649 MB / 346.6 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.123, allocations: 0.9398 MB / 347.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.1233, allocations: 7.938 kB / 347.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007349/0.124, allocations: 159.5 kB / 347.7 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.1243, allocations: 79.8 kB / 347.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009692/0.1253, allocations: 199.4 kB / 348 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.1256, allocations: 107.8 kB / 348.1 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1258, allocations: 27.97 kB / 348.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1259, allocations: 63.78 kB / 348.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1261, allocations: 71.73 kB / 348.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1263, allocations: 35.92 kB / 348.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.1263, allocations: 8 kB / 348.3 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.1264, allocations: 43.83 kB / 348.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.1265, allocations: 12 kB / 348.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1268, allocations: 175.9 kB / 348.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1268, allocations: 4 kB / 348.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1269, allocations: 0 / 348.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1269, allocations: 0 / 348.5 MB, free: 5.367 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008482/0.1277, allocations: 492.4 kB / 349 MB, free: 4.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1278, allocations: 8.031 kB / 349 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/0.1279, allocations: 35.52 kB / 349.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.1284, allocations: 269.7 kB / 349.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.1285, allocations: 15.94 kB / 349.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.1285, allocations: 16 kB / 349.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.1293, allocations: 297.4 kB / 349.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1293, allocations: 0 / 349.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.1294, allocations: 3.953 kB / 349.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.1294, allocations: 4 kB / 349.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.1297, allocations: 63.91 kB / 349.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/0.1304, allocations: 386.3 kB / 350.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.1309, allocations: 179.9 kB / 350.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.131, allocations: 11.95 kB / 350.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.1312, allocations: 71.5 kB / 350.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.876e-06/0.1312, allocations: 0 / 350.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007555/0.132, allocations: 225.2 kB / 350.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1321, allocations: 140.5 kB / 350.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.1326, allocations: 252.1 kB / 351 MB, free: 2.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.1326, allocations: 33.7 kB / 351 MB, free: 2.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1328, allocations: 179.2 kB / 351.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.1328, allocations: 31.7 kB / 351.2 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.1328, allocations: 4 kB / 351.2 MB, free: 2.449 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.133, allocations: 318.8 kB / 351.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.1331, allocations: 40.44 kB / 351.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.1334, allocations: 158.8 kB / 351.7 MB, free: 1.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.1336, allocations: 63.95 kB / 351.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.1336, allocations: 4 kB / 351.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005471/0.1342, allocations: 209.4 kB / 352 MB, free: 1.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.1342, allocations: 8 kB / 352 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1343, allocations: 4.375 kB / 352 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.1343, allocations: 4 kB / 352 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1345, allocations: 27.92 kB / 352 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.1345, allocations: 11.94 kB / 352 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.1347, allocations: 28.08 kB / 352.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.1348, allocations: 12 kB / 352.1 MB, free: 1.504 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,table1.y,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0002365/0.135, allocations: 179.4 kB / 352.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.1353, allocations: 121.3 kB / 352.4 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.021e-05/0.1354, allocations: 29.7 kB / 352.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1354, allocations: 4 kB / 352.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1354, allocations: 0 / 352.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.1355, allocations: 3.984 kB / 352.4 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.1358, allocations: 245.5 kB / 352.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1358, allocations: 0 / 352.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.1359, allocations: 19.92 kB / 352.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.1359, allocations: 3.953 kB / 352.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.1359, allocations: 8 kB / 352.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1359, allocations: 0 / 352.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1359, allocations: 0 / 352.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.1365, allocations: 252.8 kB / 352.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.1366, allocations: 120.7 kB / 353 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.1367, allocations: 11.98 kB / 353.1 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1369, allocations: 4 kB / 353.1 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.1369, allocations: 8 kB / 353.1 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.137, allocations: 7.984 kB / 353.1 MB, free: 400 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002944/0.1373, allocations: 196.5 kB / 353.3 MB, free: 200 kB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1373, allocations: 0 / 353.3 MB, free: 200 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000432/0.1377, allocations: 48 kB / 353.3 MB, free: 152 kB / 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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001268/0.139, allocations: 408 kB / 353.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005288/0.1396, allocations: 139.8 kB / 353.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1396, allocations: 3.938 kB / 353.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1397, allocations: 27.98 kB / 353.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.1404, allocations: 104.3 kB / 354 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1415, allocations: 467.3 kB / 354.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1419, allocations: 0.756 MB / 355.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.142, allocations: 23.42 kB / 355.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of SimCode: time 1.153e-06/0.142, allocations: 4 kB / 355.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of Templates: time 0.008473/0.1505, allocations: 3.174 MB / 358.4 MB, free: 11.12 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.UpSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleFunctions.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.UpSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.o] Error 1