Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001256/0.001256, allocations: 107 kB / 16.37 MB, free: 6.367 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.001202/0.001202, allocations: 191.5 kB / 17.31 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.491e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02791/0.02795, allocations: 29.37 MB / 0.7015 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.03871, allocations: 6.726 MB / 0.7081 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.04096, allocations: 47.69 kB / 0.7081 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.04341, allocations: 0.6953 MB / 0.7088 GB, free: 0.9219 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.005564/0.049, allocations: 1.423 MB / 0.7102 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.05246, allocations: 1.166 MB / 0.7113 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003842/0.05631, allocations: 2.546 MB / 0.7138 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.05756, allocations: 0.8772 MB / 0.7147 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.05942, allocations: 1.086 MB / 0.7157 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009301/0.06036, allocations: 0.7897 MB / 0.7165 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.06049, allocations: 64 kB / 0.7166 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.06241, allocations: 0.8226 MB / 0.7174 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001214/0.06364, allocations: 1.908 MB / 0.7192 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0006746/0.06432, allocations: 1.256 MB / 0.7205 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.06456, allocations: 199.2 kB / 0.7207 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0001833/0.06476, allocations: 47.81 kB / 0.7207 GB, free: 4.676 MB / 0.5919 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.003851/0.06861, allocations: 4.771 MB / 0.7254 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.0002302/0.06885, allocations: 195.6 kB / 0.7256 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.002561/0.07142, allocations: 2.856 MB / 0.7283 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of simplify1: time 0.0001997/0.07163, allocations: 211.7 kB / 0.7285 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of Alias: time 0.003501/0.07514, allocations: 3.429 MB / 0.7319 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simplify2: time 0.0001727/0.07533, allocations: 179.8 kB / 0.7321 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of Events: time 0.000687/0.07602, allocations: 0.6299 MB / 0.7327 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of Detect States: time 0.0006703/0.0767, allocations: 0.6929 MB / 0.7334 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0008328/0.07754, allocations: 0.8334 MB / 0.7342 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of Causalize: time 0.00459/0.08214, allocations: 5.018 MB / 0.7391 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of After Index Reduction Inline: time 0.001815/0.08397, allocations: 2.001 MB / 0.741 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of Inline: time 0.003704/0.08768, allocations: 3.873 MB / 0.7448 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0001892/0.08789, allocations: 167.6 kB / 0.745 GB, free: 11 MB / 0.6231 GB Notification: Performance of Cleanup: time 0.0001552/0.08805, allocations: 171.7 kB / 0.7451 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of Causalize: time 0.005712/0.09377, allocations: 6.57 MB / 0.7515 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of Tearing: time 1.03e-05/0.09379, allocations: 0 / 0.7515 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of Initialization: time 9.82e-07/0.0938, allocations: 0 / 0.7515 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of Tearing: time 1.116e-05/0.09382, allocations: 4 kB / 0.7516 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of Categorize: time 3.172e-05/0.09385, allocations: 7.938 kB / 0.7516 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of Solve: time 0.001149/0.09501, allocations: 0.7308 MB / 0.7523 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of Jacobian: time 0.001109/0.09613, allocations: 1.108 MB / 0.7534 GB, free: 2.746 MB / 0.6231 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: ................. 44 (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, $TEV_3, $TEV_2, $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: ........... 125 (scalar:120, array:5, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (generic: 5, 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: ........... 181 (scalar:173, array:5, record:3) * Number of multi strong components: ............ 6 (algorithm:6, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (generic: 5, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 8.847e-05/0.09622, allocations: 74.92 kB / 0.7534 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of SimCode: time 0.006513/0.1027, allocations: 5.438 MB / 0.7587 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of Templates: time 0.02146/0.1242, allocations: 13.64 MB / 0.7721 GB, free: 15.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f Buildings_8_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"/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_8_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_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.o Buildings_8_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"/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_8_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_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1165:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1166:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1168:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1185:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1186:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1188:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1194:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1206:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1214:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1220:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1222:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1227:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1234:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT29); ^ 18 errors generated. make: *** [: Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o] Error 1