Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadModel(ModelicaTest): time 1.9/1.9, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004477, allocations: 16 kB / 282.5 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.0878, allocations: 48.71 MB / 331.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002268/0.09011, allocations: 1.31 MB / 332.5 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.09121, allocations: 432.6 kB / 332.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.09129, allocations: 0 / 332.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.09155, allocations: 31.89 kB / 333 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.09173, allocations: 27.91 kB / 333 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.09197, allocations: 55.81 kB / 333 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.09213, allocations: 59.86 kB / 333.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.09225, allocations: 16.16 kB / 333.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.09234, allocations: 23.92 kB / 333.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.09243, allocations: 27.84 kB / 333.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.09246, allocations: 4 kB / 333.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.09262, allocations: 51.91 kB / 333.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.09267, allocations: 7.938 kB / 333.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.09273, allocations: 33.7 kB / 333.3 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.09297, allocations: 96.08 kB / 333.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.09299, allocations: 4 kB / 333.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.915e-06/0.093, allocations: 0 / 333.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.041e-06/0.09302, allocations: 3.938 kB / 333.4 MB, free: 6.734 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005562/0.09358, allocations: 400.9 kB / 333.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.09363, allocations: 12.03 kB / 333.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.09369, allocations: 11.89 kB / 333.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.09398, allocations: 202.8 kB / 334 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.09401, allocations: 0 / 334 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.09405, allocations: 12 kB / 334 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.09422, allocations: 59.39 kB / 334 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.09425, allocations: 0 / 334 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.09428, allocations: 4 kB / 334.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.432e-06/0.0943, allocations: 4 kB / 334.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.09439, allocations: 15.98 kB / 334.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.09484, allocations: 288.8 kB / 334.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.964e-05/0.09495, allocations: 34.56 kB / 334.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.09499, allocations: 4 kB / 334.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.09517, allocations: 63.48 kB / 334.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.388e-06/0.09519, allocations: 0 / 334.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004682/0.09566, allocations: 121.3 kB / 334.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.09574, allocations: 77.11 kB / 334.6 MB, free: 5.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.09593, allocations: 141.8 kB / 334.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.09597, allocations: 25.7 kB / 334.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.09608, allocations: 158.6 kB / 335 MB, free: 4.914 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.09612, allocations: 15.8 kB / 335 MB, free: 4.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.09614, allocations: 4 kB / 335 MB, free: 4.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.09631, allocations: 322.7 kB / 335.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.09639, allocations: 19.98 kB / 335.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.727e-05/0.09648, allocations: 33.7 kB / 335.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/0.09659, allocations: 61.72 kB / 335.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-06/0.0966, allocations: 0 / 335.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000264/0.09688, allocations: 131.2 kB / 335.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.09693, allocations: 37.08 kB / 335.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.963e-06/0.09695, allocations: 4 kB / 335.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.09698, allocations: 0 / 335.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.274e-05/0.09707, allocations: 8 kB / 335.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.377e-06/0.09709, allocations: 0 / 335.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.09717, allocations: 7.984 kB / 335.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.0972, allocations: 8 kB / 335.6 MB, free: 4.238 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001249/0.09734, allocations: 121.8 kB / 335.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.09738, allocations: 7.906 kB / 335.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.09761, allocations: 81.98 kB / 335.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.09763, allocations: 0 / 335.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.069e-06/0.09764, allocations: 0 / 335.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.09766, allocations: 4 kB / 335.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.09814, allocations: 342.5 kB / 336.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.09817, allocations: 3.984 kB / 336.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.09822, allocations: 19.92 kB / 336.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.08e-06/0.09824, allocations: 0 / 336.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-06/0.09825, allocations: 0 / 336.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.872e-06/0.09827, allocations: 0.5625 kB / 336.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.09828, allocations: 4 kB / 336.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.09852, allocations: 175.4 kB / 336.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.09861, allocations: 89.02 kB / 336.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.09865, allocations: 0 / 336.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.09875, allocations: 4 kB / 336.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.09879, allocations: 7.984 kB / 336.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.09882, allocations: 4 kB / 336.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.09894, allocations: 103.8 kB / 336.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.09896, allocations: 0 / 336.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000414/0.09938, allocations: 51.92 kB / 336.6 MB, free: 3.129 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001521/0.1009, allocations: 458.5 kB / 337 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.1012, allocations: 111.4 kB / 337.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.16e-06/0.1012, allocations: 0 / 337.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.1013, allocations: 27.92 kB / 337.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.1016, allocations: 16.12 kB / 337.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.1021, allocations: 195.1 kB / 337.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.1025, allocations: 0.6926 MB / 338.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.1026, allocations: 23.42 kB / 338.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of SimCode: time 1.411e-06/0.1026, allocations: 0 / 338.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Templates: time 0.2112/0.3139, allocations: 2.023 MB / 340.1 MB, free: 15 MB / 282.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile b'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=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:5:\nIn file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}}\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}}\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}}\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}}\n ^\nIn file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:205:18: error: no matching function for call to \'mydummyfunc\'\n dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData());\n ^~~~~~~~~~~\n./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument (\'const double *\') would lose const qualifier\ndouble mydummyfunc(double* dummy_in) {\n ^\n4 warnings and 1 error generated.\n: recipe for target \'OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1\n'