Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001157/0.001157, allocations: 109 kB / 16.42 MB, free: 6.391 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.001197/0.001197, allocations: 189.5 kB / 17.36 MB, free: 5.676 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.138/1.138, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.221/1.221, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.323e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02446/0.02448, allocations: 29.35 MB / 0.7551 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008237/0.03275, allocations: 6.703 MB / 0.7616 GB, free: 496 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006383/0.03341, allocations: 51.62 kB / 0.7617 GB, free: 444 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.274/0.3074, allocations: 0.6863 MB / 0.7623 GB, free: 11.71 MB / 0.5919 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.003198/0.3107, allocations: 1.43 MB / 0.7637 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.3129, allocations: 1.153 MB / 0.7649 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002219/0.3151, allocations: 2.553 MB / 0.7674 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009614/0.3161, allocations: 0.8759 MB / 0.7682 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.3174, allocations: 1.082 MB / 0.7693 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007862/0.3182, allocations: 0.7988 MB / 0.7701 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.3184, allocations: 63.91 kB / 0.7701 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.3198, allocations: 0.815 MB / 0.7709 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001139/0.3209, allocations: 1.906 MB / 0.7728 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0006032/0.3215, allocations: 1.256 MB / 0.774 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.3217, allocations: 189.9 kB / 0.7742 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0001265/0.3219, allocations: 54.58 kB / 0.7742 GB, free: 9.578 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.003506/0.3254, allocations: 4.78 MB / 0.7789 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0002061/0.3256, allocations: 190 kB / 0.7791 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.002822/0.3284, allocations: 2.845 MB / 0.7819 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002174/0.3286, allocations: 213 kB / 0.7821 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of Alias: time 0.003126/0.3318, allocations: 3.426 MB / 0.7854 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0001936/0.332, allocations: 185.3 kB / 0.7856 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of Events: time 0.0006127/0.3326, allocations: 0.6297 MB / 0.7862 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of Detect States: time 0.000666/0.3333, allocations: 0.6887 MB / 0.7869 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0007174/0.334, allocations: 0.837 MB / 0.7877 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of Causalize: time 0.004302/0.3383, allocations: 5.066 MB / 0.7926 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.001691/0.34, allocations: 2.009 MB / 0.7946 GB, free: 480 kB / 0.5919 GB Notification: Performance of Inline: time 0.003945/0.344, allocations: 3.921 MB / 0.7984 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0001804/0.3442, allocations: 156.1 kB / 0.7986 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of Cleanup: time 0.0001462/0.3443, allocations: 175 kB / 0.7987 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of Causalize: time 0.005673/0.35, allocations: 6.545 MB / 0.8051 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Tearing: time 7.494e-06/0.35, allocations: 1.094 kB / 0.8051 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Initialization: time 3.035e-06/0.35, allocations: 0 / 0.8051 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Tearing: time 6.602e-06/0.35, allocations: 6.156 kB / 0.8051 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of Categorize: time 1.97e-05/0.3501, allocations: 8.156 kB / 0.8051 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of Solve: time 0.001048/0.3511, allocations: 0.7088 MB / 0.8058 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of Jacobian: time 0.001092/0.3522, allocations: 1.125 MB / 0.8069 GB, free: 10.55 MB / 0.6075 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: ........... 177 (scalar:169, 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 6.898e-05/0.3523, allocations: 68.48 kB / 0.807 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of SimCode: time 0.005669/0.358, allocations: 5.422 MB / 0.8123 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.01804/0.376, allocations: 13.61 MB / 0.8256 GB, free: 14.25 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1165:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1166:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1168:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1185:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1186:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1188:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1194:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1206:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1214:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1220:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1222:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1227:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o] Error 1