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.001198/0.001198, allocations: 108.5 kB / 16.42 MB, free: 6.48 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.001356/0.001356, allocations: 187.2 kB / 17.35 MB, free: 5.703 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002197/0.002197, allocations: 287 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/2.958e-05, allocations: 2.281 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.5459/0.546, allocations: 29.32 MB / 0.7107 GB, free: 200 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.5614, allocations: 6.864 MB / 0.7174 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/0.5646, allocations: 51.19 kB / 0.7174 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003197/0.5678, allocations: 0.7011 MB / 0.7181 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007681/0.5755, allocations: 1.513 MB / 0.7196 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005931/0.5815, allocations: 1.157 MB / 0.7207 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007631/0.5891, allocations: 2.618 MB / 0.7233 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.5917, allocations: 0.8548 MB / 0.7241 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.5959, allocations: 1.09 MB / 0.7252 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.5985, allocations: 0.7549 MB / 0.7259 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.5988, allocations: 62.34 kB / 0.726 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/0.6026, allocations: 0.8121 MB / 0.7268 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002268/0.6049, allocations: 1.892 MB / 0.7286 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.00128/0.6062, allocations: 1.257 MB / 0.7299 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005595/0.6068, allocations: 185.2 kB / 0.73 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0005431/0.6073, allocations: 55.75 kB / 0.7301 GB, free: 4.734 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.006275/0.6136, allocations: 4.684 MB / 0.7347 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0005596/0.6142, allocations: 361.8 kB / 0.735 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.003894/0.6181, allocations: 2.885 MB / 0.7378 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0003484/0.6185, allocations: 216.7 kB / 0.738 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of Alias: time 0.007789/0.6262, allocations: 3.733 MB / 0.7417 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simplify2: time 0.0006498/0.627, allocations: 186.5 kB / 0.7419 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of Detect States: time 0.001158/0.6281, allocations: 0.573 MB / 0.7424 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of Events: time 0.001129/0.6293, allocations: 0.6311 MB / 0.743 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.001515/0.6308, allocations: 0.8463 MB / 0.7439 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of Causalize: time 0.006428/0.6372, allocations: 3.855 MB / 0.7476 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.002614/0.6399, allocations: 2.063 MB / 0.7496 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of Inline: time 0.008469/0.6484, allocations: 4.234 MB / 0.7538 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0002511/0.6486, allocations: 159.6 kB / 0.7539 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0002165/0.6488, allocations: 171.7 kB / 0.7541 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of Causalize: time 0.007052/0.6559, allocations: 5.349 MB / 0.7593 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of Tearing: time 2.843e-05/0.6559, allocations: 0 / 0.7593 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of Initialization: time 2.875e-06/0.656, allocations: 0 / 0.7593 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of Tearing: time 2.643e-05/0.656, allocations: 3.938 kB / 0.7593 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of Categorize: time 5.788e-05/0.656, allocations: 11.94 kB / 0.7593 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of Solve: time 0.001494/0.6576, allocations: 0.7109 MB / 0.76 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of Jacobian: time 0.001727/0.6593, allocations: 1.23 MB / 0.7612 GB, free: 12.44 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 0.0001522/0.6595, allocations: 73.86 kB / 0.7613 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01036/0.6698, allocations: 5.646 MB / 0.7668 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of Templates: time 0.02872/0.6986, allocations: 13.9 MB / 0.7804 GB, free: 8.949 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