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.001425/0.001425, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001077, allocations: 82.59 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3178/0.3178, allocations: 43.5 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.452e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3971, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.5671, allocations: 87.06 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5674, allocations: 75.95 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0229/0.5904, allocations: 5.185 MB / 0.5561 GB, free: 6.98 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5904, allocations: 0 / 0.5561 GB, free: 6.98 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.5904, allocations: 7.938 kB / 0.5561 GB, free: 6.973 MB / 395.1 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.0005527/0.591, allocations: 394.2 kB / 0.5565 GB, free: 6.543 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5911, allocations: 8.031 kB / 0.5565 GB, free: 6.535 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.5911, allocations: 7.906 kB / 0.5565 GB, free: 6.527 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.5915, allocations: 206.9 kB / 0.5567 GB, free: 6.285 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.5915, allocations: 4 kB / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.5916, allocations: 0 / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/0.5917, allocations: 19.98 kB / 0.5567 GB, free: 6.262 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.5918, allocations: 71.33 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5919, allocations: 4 kB / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.5919, allocations: 0 / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.5919, allocations: 4 kB / 0.5568 GB, free: 6.172 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.5924, allocations: 269.3 kB / 0.557 GB, free: 5.871 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.5926, allocations: 54.56 kB / 0.5571 GB, free: 5.809 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.5926, allocations: 16.98 kB / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.5927, allocations: 4 kB / 0.5571 GB, free: 5.785 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.5928, allocations: 71.33 kB / 0.5572 GB, free: 5.703 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.5929, allocations: 0 / 0.5572 GB, free: 5.703 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005925/0.5935, allocations: 161.2 kB / 0.5573 GB, free: 5.539 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.5935, allocations: 89.03 kB / 0.5574 GB, free: 5.434 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.5937, allocations: 136.4 kB / 0.5575 GB, free: 5.297 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.5938, allocations: 25.7 kB / 0.5576 GB, free: 5.266 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.5939, allocations: 166.6 kB / 0.5577 GB, free: 5.102 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.5939, allocations: 27.64 kB / 0.5577 GB, free: 5.074 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.5939, allocations: 0 / 0.5577 GB, free: 5.074 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5941, allocations: 310.8 kB / 0.558 GB, free: 4.762 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.5941, allocations: 20 kB / 0.5581 GB, free: 4.742 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.5942, allocations: 42.56 kB / 0.5581 GB, free: 4.691 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.649e-05/0.5943, allocations: 24.02 kB / 0.5581 GB, free: 4.668 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5943, allocations: 0 / 0.5581 GB, free: 4.668 MB / 395.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002243/0.5946, allocations: 93.53 kB / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5946, allocations: 4 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.5946, allocations: 0 / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.5946, allocations: 11.89 kB / 0.5582 GB, free: 4.555 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.5948, allocations: 15.98 kB / 0.5582 GB, free: 4.539 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5948, allocations: 0 / 0.5582 GB, free: 4.539 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.5949, allocations: 4 kB / 0.5582 GB, free: 4.535 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.5949, allocations: 8 kB / 0.5582 GB, free: 4.527 MB / 395.1 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 () * 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 9.718e-05/0.595, allocations: 113 kB / 0.5584 GB, free: 4.41 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.5951, allocations: 15.88 kB / 0.5584 GB, free: 4.395 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.5954, allocations: 110.4 kB / 0.5585 GB, free: 4.281 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.5954, allocations: 7.953 kB / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5955, allocations: 96 / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5955, allocations: 3.938 kB / 0.5585 GB, free: 4.27 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.5961, allocations: 375.8 kB / 0.5588 GB, free: 3.855 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.5961, allocations: 3.938 kB / 0.5588 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.287e-05/0.5962, allocations: 12 kB / 0.5589 GB, free: 3.84 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5962, allocations: 0 / 0.5589 GB, free: 3.84 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.5962, allocations: 7.938 kB / 0.5589 GB, free: 3.832 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.5963, allocations: 7.938 kB / 0.5589 GB, free: 3.824 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5963, allocations: 0 / 0.5589 GB, free: 3.824 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.5966, allocations: 214 kB / 0.5591 GB, free: 3.59 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.5967, allocations: 92.97 kB / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.5967, allocations: 7.984 kB / 0.5592 GB, free: 3.473 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.5968, allocations: 0 / 0.5592 GB, free: 3.473 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.5969, allocations: 7.984 kB / 0.5592 GB, free: 3.465 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.5969, allocations: 4 kB / 0.5592 GB, free: 3.461 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.5971, allocations: 119.3 kB / 0.5593 GB, free: 3.344 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5971, allocations: 0 / 0.5593 GB, free: 3.344 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004097/0.5975, allocations: 31.92 kB / 0.5593 GB, free: 3.312 MB / 395.1 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) * 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.001295/0.5988, allocations: 457.8 kB / 0.5598 GB, free: 2.906 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.599, allocations: 59.92 kB / 0.5598 GB, free: 2.848 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.599, allocations: 0 / 0.5598 GB, free: 2.848 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.5991, allocations: 36 kB / 0.5599 GB, free: 2.812 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.5995, allocations: 27.8 kB / 0.5599 GB, free: 2.785 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.6, allocations: 159.6 kB / 0.56 GB, free: 2.594 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.6004, allocations: 0.7002 MB / 0.5607 GB, free: 1.867 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.6004, allocations: 23.42 kB / 0.5607 GB, free: 1.844 MB / 395.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6005, allocations: 4.062 kB / 0.5607 GB, free: 1.84 MB / 395.1 MB Notification: Performance of Templates: time 0.006171/0.6066, allocations: 2.174 MB / 0.5629 GB, free: 15.67 MB / 411.1 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/OMCompiler/build/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/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'