Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001058/0.001058, allocations: 104.5 kB / 16.42 MB, free: 5.988 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.001035/0.001035, allocations: 192.7 kB / 17.36 MB, free: 5.57 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.107/1.107, 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.038/2.038, allocations: 437 MB / 0.7111 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.48e-05, allocations: 4.75 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02461/0.02463, allocations: 29.36 MB / 1.048 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008144/0.03279, allocations: 6.867 MB / 1.055 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008252/0.03362, allocations: 47.69 kB / 1.055 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.03485, allocations: 0.6992 MB / 1.055 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.03755, allocations: 1.517 MB / 1.057 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.03976, allocations: 1.158 MB / 1.058 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.04241, allocations: 2.608 MB / 1.06 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.04361, allocations: 0.8538 MB / 1.061 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.04531, allocations: 1.101 MB / 1.062 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.04635, allocations: 0.7469 MB / 1.063 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.04652, allocations: 64 kB / 1.063 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.04792, allocations: 0.811 MB / 1.064 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001255/0.04919, allocations: 1.897 MB / 1.066 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0007821/0.04997, allocations: 1.248 MB / 1.067 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.05022, allocations: 183.4 kB / 1.067 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001127/0.05034, allocations: 43.8 kB / 1.067 GB, free: 8.031 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.003831/0.05418, allocations: 4.675 MB / 1.072 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0003416/0.05453, allocations: 354.9 kB / 1.072 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.3611/0.4156, allocations: 2.886 MB / 1.075 GB, free: 22.53 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0003944/0.4161, allocations: 212.6 kB / 1.075 GB, free: 22.53 MB / 0.8419 GB Notification: Performance of Alias: time 0.00348/0.4195, allocations: 3.744 MB / 1.079 GB, free: 21.31 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001492/0.4197, allocations: 181 kB / 1.079 GB, free: 21.3 MB / 0.8419 GB Notification: Performance of Detect States: time 0.000471/0.4202, allocations: 0.5594 MB / 1.08 GB, free: 21.22 MB / 0.8419 GB Notification: Performance of Events: time 0.0005663/0.4208, allocations: 0.6308 MB / 1.08 GB, free: 21.09 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000669/0.4214, allocations: 0.8538 MB / 1.081 GB, free: 20.85 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003682/0.4251, allocations: 3.856 MB / 1.085 GB, free: 19.94 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.00178/0.4269, allocations: 2.066 MB / 1.087 GB, free: 19.77 MB / 0.8419 GB Notification: Performance of Inline: time 0.00549/0.4324, allocations: 4.231 MB / 1.091 GB, free: 19.38 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001508/0.4326, allocations: 158.1 kB / 1.091 GB, free: 19.33 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001429/0.4327, allocations: 178.5 kB / 1.091 GB, free: 19.32 MB / 0.8419 GB Notification: Performance of Causalize: time 0.004995/0.4377, allocations: 5.334 MB / 1.096 GB, free: 18.08 MB / 0.8419 GB Notification: Performance of Tearing: time 1.425e-05/0.4377, allocations: 1.125 kB / 1.096 GB, free: 18.08 MB / 0.8419 GB Notification: Performance of Initialization: time 4.11e-07/0.4377, allocations: 4 kB / 1.096 GB, free: 18.08 MB / 0.8419 GB Notification: Performance of Tearing: time 1.013e-05/0.4378, allocations: 5.109 kB / 1.096 GB, free: 18.08 MB / 0.8419 GB Notification: Performance of Categorize: time 1.89e-05/0.4378, allocations: 6.109 kB / 1.096 GB, free: 18.08 MB / 0.8419 GB Notification: Performance of Solve: time 0.001004/0.4388, allocations: 0.7141 MB / 1.097 GB, free: 18.01 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.00106/0.4399, allocations: 1.224 MB / 1.098 GB, free: 17.64 MB / 0.8419 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 5.727e-05/0.4399, allocations: 79.94 kB / 1.098 GB, free: 17.62 MB / 0.8419 GB Notification: Performance of SimCode: time 0.005289/0.4452, allocations: 5.655 MB / 1.104 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.01891/0.4641, allocations: 13.9 MB / 1.117 GB, free: 14.19 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.o Buildings_10_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_10_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_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1165:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1166:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1168:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1185:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1186:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1188:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1194:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1206:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1214:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1220:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1222:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1227:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1234:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT29); ^ Buildings_10_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_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o] Error 1