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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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.001105/0.001105, allocations: 111 kB / 16.43 MB, free: 6.023 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.001042/0.001042, allocations: 183.1 kB / 17.36 MB, free: 5.621 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.105/1.105, 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 11.0.1-master/package.mo): time 2.128/2.128, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.548e-05, allocations: 2.5 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3858/0.3858, allocations: 29.33 MB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007042/0.3929, allocations: 6.881 MB / 1.09 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005071/0.3934, allocations: 50.31 kB / 1.09 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.3945, allocations: 0.6966 MB / 1.091 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.3968, allocations: 1.451 MB / 1.092 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.399, allocations: 1.151 MB / 1.093 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.4012, allocations: 2.616 MB / 1.096 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009381/0.4021, allocations: 0.8443 MB / 1.097 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.4035, allocations: 1.097 MB / 1.098 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007351/0.4043, allocations: 0.7529 MB / 1.098 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.4044, allocations: 66.69 kB / 1.099 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.4058, allocations: 0.8122 MB / 1.099 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001011/0.4068, allocations: 1.889 MB / 1.101 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0005199/0.4073, allocations: 1.255 MB / 1.102 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.4075, allocations: 185.7 kB / 1.103 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001239/0.4076, allocations: 37.34 kB / 1.103 GB, free: 6.211 MB / 0.8419 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.003053/0.4107, allocations: 4.674 MB / 1.107 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002957/0.411, allocations: 355.9 kB / 1.108 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.002459/0.4134, allocations: 2.884 MB / 1.11 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001902/0.4136, allocations: 213.8 kB / 1.111 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of Alias: time 0.003429/0.4171, allocations: 3.763 MB / 1.114 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of simplify2: time 0.0001749/0.4172, allocations: 180 kB / 1.114 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of Events: time 0.0006675/0.4179, allocations: 0.6376 MB / 1.115 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0006709/0.4186, allocations: 0.6859 MB / 1.116 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0008293/0.4194, allocations: 0.8493 MB / 1.117 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of Causalize: time 0.003865/0.4233, allocations: 3.797 MB / 1.12 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.001929/0.4253, allocations: 2.067 MB / 1.122 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of Inline: time 0.004171/0.4294, allocations: 4.049 MB / 1.126 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0002213/0.4297, allocations: 153.4 kB / 1.126 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0001893/0.4299, allocations: 178 kB / 1.127 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of Causalize: time 0.005713/0.4356, allocations: 5.333 MB / 1.132 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of Tearing: time 1.133e-05/0.4356, allocations: 0 / 1.132 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of Initialization: time 3.51e-07/0.4356, allocations: 0 / 1.132 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of Tearing: time 7.715e-06/0.4356, allocations: 2.5 kB / 1.132 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of Categorize: time 1.85e-05/0.4356, allocations: 9.375 kB / 1.132 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of Solve: time 0.001123/0.4368, allocations: 0.7124 MB / 1.132 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of Jacobian: time 0.001207/0.438, allocations: 1.208 MB / 1.134 GB, free: 5.484 MB / 0.8575 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.49e-05/0.4381, allocations: 64.61 kB / 1.134 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of SimCode: time 0.00609/0.4442, allocations: 5.601 MB / 1.139 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of Templates: time 0.01889/0.4631, allocations: 13.9 MB / 1.153 GB, free: 13.73 MB / 0.8731 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