Running command: translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.index|booleanTable.nextTime|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.573e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002768/0.1322, allocations: 1.528 MB / 412.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1342, allocations: 0.8893 MB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1344, allocations: 8 kB / 413.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.1352, allocations: 191.6 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.1356, allocations: 103.7 kB / 413.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.1363, allocations: 147.6 kB / 413.8 MB, free: 9.988 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.1365, allocations: 123.7 kB / 413.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.1366, allocations: 16 kB / 413.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1368, allocations: 87.73 kB / 414 MB, free: 9.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.137, allocations: 87.78 kB / 414.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.1372, allocations: 43.98 kB / 414.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.1372, allocations: 11.94 kB / 414.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.1373, allocations: 47.89 kB / 414.2 MB, free: 9.578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.1374, allocations: 16 kB / 414.2 MB, free: 9.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.1378, allocations: 207.7 kB / 414.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1378, allocations: 0 / 414.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1378, allocations: 0 / 414.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1378, allocations: 0 / 414.4 MB, free: 9.359 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009499/0.1388, allocations: 0.5796 MB / 415 MB, free: 8.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1388, allocations: 8.031 kB / 415 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.139, allocations: 27.72 kB / 415 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.1395, allocations: 281.6 kB / 415.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1396, allocations: 97.02 kB / 415.4 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.1397, allocations: 19.95 kB / 415.4 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.1402, allocations: 164.2 kB / 415.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1402, allocations: 0 / 415.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.1402, allocations: 4 kB / 415.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1403, allocations: 0 / 415.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.1407, allocations: 103.8 kB / 415.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1418, allocations: 0.6257 MB / 416.3 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.1424, allocations: 183.9 kB / 416.5 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.1424, allocations: 0 / 416.5 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006219/0.143, allocations: 435.4 kB / 416.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 1.973e-06/0.143, allocations: 0 / 416.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001437/0.1445, allocations: 0.6698 MB / 417.6 MB, free: 5.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.1446, allocations: 213.6 kB / 417.8 MB, free: 5.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000527/0.1452, allocations: 308 kB / 418.1 MB, free: 5.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.1452, allocations: 37.7 kB / 418.1 MB, free: 5.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1454, allocations: 187 kB / 418.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.1454, allocations: 51.34 kB / 418.4 MB, free: 4.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.1455, allocations: 8 kB / 418.4 MB, free: 4.949 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1456, allocations: 322.8 kB / 418.7 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1459, allocations: 64.16 kB / 418.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.1462, allocations: 145.8 kB / 418.9 MB, free: 4.387 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.1465, allocations: 153.1 kB / 419 MB, free: 4.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1465, allocations: 0 / 419 MB, free: 4.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008091/0.1473, allocations: 334.3 kB / 419.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.387e-05/0.1474, allocations: 97.08 kB / 419.5 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.1475, allocations: 4 kB / 419.5 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1475, allocations: 4 kB / 419.5 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1477, allocations: 23.92 kB / 419.5 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1477, allocations: 4 kB / 419.5 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.148, allocations: 36.05 kB / 419.5 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.148, allocations: 12 kB / 419.5 MB, free: 3.672 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition5,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0003039/0.1483, allocations: 269.7 kB / 419.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.1484, allocations: 31.72 kB / 419.8 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/0.1485, allocations: 25.7 kB / 419.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.1485, allocations: 8 kB / 419.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.1485, allocations: 4 kB / 419.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1486, allocations: 0 / 419.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.1489, allocations: 293.3 kB / 420.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.149, allocations: 0 / 420.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.149, allocations: 7.984 kB / 420.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.149, allocations: 0 / 420.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.1491, allocations: 12 kB / 420.2 MB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1491, allocations: 4 kB / 420.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1491, allocations: 0 / 420.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.1501, allocations: 478.7 kB / 420.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1502, allocations: 108.8 kB / 420.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.342e-05/0.1503, allocations: 8 kB / 420.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1506, allocations: 27.98 kB / 420.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.1507, allocations: 19.92 kB / 420.8 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.1507, allocations: 8 kB / 420.8 MB, free: 2.242 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003588/0.1511, allocations: 232.4 kB / 421 MB, free: 2.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1511, allocations: 0 / 421 MB, free: 2.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004793/0.1516, allocations: 75.94 kB / 421.1 MB, free: 1.941 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: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 3 * 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.001217/0.1528, allocations: 410.2 kB / 421.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000926/0.1538, allocations: 394.2 kB / 421.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1538, allocations: 3.938 kB / 421.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.1544, allocations: 346.1 kB / 422.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1548, allocations: 40.72 kB / 422.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.156, allocations: 0.5063 MB / 422.8 MB, free: 268 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3127/0.4688, allocations: 0.7491 MB / 423.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.469, allocations: 20.41 kB / 423.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.469, allocations: 0 / 423.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of Templates: time 0.01082/0.4798, allocations: 3.458 MB / 427 MB, free: 12.46 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.OnDelay.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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.OnDelayCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.OnDelayCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.OnDelayCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.OnDelayFunctions.cpp:208:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp40.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 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.OnDelayCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.OnDelayCalcHelperMain.o] Error 1