Running command: translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 270 MB / 282.7 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.032e-05, allocations: 0 / 347 MB, free: 3.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.322, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4616, allocations: 90.59 MB / 499.4 MB, free: 56 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.4618, allocations: 64.03 kB / 499.5 MB, free: 15.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0255/0.4873, allocations: 6.119 MB / 0.4938 GB, free: 9.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.879e-06/0.4874, allocations: 0 / 0.4938 GB, free: 9.863 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.4874, allocations: 4 kB / 0.4938 GB, free: 9.859 MB / 426.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.0009129/0.4883, allocations: 0.5943 MB / 0.4943 GB, free: 9.195 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4884, allocations: 12.03 kB / 0.4944 GB, free: 9.184 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.183e-05/0.4885, allocations: 31.72 kB / 0.4944 GB, free: 9.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.4891, allocations: 277.6 kB / 0.4947 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.4892, allocations: 93.05 kB / 0.4947 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.4893, allocations: 19.95 kB / 0.4948 GB, free: 8.711 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.4897, allocations: 157.5 kB / 0.4949 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4897, allocations: 0 / 0.4949 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.4897, allocations: 8 kB / 0.4949 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-06/0.4897, allocations: 0 / 0.4949 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.49, allocations: 83.91 kB / 0.495 GB, free: 8.445 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.4911, allocations: 0.6259 MB / 0.4956 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.4915, allocations: 160 kB / 0.4958 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4917, allocations: 86.56 kB / 0.4958 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.4918, allocations: 11.94 kB / 0.4959 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000544/0.4923, allocations: 413.4 kB / 0.4962 GB, free: 6.992 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.169e-06/0.4924, allocations: 0 / 0.4962 GB, free: 6.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008091/0.4932, allocations: 350.4 kB / 0.4966 GB, free: 6.625 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.4933, allocations: 221.6 kB / 0.4968 GB, free: 6.359 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.4939, allocations: 289 kB / 0.4971 GB, free: 6.066 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.4939, allocations: 33.7 kB / 0.4971 GB, free: 6.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4941, allocations: 183.1 kB / 0.4973 GB, free: 5.848 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.196e-05/0.4941, allocations: 47.36 kB / 0.4973 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.417e-05/0.4942, allocations: 8.109 kB / 0.4973 GB, free: 5.793 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4944, allocations: 330.7 kB / 0.4976 GB, free: 5.461 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.4945, allocations: 52.11 kB / 0.4977 GB, free: 5.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.4948, allocations: 134.5 kB / 0.4978 GB, free: 5.242 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.495, allocations: 149 kB / 0.498 GB, free: 5.078 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.64e-06/0.495, allocations: 0 / 0.498 GB, free: 5.078 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000621/0.4957, allocations: 318.3 kB / 0.4983 GB, free: 4.742 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/0.4958, allocations: 97.31 kB / 0.4984 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4958, allocations: 4 kB / 0.4984 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.4958, allocations: 4 kB / 0.4984 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.496, allocations: 23.92 kB / 0.4984 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.496, allocations: 4 kB / 0.4984 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.4962, allocations: 23.98 kB / 0.4984 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.4963, allocations: 8 kB / 0.4984 GB, free: 4.562 MB / 426.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.000254/0.4965, allocations: 245 kB / 0.4987 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.008e-05/0.4966, allocations: 31.72 kB / 0.4987 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.4971, allocations: 201.1 kB / 0.4989 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4971, allocations: 0 / 0.4989 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.541e-06/0.4971, allocations: 4 kB / 0.4989 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.151e-06/0.4972, allocations: 0 / 0.4989 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.4976, allocations: 309.3 kB / 0.4992 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.228e-06/0.4976, allocations: 0 / 0.4992 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.4977, allocations: 4.094 kB / 0.4992 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.468e-06/0.4977, allocations: 11.94 kB / 0.4992 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.4977, allocations: 12 kB / 0.4992 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.771e-06/0.4977, allocations: 3.938 kB / 0.4992 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.082e-06/0.4978, allocations: 0 / 0.4992 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/0.4986, allocations: 465.4 kB / 0.4997 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.4988, allocations: 112.8 kB / 0.4998 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/0.4988, allocations: 12 kB / 0.4998 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.499, allocations: 23.98 kB / 0.4998 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.4991, allocations: 19.97 kB / 0.4998 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.4992, allocations: 15.95 kB / 0.4998 GB, free: 2.961 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003564/0.4996, allocations: 229.3 kB / 0.5 GB, free: 2.738 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.4996, allocations: 0 / 0.5 GB, free: 2.738 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000467/0.5001, allocations: 76 kB / 0.5001 GB, free: 2.664 MB / 426.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,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * 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.001493/0.5016, allocations: 440.5 kB / 0.5005 GB, free: 2.363 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006991/0.5023, allocations: 382 kB / 0.5009 GB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5023, allocations: 0 / 0.5009 GB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.5028, allocations: 342.1 kB / 0.5012 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.5032, allocations: 36.42 kB / 0.5013 GB, free: 1.547 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009566/0.5041, allocations: 394.6 kB / 0.5016 GB, free: 1.125 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.5046, allocations: 0.7561 MB / 0.5024 GB, free: 348 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.05e-05/0.5047, allocations: 23.44 kB / 0.5024 GB, free: 324 kB / 426.7 MB Notification: Performance of SimCode: time 1.65e-06/0.5047, allocations: 0 / 0.5024 GB, free: 324 kB / 426.7 MB Notification: Performance of Templates: time 0.008014/0.5128, allocations: 3.529 MB / 0.5058 GB, free: 12.79 MB / 442.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 -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 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:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.OnDelayFunctions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp23.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