Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.867e-05, allocations: 5.562 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08885/0.08892, allocations: 50.42 MB / 342.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.4827, allocations: 81.39 MB / 423.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.483, allocations: 80.06 kB / 424 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02606/0.509, allocations: 6.504 MB / 430.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5091, allocations: 0 / 430.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.5091, allocations: 4.172 kB / 430.5 MB, free: 7.328 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006628/0.5098, allocations: 471 kB / 431 MB, free: 6.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5098, allocations: 12.03 kB / 431 MB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.5099, allocations: 15.81 kB / 431 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.5104, allocations: 268.2 kB / 431.3 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.5105, allocations: 11.86 kB / 431.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.5105, allocations: 4 kB / 431.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.5108, allocations: 141.2 kB / 431.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.236e-06/0.5109, allocations: 4 kB / 431.4 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.5109, allocations: 0 / 431.4 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.5109, allocations: 3.953 kB / 431.4 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.5111, allocations: 38.92 kB / 431.5 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.5117, allocations: 359.8 kB / 431.8 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.5119, allocations: 111 kB / 431.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.685e-05/0.512, allocations: 38.02 kB / 432 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.5121, allocations: 7.891 kB / 432 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.5122, allocations: 79.02 kB / 432.1 MB, free: 5.727 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.813e-06/0.5122, allocations: 0 / 432.1 MB, free: 5.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003137/0.5126, allocations: 112.4 kB / 432.2 MB, free: 5.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.5127, allocations: 136.5 kB / 432.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.5131, allocations: 239.3 kB / 432.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.5131, allocations: 33.39 kB / 432.6 MB, free: 5.234 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.5132, allocations: 169.3 kB / 432.7 MB, free: 5.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.5133, allocations: 15.69 kB / 432.7 MB, free: 5.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-06/0.5133, allocations: 7.75 kB / 432.8 MB, free: 5.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5135, allocations: 314.8 kB / 433.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.733e-05/0.5135, allocations: 23.81 kB / 433.1 MB, free: 4.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.5136, allocations: 77.5 kB / 433.2 MB, free: 4.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.855e-05/0.5137, allocations: 20.41 kB / 433.2 MB, free: 4.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.703e-06/0.5137, allocations: 0 / 433.2 MB, free: 4.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002225/0.514, allocations: 93.27 kB / 433.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.514, allocations: 15.95 kB / 433.3 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.629e-06/0.514, allocations: 0 / 433.3 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.514, allocations: 0 / 433.3 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.5142, allocations: 19.92 kB / 433.3 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.41e-06/0.5142, allocations: 0 / 433.3 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.5143, allocations: 15.78 kB / 433.3 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.5143, allocations: 4 kB / 433.3 MB, free: 4.504 MB / 346.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,subSample1.y,subSample1.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.0001051/0.5144, allocations: 108.9 kB / 433.4 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5146, allocations: 67.94 kB / 433.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.5149, allocations: 117.1 kB / 433.6 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5149, allocations: 0 / 433.6 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.28e-06/0.5149, allocations: 4 kB / 433.6 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5149, allocations: 0 / 433.6 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.5152, allocations: 225.7 kB / 433.8 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5152, allocations: 4 kB / 433.8 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.5153, allocations: 11.92 kB / 433.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.25e-06/0.5153, allocations: 0 / 433.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5153, allocations: 8.062 kB / 433.9 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.323e-06/0.5153, allocations: 4.078 kB / 433.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.522e-06/0.5153, allocations: 7.984 kB / 433.9 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.5157, allocations: 179.9 kB / 434 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.5158, allocations: 119.9 kB / 434.2 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.5159, allocations: 3.438 kB / 434.2 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.516, allocations: 7.984 kB / 434.2 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.516, allocations: 4 kB / 434.2 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.5161, allocations: 4 kB / 434.2 MB, free: 3.617 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002663/0.5164, allocations: 197.7 kB / 434.4 MB, free: 3.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5164, allocations: 0 / 434.4 MB, free: 3.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.5167, allocations: 39.8 kB / 434.4 MB, free: 3.422 MB / 346.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,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001458/0.5182, allocations: 418.7 kB / 434.8 MB, free: 3.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.5185, allocations: 62.3 kB / 434.9 MB, free: 3.074 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5185, allocations: 4.062 kB / 434.9 MB, free: 3.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.563e-05/0.5186, allocations: 26.94 kB / 434.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.519, allocations: 52.5 kB / 435 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.5196, allocations: 259.8 kB / 435.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.5201, allocations: 0.7435 MB / 436 MB, free: 1.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.5201, allocations: 18.62 kB / 436 MB, free: 1.965 MB / 346.7 MB Notification: Performance of SimCode: time 1.514e-06/0.5201, allocations: 0 / 436 MB, free: 1.965 MB / 346.7 MB Notification: Performance of Templates: time 0.005786/0.5259, allocations: 2.601 MB / 438.6 MB, free: 15.4 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSampleCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSampleFunctions.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.SubSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSampleCalcHelperMain.o] Error 1