Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001094/0.001094, allocations: 107.1 kB / 16.42 MB, free: 6.512 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.001067/0.001067, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.159/1.159, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001877/0.001876, allocations: 299.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8245/0.8245, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.685e-05, allocations: 8.75 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2566/0.2566, allocations: 29.32 MB / 0.7107 GB, free: 224 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.2668, allocations: 6.87 MB / 0.7174 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.268, allocations: 47.28 kB / 0.7174 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.2695, allocations: 0.69 MB / 0.7181 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.2728, allocations: 1.454 MB / 0.7195 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.2757, allocations: 1.152 MB / 0.7207 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003219/0.2789, allocations: 2.61 MB / 0.7232 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.28, allocations: 0.8485 MB / 0.724 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.2817, allocations: 1.094 MB / 0.7251 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008264/0.2825, allocations: 0.7572 MB / 0.7258 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.2827, allocations: 62.62 kB / 0.7259 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.2845, allocations: 0.8148 MB / 0.7267 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.001385/0.2859, allocations: 1.897 MB / 0.7286 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0007399/0.2867, allocations: 1.243 MB / 0.7298 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.2869, allocations: 192.7 kB / 0.73 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0002597/0.2872, allocations: 54.38 kB / 0.73 GB, free: 4.812 MB / 0.4981 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.004561/0.2918, allocations: 4.685 MB / 0.7346 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.000326/0.2921, allocations: 352.3 kB / 0.7349 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.002563/0.2947, allocations: 2.886 MB / 0.7377 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0001957/0.2949, allocations: 216.6 kB / 0.7379 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Alias: time 0.003723/0.2986, allocations: 3.741 MB / 0.7416 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simplify2: time 0.0001858/0.2988, allocations: 185.8 kB / 0.7418 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of Events: time 0.0006952/0.2995, allocations: 0.6349 MB / 0.7424 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0006671/0.3002, allocations: 0.6852 MB / 0.7431 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0008782/0.3011, allocations: 0.8496 MB / 0.7439 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of Causalize: time 0.003857/0.3049, allocations: 3.812 MB / 0.7476 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.001774/0.3067, allocations: 2.075 MB / 0.7496 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of Inline: time 0.004038/0.3108, allocations: 4.042 MB / 0.7536 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0002045/0.311, allocations: 155.7 kB / 0.7537 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0001511/0.3111, allocations: 167.7 kB / 0.7539 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of Causalize: time 0.00548/0.3166, allocations: 5.325 MB / 0.7591 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Tearing: time 8.306e-06/0.3166, allocations: 3.938 kB / 0.7591 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of Initialization: time 4.61e-07/0.3167, allocations: 0 / 0.7591 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of Tearing: time 9.147e-06/0.3167, allocations: 4 kB / 0.7591 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of Categorize: time 2.873e-05/0.3167, allocations: 4 kB / 0.7591 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of Solve: time 0.001021/0.3177, allocations: 0.7264 MB / 0.7598 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of Jacobian: time 0.001163/0.3189, allocations: 1.222 MB / 0.761 GB, free: 12.57 MB / 0.5294 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.41e-05/0.319, allocations: 67.92 kB / 0.7611 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of SimCode: time 0.005915/0.3249, allocations: 5.585 MB / 0.7665 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.01921/0.3441, allocations: 14.15 MB / 0.7803 GB, free: 8.895 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1165:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1166:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1168:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1185:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1186:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1188:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1194:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1206:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1214:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1220:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1222:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1227:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1234:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT29); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o] Error 1