Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 106.8 kB / 16.42 MB, free: 6.523 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.001052/0.001052, allocations: 190 kB / 17.36 MB, free: 5.707 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.126/1.126, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.171/2.171, allocations: 472.6 MB / 0.7459 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.113e-05, allocations: 4.672 kB / 1.07 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3704/0.3705, allocations: 29.33 MB / 1.099 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008144/0.3786, allocations: 6.897 MB / 1.105 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.3792, allocations: 46.84 kB / 1.106 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.3804, allocations: 0.6976 MB / 1.106 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.3828, allocations: 1.52 MB / 1.108 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.3851, allocations: 1.151 MB / 1.109 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002485/0.3876, allocations: 2.618 MB / 1.111 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009563/0.3886, allocations: 0.8492 MB / 1.112 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.39, allocations: 1.095 MB / 1.113 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/0.3907, allocations: 0.7456 MB / 1.114 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.3909, allocations: 62.47 kB / 1.114 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.3922, allocations: 0.8176 MB / 1.115 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.001297/0.3936, allocations: 1.897 MB / 1.117 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0006941/0.3943, allocations: 1.253 MB / 1.118 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.3944, allocations: 186.2 kB / 1.118 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 0.0001154/0.3946, allocations: 41.17 kB / 1.118 GB, free: 6.523 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: 176 (159) * Number of variables: 176 (164) Notification: Performance of Bindings: time 0.003679/0.3982, allocations: 4.676 MB / 1.123 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 0.0003305/0.3986, allocations: 354.9 kB / 1.123 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.002669/0.4013, allocations: 2.879 MB / 1.126 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simplify1: time 0.0002057/0.4015, allocations: 213.5 kB / 1.126 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of Alias: time 0.003637/0.4051, allocations: 3.75 MB / 1.13 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simplify2: time 0.0001715/0.4053, allocations: 188.5 kB / 1.13 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of Detect States: time 0.0005514/0.4059, allocations: 0.5645 MB / 1.13 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of Events: time 0.0006636/0.4065, allocations: 0.62 MB / 1.131 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of Partitioning: time 0.0008327/0.4074, allocations: 0.8483 MB / 1.132 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of Causalize: time 0.003901/0.4113, allocations: 3.861 MB / 1.136 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of After Index Reduction Inline: time 0.001897/0.4132, allocations: 2.073 MB / 1.138 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of Inline: time 0.005858/0.419, allocations: 4.218 MB / 1.142 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of Partitioning: time 0.0001875/0.4192, allocations: 166.5 kB / 1.142 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of Cleanup: time 0.0001603/0.4194, allocations: 173.9 kB / 1.142 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of Causalize: time 0.00535/0.4248, allocations: 5.334 MB / 1.147 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of Tearing: time 1.63e-05/0.4248, allocations: 5.125 kB / 1.147 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of Initialization: time 3.7e-07/0.4248, allocations: 0 / 1.147 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of Tearing: time 9.318e-06/0.4248, allocations: 6.688 kB / 1.147 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of Categorize: time 2.009e-05/0.4248, allocations: 13.08 kB / 1.147 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of Solve: time 0.001075/0.4259, allocations: 0.7163 MB / 1.148 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of Jacobian: time 0.001201/0.4271, allocations: 1.222 MB / 1.149 GB, free: 5.43 MB / 0.8731 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 4 * 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: ............................. 3 (3) {heaHigPow.hSet, cooLimPow.hSet, heaCooUnl.port_b.h_outflow} * Number of discrete states: .................... 6 (6) {setHeaCooUnl.nextTimeEventScaled, setHeaCooUnl.nextTimeEvent, setCooLimPow.nextTimeEventScaled, setCooLimPow.nextTimeEvent, setHeaHigPow.nextTimeEvent, setHeaHigPow.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 47 (44) {$SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_4[$i1], $TEV_3[$i1], $TEV_2[$i1], $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: ........... 122 (scalar:117, array:5, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, if:0, tuple:0) * Number of for-loop strong components: ......... 11 (generic: 11, 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: ........... 174 (scalar:166, array:5, record:3) * Number of multi strong components: ............ 6 (algorithm:6, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 11 (generic: 11, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.345e-05/0.4272, allocations: 78.16 kB / 1.149 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of SimCode: time 0.005904/0.4331, allocations: 5.635 MB / 1.155 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of Templates: time 0.01844/0.4516, allocations: 13.9 MB / 1.168 GB, free: 12.28 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water -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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.o Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water -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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1165:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1166:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1168:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1185:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1186:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1188:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1194:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1206:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1214:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1220:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1222:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1227:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1234:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT29); ^ Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1330: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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o] Error 1