Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001545, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001617/0.001617, allocations: 97.2 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5192/0.5192, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004691, allocations: 20 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.5918, allocations: 87.81 MB / 0.5645 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5922, allocations: 75.95 kB / 0.5646 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02321/0.6154, allocations: 5.24 MB / 0.5697 GB, free: 9.484 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6154, allocations: 0.5469 kB / 0.5697 GB, free: 9.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.6155, allocations: 8 kB / 0.5697 GB, free: 9.477 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006854/0.6162, allocations: 410.5 kB / 0.5701 GB, free: 9.031 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.6162, allocations: 8.031 kB / 0.5701 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.6163, allocations: 15.28 kB / 0.5701 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.6167, allocations: 202.9 kB / 0.5703 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.6167, allocations: 8 kB / 0.5703 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.6168, allocations: 0 / 0.5703 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.617, allocations: 72.16 kB / 0.5704 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.617, allocations: 7.906 kB / 0.5704 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.6171, allocations: 5.031 kB / 0.5704 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.6171, allocations: 7.922 kB / 0.5704 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.6172, allocations: 35.91 kB / 0.5704 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.6178, allocations: 289.3 kB / 0.5707 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.618, allocations: 58.55 kB / 0.5708 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.6181, allocations: 4.062 kB / 0.5708 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.6183, allocations: 83.44 kB / 0.5708 GB, free: 8.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.524e-06/0.6183, allocations: 0 / 0.5708 GB, free: 8.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008095/0.6191, allocations: 185.2 kB / 0.571 GB, free: 7.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.6192, allocations: 77.11 kB / 0.5711 GB, free: 7.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.6195, allocations: 142.4 kB / 0.5712 GB, free: 7.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.6195, allocations: 33.7 kB / 0.5713 GB, free: 7.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.6196, allocations: 158.6 kB / 0.5714 GB, free: 7.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.6196, allocations: 31.56 kB / 0.5714 GB, free: 7.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.6197, allocations: 0 / 0.5714 GB, free: 7.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6198, allocations: 318.8 kB / 0.5717 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.6199, allocations: 23.98 kB / 0.5718 GB, free: 7.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.6201, allocations: 39.22 kB / 0.5718 GB, free: 7.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.6202, allocations: 32.69 kB / 0.5718 GB, free: 7.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6202, allocations: 4.031 kB / 0.5718 GB, free: 7.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003151/0.6205, allocations: 105.6 kB / 0.5719 GB, free: 6.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6206, allocations: 7.953 kB / 0.5719 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.6206, allocations: 0 / 0.5719 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6206, allocations: 0 / 0.5719 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.6208, allocations: 19.98 kB / 0.572 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6208, allocations: 0 / 0.572 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.213e-05/0.6209, allocations: 8 kB / 0.572 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.6209, allocations: 4 kB / 0.572 GB, free: 6.906 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked 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.0001338/0.6211, allocations: 129.8 kB / 0.5721 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.6211, allocations: 7.906 kB / 0.5721 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.6215, allocations: 138.1 kB / 0.5722 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.6216, allocations: 0 / 0.5722 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6216, allocations: 0 / 0.5722 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6216, allocations: 0 / 0.5722 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007057/0.6223, allocations: 415.3 kB / 0.5726 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.6223, allocations: 3.953 kB / 0.5726 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.6224, allocations: 15.98 kB / 0.5727 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6224, allocations: 0 / 0.5727 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.6225, allocations: 0 / 0.5727 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.425e-06/0.6225, allocations: 4 kB / 0.5727 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6225, allocations: 3.938 kB / 0.5727 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.6229, allocations: 230.2 kB / 0.5729 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.623, allocations: 89.02 kB / 0.573 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.623, allocations: 4.094 kB / 0.573 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.6231, allocations: 15.92 kB / 0.573 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.6232, allocations: 4 kB / 0.573 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.6232, allocations: 0 / 0.573 GB, free: 5.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.6234, allocations: 121.3 kB / 0.5731 GB, free: 5.633 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6234, allocations: 0 / 0.5731 GB, free: 5.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004037/0.6238, allocations: 55.83 kB / 0.5732 GB, free: 5.578 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * 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.001507/0.6254, allocations: 0.5167 MB / 0.5737 GB, free: 5.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.6257, allocations: 63.92 kB / 0.5737 GB, free: 5.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6257, allocations: 0 / 0.5737 GB, free: 5.098 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.6258, allocations: 35.92 kB / 0.5738 GB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.6262, allocations: 31.92 kB / 0.5738 GB, free: 5.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.6268, allocations: 258 kB / 0.574 GB, free: 4.746 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.6272, allocations: 0.7043 MB / 0.5747 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.6273, allocations: 19.42 kB / 0.5747 GB, free: 4 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6273, allocations: 0 / 0.5747 GB, free: 4 MB / 394.7 MB Notification: Performance of Templates: time 0.006087/0.6334, allocations: 2.174 MB / 0.5769 GB, free: 1.836 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile make -j1 -f ModelicaTest_3.2.3_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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:5:\nIn file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:14:\n/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:342:18: error: no matching function for call to \'mydummyfunc\'\n dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData());\n ^~~~~~~~~~~\n./OMCppModelicaTest_3.2.3_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.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1\n'