Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 107.4 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 188.2 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.029/1.029, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.03784/0.03784, allocations: 9.081 MB / 279.7 MB, free: 2.965 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.468e-05, allocations: 3.125 kB / 388.1 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.009904/0.009926, allocations: 12.82 MB / 400.9 MB, free: 38.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006118/0.01606, allocations: 8.583 MB / 409.5 MB, free: 31.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.01612, allocations: 1.031 kB / 409.5 MB, free: 31.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.01626, allocations: 43.33 kB / 409.5 MB, free: 31.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.02006, allocations: 1.889 MB / 411.4 MB, free: 30.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.02409, allocations: 2.262 MB / 413.7 MB, free: 29.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.02422, allocations: 137.4 kB / 413.8 MB, free: 28.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.02426, allocations: 3.188 kB / 413.8 MB, free: 28.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.02431, allocations: 38.95 kB / 413.9 MB, free: 28.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.02438, allocations: 55.14 kB / 413.9 MB, free: 28.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.0244, allocations: 2.781 kB / 413.9 MB, free: 28.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005889/0.03029, allocations: 6.421 MB / 420.3 MB, free: 23.62 MB / 318.1 MB Notification: Performance of combineBinaries: time 8.929e-05/0.03039, allocations: 182.2 kB / 420.5 MB, free: 23.45 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.03e-05/0.03043, allocations: 109.3 kB / 420.6 MB, free: 23.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.03045, allocations: 19.94 kB / 420.6 MB, free: 23.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.008e-05/0.03046, allocations: 0 / 420.6 MB, free: 23.32 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 (14) * Number of variables: 22 (22) Notification: Performance of Bindings: time 0.0003827/0.03085, allocations: 0.6327 MB / 421.3 MB, free: 22.59 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.978e-05/0.03088, allocations: 19.92 kB / 421.3 MB, free: 22.57 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002387/0.03112, allocations: 348 kB / 421.6 MB, free: 22.2 MB / 318.1 MB Notification: Performance of simplify1: time 1.336e-05/0.03114, allocations: 23.95 kB / 421.7 MB, free: 22.18 MB / 318.1 MB Notification: Performance of Alias: time 7.258e-05/0.03122, allocations: 118.2 kB / 421.8 MB, free: 22.02 MB / 318.1 MB Notification: Performance of simplify2: time 1.015e-05/0.03123, allocations: 15.98 kB / 421.8 MB, free: 22 MB / 318.1 MB Notification: Performance of Events: time 1.499e-05/0.03125, allocations: 15.98 kB / 421.8 MB, free: 21.99 MB / 318.1 MB Notification: Performance of Detect States: time 9.823e-05/0.03135, allocations: 93.48 kB / 421.9 MB, free: 21.88 MB / 318.1 MB Notification: Performance of Partitioning: time 8.488e-05/0.03145, allocations: 108.2 kB / 422 MB, free: 21.76 MB / 318.1 MB Notification: Performance of Causalize: time 0.0003742/0.03183, allocations: 428.5 kB / 422.4 MB, free: 21.34 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002784/0.03211, allocations: 0.5228 MB / 422.9 MB, free: 20.79 MB / 318.1 MB Notification: Performance of Inline: time 0.0004039/0.03252, allocations: 0.719 MB / 423.7 MB, free: 20.04 MB / 318.1 MB Notification: Performance of Partitioning: time 1.892e-05/0.03255, allocations: 28.11 kB / 423.7 MB, free: 20 MB / 318.1 MB Notification: Performance of Cleanup: time 1.705e-05/0.03257, allocations: 31.91 kB / 423.7 MB, free: 19.97 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004102/0.03298, allocations: 0.5181 MB / 424.2 MB, free: 19.46 MB / 318.1 MB Notification: Performance of Tearing: time 8.035e-06/0.033, allocations: 0 / 424.2 MB, free: 19.46 MB / 318.1 MB Notification: Performance of Initialization: time 3.51e-07/0.03301, allocations: 8 kB / 424.2 MB, free: 19.45 MB / 318.1 MB Notification: Performance of Tearing: time 1.713e-06/0.03301, allocations: 7.875 kB / 424.3 MB, free: 19.45 MB / 318.1 MB Notification: Performance of Categorize: time 6.091e-06/0.03302, allocations: 0 / 424.3 MB, free: 19.45 MB / 318.1 MB Notification: Performance of Solve: time 0.0001006/0.03313, allocations: 96.42 kB / 424.3 MB, free: 19.35 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0001535/0.03329, allocations: 468.2 kB / 424.8 MB, free: 18.82 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 2 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {d_p_int, d_h_int} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {state_p.phase, state_h.phase} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 22 (scalar:22, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:28, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.452e-05/0.03332, allocations: 37.36 kB / 424.8 MB, free: 18.79 MB / 318.1 MB Notification: Performance of SimCode: time 0.004653/0.03797, allocations: 4.641 MB / 429.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of Templates: time 0.02392/0.06191, allocations: 27.53 MB / 457 MB, free: 2.539 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.o HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.c HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.c:373:1: warning: 'optnone' attribute only applies to functions and Objective-C methods [-Wignored-attributes] OMC_DISABLE_OPT ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../openmodelica.h:187:40: note: expanded from macro 'OMC_DISABLE_OPT' #define OMC_DISABLE_OPT __attribute__((optnone)) ^ 1 warning generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.o HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:2547:40: error: use of undeclared identifier '_OMC_LIT19' tmpMeta30 = stringAppend(_OMC_LIT19,tmp29); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:2548:50: error: use of undeclared identifier '_OMC_LIT20' tmpMeta31 = stringAppend(tmpMeta30,_OMC_LIT20); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:2551:50: error: use of undeclared identifier '_OMC_LIT21' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT21); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:2929:63: error: use of undeclared identifier '_OMC_LIT23' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT23)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:2977:42: error: use of undeclared identifier '_OMC_LIT19' tmpMeta47 = stringAppend(_OMC_LIT19,tmp46); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:2978:52: error: use of undeclared identifier '_OMC_LIT22' tmpMeta48 = stringAppend(tmpMeta47,_OMC_LIT22); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:2981:52: error: use of undeclared identifier '_OMC_LIT21' tmpMeta51 = stringAppend(tmpMeta50,_OMC_LIT21); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:3062:25: error: use of undeclared identifier '_OMC_LIT24' real_array_alloc_copy(_OMC_LIT24, _n); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:3064:25: error: use of undeclared identifier '_OMC_LIT25' real_array_alloc_copy(_OMC_LIT25, _I); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:3066:25: error: use of undeclared identifier '_OMC_LIT26' real_array_alloc_copy(_OMC_LIT26, _J); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:3252:25: error: use of undeclared identifier '_OMC_LIT27' real_array_alloc_copy(_OMC_LIT27, _n); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:3254:25: error: use of undeclared identifier '_OMC_LIT28' real_array_alloc_copy(_OMC_LIT28, _I); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:3256:25: error: use of undeclared identifier '_OMC_LIT29' real_array_alloc_copy(_OMC_LIT29, _J); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:4055:31: error: use of undeclared identifier '_OMC_LIT32' tmpMeta2 = stringAppend(_OMC_LIT32,tmp1); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:4056:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT33); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:4057:40: error: use of undeclared identifier '_OMC_LIT34' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT34); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:4058:40: error: use of undeclared identifier '_OMC_LIT35' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT35); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:4070:31: error: use of undeclared identifier '_OMC_LIT36' tmpMeta8 = stringAppend(_OMC_LIT36,tmp7); ^ HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.c:4071:40: error: use of undeclared identifier '_OMC_LIT37' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT37); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_functions.o] Error 1