Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 104.8 kB / 16.42 MB, free: 6.52 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.001416/0.001416, allocations: 187.2 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0023/0.002299, allocations: 300.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9894/0.9894, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.472e-05, allocations: 2.281 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.6248/0.6249, allocations: 176 MB / 0.8539 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.6367, allocations: 8.708 MB / 0.8624 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.6382, allocations: 19.88 kB / 0.8624 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.6393, allocations: 297.8 kB / 0.8627 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0009576/0.6404, allocations: 314.3 kB / 0.863 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.6417, allocations: 368.6 kB / 0.8633 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.6433, allocations: 1.193 MB / 0.8645 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008909/0.6442, allocations: 0.6192 MB / 0.8651 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005344/0.6495, allocations: 2.109 MB / 0.8672 GB, free: 324 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005162/0.6501, allocations: 334.7 kB / 0.8675 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.6501, allocations: 36 kB / 0.8675 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.6504, allocations: 79.86 kB / 0.8676 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.0007665/0.6512, allocations: 1.002 MB / 0.8686 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of replaceArrayConstructors: time 0.0004981/0.6517, allocations: 0.7063 MB / 0.8693 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.6518, allocations: 91.69 kB / 0.8694 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.0001648/0.652, allocations: 39.75 kB / 0.8694 GB, free: 14.02 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 (121) * Number of variables: 133 (119) Notification: Performance of Bindings: time 0.002589/0.6546, allocations: 2.666 MB / 0.872 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.0001438/0.6547, allocations: 103.9 kB / 0.8721 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.0009955/0.6557, allocations: 1.033 MB / 0.8731 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simplify1: time 9.485e-05/0.6558, allocations: 76.75 kB / 0.8732 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of Alias: time 0.002126/0.658, allocations: 1.753 MB / 0.8749 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of simplify2: time 6.522e-05/0.6581, allocations: 63.89 kB / 0.8749 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of Events: time 0.0001399/0.6582, allocations: 100.8 kB / 0.875 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of Detect States: time 0.000263/0.6585, allocations: 279.5 kB / 0.8753 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.0006199/0.6591, allocations: 0.6116 MB / 0.8759 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of Causalize: time 0.002456/0.6616, allocations: 2.344 MB / 0.8782 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of After Index Reduction Inline: time 0.000802/0.6624, allocations: 0.8197 MB / 0.879 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of Inline: time 0.001394/0.6638, allocations: 1.403 MB / 0.8804 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.0001125/0.6639, allocations: 95.59 kB / 0.8805 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of Cleanup: time 6.848e-05/0.664, allocations: 75.8 kB / 0.8805 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of Causalize: time 0.002715/0.6667, allocations: 2.518 MB / 0.883 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of Tearing: time 1.198e-05/0.6667, allocations: 4 kB / 0.883 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of Initialization: time 5.21e-07/0.6667, allocations: 0 / 0.883 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of Tearing: time 1.03e-05/0.6667, allocations: 3.938 kB / 0.883 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of Categorize: time 3.299e-05/0.6668, allocations: 4 kB / 0.883 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of Solve: time 0.0005947/0.6674, allocations: 398.1 kB / 0.8834 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of Jacobian: time 6.763e-06/0.6674, allocations: 3.984 kB / 0.8834 GB, free: 14.98 MB / 0.6544 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 19 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 87 (scalar:37, array:50, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, 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: ........... 100 (scalar:50, array:50, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.823e-05/0.6675, allocations: 50.03 kB / 0.8834 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of SimCode: time 0.003099/0.6706, allocations: 2.75 MB / 0.8861 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.008905/0.6795, allocations: 4.129 MB / 0.8901 GB, free: 8.027 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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=BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h -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 BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.o BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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=BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h -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 BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.o BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:63:31: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(_OMC_LIT1,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:64:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT2); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:66:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT3); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:83:35: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(_OMC_LIT4,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:84:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT5); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:86:45: error: use of undeclared identifier '_OMC_LIT6' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT6); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:89:46: error: use of undeclared identifier '_OMC_LIT7' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT7); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:92:46: error: use of undeclared identifier '_OMC_LIT8' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT8); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:104:14: error: use of undeclared identifier '_OMC_LIT9' _X_str = _OMC_LIT9; ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:112:41: error: use of undeclared identifier '_OMC_LIT10' tmpMeta21 = stringAppend(_X_str,_OMC_LIT10); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:115:44: error: use of undeclared identifier '_OMC_LIT11' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT11); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:118:44: error: use of undeclared identifier '_OMC_LIT12' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT12); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT13' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT13); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:125:30: error: use of undeclared identifier '_OMC_LIT14' tmpMeta33 = stringAppend(_OMC_LIT14,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:126:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT5); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:128:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT13); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:129:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT15); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:132:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT16); ^ BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.c:151:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ 1 warning and 18 errors generated. make: *** [: BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_functions.o] Error 1