Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_10_Buildings.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.001121/0.001121, allocations: 107 kB / 16.42 MB, free: 6.469 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.001043/0.001043, allocations: 187.2 kB / 17.35 MB, free: 5.691 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.14/1.14, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.078/2.078, allocations: 437 MB / 0.7111 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/1.882e-05, allocations: 2.281 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.558/0.558, allocations: 176 MB / 1.191 GB, free: 436 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.5688, allocations: 8.694 MB / 1.199 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007123/0.5696, allocations: 24.84 kB / 1.2 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007823/0.5704, allocations: 308 kB / 1.2 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008148/0.5712, allocations: 317.1 kB / 1.2 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009601/0.5722, allocations: 375.5 kB / 1.2 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.5735, allocations: 1.204 MB / 1.202 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008381/0.5743, allocations: 0.614 MB / 1.202 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003951/0.5783, allocations: 2.168 MB / 1.204 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005149/0.5788, allocations: 343.1 kB / 1.205 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.5789, allocations: 35.25 kB / 1.205 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.5792, allocations: 81.92 kB / 1.205 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0007445/0.5799, allocations: 1.003 MB / 1.206 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0004776/0.5804, allocations: 0.7005 MB / 1.206 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.5806, allocations: 92.28 kB / 1.207 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.197e-05/0.5807, allocations: 28.53 kB / 1.207 GB, free: 4.555 MB / 0.9044 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.002198/0.5829, allocations: 2.653 MB / 1.209 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 0.0001339/0.583, allocations: 107 kB / 1.209 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.0008759/0.5839, allocations: 1.023 MB / 1.21 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of simplify1: time 9.295e-05/0.584, allocations: 82.14 kB / 1.21 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of Alias: time 0.0017/0.5857, allocations: 1.76 MB / 1.212 GB, free: 368 kB / 0.9044 GB Notification: Performance of simplify2: time 7.177e-05/0.5858, allocations: 61.86 kB / 1.212 GB, free: 316 kB / 0.9044 GB Notification: Performance of Detect States: time 0.0002252/0.586, allocations: 282 kB / 1.212 GB, free: 84 kB / 0.9044 GB Notification: Performance of Events: time 0.0001365/0.5862, allocations: 107.1 kB / 1.213 GB, free: 0 / 0.9044 GB Notification: Performance of Partitioning: time 0.0005243/0.5867, allocations: 0.6059 MB / 1.213 GB, free: 15.44 MB / 0.92 GB Notification: Performance of Causalize: time 0.002087/0.5888, allocations: 2.354 MB / 1.215 GB, free: 14.18 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0006959/0.5895, allocations: 0.8138 MB / 1.216 GB, free: 13.56 MB / 0.92 GB Notification: Performance of Inline: time 0.00124/0.5907, allocations: 1.392 MB / 1.218 GB, free: 12.54 MB / 0.92 GB Notification: Performance of Partitioning: time 0.000101/0.5908, allocations: 102.2 kB / 1.218 GB, free: 12.46 MB / 0.92 GB Notification: Performance of Cleanup: time 0.0001044/0.591, allocations: 69.42 kB / 1.218 GB, free: 12.41 MB / 0.92 GB Notification: Performance of Causalize: time 0.002758/0.5937, allocations: 2.52 MB / 1.22 GB, free: 10.07 MB / 0.92 GB Notification: Performance of Tearing: time 1.355e-05/0.5937, allocations: 3.938 kB / 1.22 GB, free: 10.07 MB / 0.92 GB Notification: Performance of Initialization: time 6.41e-07/0.5937, allocations: 0 / 1.22 GB, free: 10.07 MB / 0.92 GB Notification: Performance of Tearing: time 1.614e-05/0.5938, allocations: 7.938 kB / 1.22 GB, free: 10.06 MB / 0.92 GB Notification: Performance of Categorize: time 2.365e-05/0.5938, allocations: 7.938 kB / 1.22 GB, free: 10.05 MB / 0.92 GB Notification: Performance of Solve: time 0.0005527/0.5944, allocations: 398.2 kB / 1.221 GB, free: 9.668 MB / 0.92 GB Notification: Performance of Jacobian: time 2.855e-06/0.5944, allocations: 4 kB / 1.221 GB, free: 9.664 MB / 0.92 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 5.564e-05/0.5944, allocations: 42.98 kB / 1.221 GB, free: 9.633 MB / 0.92 GB Notification: Performance of SimCode: time 0.002407/0.5968, allocations: 2.766 MB / 1.223 GB, free: 6.832 MB / 0.92 GB Notification: Performance of Templates: time 0.007714/0.6046, allocations: 4.284 MB / 1.227 GB, free: 2.547 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile make -j1 -f Buildings_10_Buildings.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=Buildings_10_Buildings_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 Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.o Buildings_10_Buildings.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=Buildings_10_Buildings_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 Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.o Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:63:31: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(_OMC_LIT1,_modelName); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:64:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT2); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:66:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT3); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:83:35: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(_OMC_LIT4,_mediumName); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:84:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT5); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:86:45: error: use of undeclared identifier '_OMC_LIT6' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT6); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:89:46: error: use of undeclared identifier '_OMC_LIT7' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT7); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:92:46: error: use of undeclared identifier '_OMC_LIT8' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT8); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:104:14: error: use of undeclared identifier '_OMC_LIT9' _X_str = _OMC_LIT9; ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:112:41: error: use of undeclared identifier '_OMC_LIT10' tmpMeta21 = stringAppend(_X_str,_OMC_LIT10); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:115:44: error: use of undeclared identifier '_OMC_LIT11' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT11); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:118:44: error: use of undeclared identifier '_OMC_LIT12' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT12); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT13' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT13); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:125:30: error: use of undeclared identifier '_OMC_LIT14' tmpMeta33 = stringAppend(_OMC_LIT14,_mediumName); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:126:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT5); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:128:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT13); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:129:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT15); ^ Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:132:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT16); ^ Buildings_10_Buildings.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: *** [: Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.o] Error 1