Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00113/0.00113, allocations: 107 kB / 16.42 MB, free: 6.516 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.001086/0.001086, allocations: 186.1 kB / 17.35 MB, free: 5.734 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.16/1.16, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.915/1.915, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.794e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02446/0.02448, allocations: 29.34 MB / 0.9801 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008092/0.03261, allocations: 6.87 MB / 0.9869 GB, free: 3.332 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004421/0.03306, allocations: 43.69 kB / 0.9869 GB, free: 3.289 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.03419, allocations: 0.7031 MB / 0.9876 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.03644, allocations: 1.512 MB / 0.9891 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.03846, allocations: 1.153 MB / 0.9902 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00226/0.04073, allocations: 2.62 MB / 0.9927 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000892/0.04163, allocations: 0.846 MB / 0.9936 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.0429, allocations: 1.101 MB / 0.9946 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007368/0.04365, allocations: 0.7469 MB / 0.9954 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.395e-05/0.04375, allocations: 64 kB / 0.9954 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.04489, allocations: 0.8187 MB / 0.9962 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of combineBinaries: time 0.001214/0.04611, allocations: 1.893 MB / 0.9981 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of replaceArrayConstructors: time 0.0006565/0.04678, allocations: 1.252 MB / 0.9993 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.04696, allocations: 187.4 kB / 0.9995 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.687e-05/0.04706, allocations: 39.75 kB / 0.9995 GB, free: 6.281 MB / 0.7794 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.003592/0.05066, allocations: 4.679 MB / 1.004 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of FunctionAlias: time 0.0003174/0.05098, allocations: 347.6 kB / 1.004 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of Early Inline: time 0.002482/0.05347, allocations: 2.884 MB / 1.007 GB, free: 14.16 MB / 0.795 GB Notification: Performance of simplify1: time 0.0001788/0.05366, allocations: 211.7 kB / 1.007 GB, free: 13.95 MB / 0.795 GB Notification: Performance of Alias: time 0.003516/0.05718, allocations: 3.754 MB / 1.011 GB, free: 9.758 MB / 0.795 GB Notification: Performance of simplify2: time 0.0001553/0.05735, allocations: 179.8 kB / 1.011 GB, free: 9.582 MB / 0.795 GB Notification: Performance of Detect States: time 0.0005142/0.05787, allocations: 0.5574 MB / 1.012 GB, free: 9.012 MB / 0.795 GB Notification: Performance of Events: time 0.0006572/0.05853, allocations: 0.6389 MB / 1.012 GB, free: 8.359 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0008305/0.05937, allocations: 0.8569 MB / 1.013 GB, free: 7.418 MB / 0.795 GB Notification: Performance of Causalize: time 0.003807/0.06319, allocations: 3.836 MB / 1.017 GB, free: 3.504 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.001758/0.06496, allocations: 2.075 MB / 1.019 GB, free: 1.395 MB / 0.795 GB Notification: Performance of Inline: time 0.003508/0.06847, allocations: 4.044 MB / 1.023 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of Partitioning: time 0.0001711/0.06865, allocations: 159.6 kB / 1.023 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of Cleanup: time 0.0001359/0.06879, allocations: 171.7 kB / 1.023 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of Causalize: time 0.005306/0.07411, allocations: 5.353 MB / 1.029 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of Tearing: time 1.52e-05/0.07413, allocations: 0 / 1.029 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of Initialization: time 3.81e-07/0.07414, allocations: 0 / 1.029 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of Tearing: time 9.047e-06/0.07415, allocations: 3.938 kB / 1.029 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of Categorize: time 1.549e-05/0.07417, allocations: 8 kB / 1.029 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of Solve: time 0.0009403/0.07511, allocations: 0.7109 MB / 1.029 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of Jacobian: time 0.001169/0.07629, allocations: 1.226 MB / 1.03 GB, free: 5.602 MB / 0.8106 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 6.132e-05/0.07636, allocations: 61.2 kB / 1.031 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of SimCode: time 0.005312/0.08168, allocations: 5.628 MB / 1.036 GB, free: 0 / 0.8106 GB Notification: Performance of Templates: time 0.01841/0.1001, allocations: 13.89 MB / 1.05 GB, free: 2.117 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.o Buildings_9_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_9_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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1165:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1166:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1168:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1185:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1186:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1188:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1194:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1206:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1214:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1220:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1222:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1227:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1234:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT29); ^ Buildings_9_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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o] Error 1