Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0008946/0.0008946, allocations: 106.4 kB / 16.42 MB, free: 6.512 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.0008545/0.0008546, allocations: 187.2 kB / 17.36 MB, free: 5.719 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.097/1.097, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.866/1.866, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.072e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.5294/0.5294, allocations: 176 MB / 1.123 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007501/0.537, allocations: 8.707 MB / 1.132 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006008/0.5376, allocations: 27.78 kB / 1.132 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.5382, allocations: 298.7 kB / 1.132 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005681/0.5389, allocations: 321.4 kB / 1.132 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.5397, allocations: 381.4 kB / 1.133 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009226/0.5406, allocations: 1.192 MB / 1.134 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.5413, allocations: 0.6191 MB / 1.135 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.545, allocations: 2.175 MB / 1.137 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.5453, allocations: 335 kB / 1.137 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.5454, allocations: 38.41 kB / 1.137 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.5456, allocations: 81.64 kB / 1.137 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.0006012/0.5462, allocations: 1 MB / 1.138 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0002975/0.5465, allocations: 0.7001 MB / 1.139 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.78e-05/0.5466, allocations: 93.53 kB / 1.139 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.862e-05/0.5466, allocations: 22.69 kB / 1.139 GB, free: 5.211 MB / 0.8575 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.001733/0.5484, allocations: 2.671 MB / 1.142 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 9.339e-05/0.5485, allocations: 99.16 kB / 1.142 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.0007373/0.5492, allocations: 1.036 MB / 1.143 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of simplify1: time 5.811e-05/0.5493, allocations: 75.23 kB / 1.143 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of Alias: time 0.001476/0.5508, allocations: 1.76 MB / 1.144 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of simplify2: time 4.227e-05/0.5508, allocations: 62.3 kB / 1.144 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0001924/0.551, allocations: 275.6 kB / 1.145 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of Events: time 0.0001122/0.5511, allocations: 107.2 kB / 1.145 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0004424/0.5516, allocations: 0.6034 MB / 1.145 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of Causalize: time 0.001972/0.5536, allocations: 2.342 MB / 1.148 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.0005985/0.5542, allocations: 0.8231 MB / 1.149 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of Inline: time 0.00102/0.5552, allocations: 1.391 MB / 1.15 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of Partitioning: time 8.665e-05/0.5553, allocations: 106.2 kB / 1.15 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of Cleanup: time 4.536e-05/0.5553, allocations: 64.44 kB / 1.15 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of Causalize: time 0.002221/0.5576, allocations: 2.518 MB / 1.152 GB, free: 128 kB / 0.8575 GB Notification: Performance of Tearing: time 1.19e-05/0.5576, allocations: 3.938 kB / 1.152 GB, free: 124 kB / 0.8575 GB Notification: Performance of Initialization: time 3.31e-07/0.5576, allocations: 0 / 1.152 GB, free: 124 kB / 0.8575 GB Notification: Performance of Tearing: time 9.488e-06/0.5576, allocations: 15.45 kB / 1.153 GB, free: 112 kB / 0.8575 GB Notification: Performance of Categorize: time 1.948e-05/0.5576, allocations: 8.469 kB / 1.153 GB, free: 108 kB / 0.8575 GB Notification: Performance of Solve: time 0.0005236/0.5582, allocations: 418.1 kB / 1.153 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of Jacobian: time 2.936e-06/0.5582, allocations: 0 / 1.153 GB, free: 15.96 MB / 0.8731 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 4.449e-05/0.5582, allocations: 38.42 kB / 1.153 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002294/0.5605, allocations: 2.752 MB / 1.156 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.006528/0.5671, allocations: 4.288 MB / 1.16 GB, free: 14.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Fluid.Sources.Examples.PropertySource_h.o Buildings_9_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_9_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_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.o Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:63:31: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(_OMC_LIT1,_modelName); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:64:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT2); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:66:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT3); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:83:35: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(_OMC_LIT4,_mediumName); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:84:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT5); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:86:45: error: use of undeclared identifier '_OMC_LIT6' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT6); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:89:46: error: use of undeclared identifier '_OMC_LIT7' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT7); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:92:46: error: use of undeclared identifier '_OMC_LIT8' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT8); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:104:14: error: use of undeclared identifier '_OMC_LIT9' _X_str = _OMC_LIT9; ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:112:41: error: use of undeclared identifier '_OMC_LIT10' tmpMeta21 = stringAppend(_X_str,_OMC_LIT10); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:115:44: error: use of undeclared identifier '_OMC_LIT11' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT11); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:118:44: error: use of undeclared identifier '_OMC_LIT12' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT12); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT13' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT13); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:125:30: error: use of undeclared identifier '_OMC_LIT14' tmpMeta33 = stringAppend(_OMC_LIT14,_mediumName); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:126:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT5); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:128:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT13); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:129:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT15); ^ Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.c:132:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT16); ^ Buildings_9_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_9_Buildings.Fluid.Sources.Examples.PropertySource_h_functions.o] Error 1