Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00146/0.001461, allocations: 111.8 kB / 17.1 MB, free: 5.836 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.001183/0.001184, allocations: 190.1 kB / 18.03 MB, free: 4.953 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.52/1.52, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7975/0.7975, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/2.977e-05, allocations: 4.688 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03179/0.03182, allocations: 29.32 MB / 0.587 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.04543, allocations: 6.874 MB / 0.5937 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/0.04876, allocations: 47.25 kB / 0.5937 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003616/0.05241, allocations: 0.6926 MB / 0.5944 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007152/0.0596, allocations: 1.521 MB / 0.5959 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004868/0.06456, allocations: 1.159 MB / 0.597 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006402/0.07098, allocations: 2.614 MB / 0.5996 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.073, allocations: 0.851 MB / 0.6004 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.07641, allocations: 1.096 MB / 0.6015 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.07843, allocations: 0.7465 MB / 0.6022 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.07865, allocations: 62.62 kB / 0.6022 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.08178, allocations: 0.8167 MB / 0.603 GB, free: 1.309 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001851/0.08364, allocations: 1.896 MB / 0.6049 GB, free: 15.98 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.001211/0.08486, allocations: 1.26 MB / 0.6061 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005282/0.0854, allocations: 186.3 kB / 0.6063 GB, free: 14.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0004915/0.0859, allocations: 40.34 kB / 0.6063 GB, free: 14.96 MB / 462.1 MB 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.00583/0.09174, allocations: 4.667 MB / 0.6109 GB, free: 10.44 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0005434/0.0923, allocations: 357.6 kB / 0.6112 GB, free: 10.1 MB / 462.1 MB Notification: Performance of Early Inline: time 0.004017/0.09633, allocations: 2.88 MB / 0.6141 GB, free: 7.176 MB / 462.1 MB Notification: Performance of simplify1: time 0.000316/0.09666, allocations: 211.7 kB / 0.6143 GB, free: 6.969 MB / 462.1 MB Notification: Performance of Alias: time 0.006199/0.1029, allocations: 3.751 MB / 0.6179 GB, free: 2.777 MB / 462.1 MB Notification: Performance of simplify2: time 0.0004072/0.1033, allocations: 187.8 kB / 0.6181 GB, free: 2.594 MB / 462.1 MB Notification: Performance of Events: time 0.0009847/0.1043, allocations: 0.6395 MB / 0.6187 GB, free: 1.934 MB / 462.1 MB Notification: Performance of Detect States: time 0.001003/0.1053, allocations: 0.6905 MB / 0.6194 GB, free: 1.223 MB / 462.1 MB Notification: Performance of Partitioning: time 0.001173/0.1065, allocations: 0.8452 MB / 0.6202 GB, free: 300 kB / 462.1 MB Notification: Performance of Causalize: time 0.005066/0.1116, allocations: 3.813 MB / 0.6239 GB, free: 12.41 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.002335/0.114, allocations: 2.075 MB / 0.626 GB, free: 10.3 MB / 478.1 MB Notification: Performance of Inline: time 0.004771/0.1187, allocations: 4.022 MB / 0.6299 GB, free: 6.227 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0002725/0.119, allocations: 171.6 kB / 0.6301 GB, free: 6.043 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0002211/0.1193, allocations: 171.7 kB / 0.6302 GB, free: 5.875 MB / 478.1 MB Notification: Performance of Causalize: time 0.007226/0.1265, allocations: 5.323 MB / 0.6354 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of Tearing: time 2.325e-05/0.1266, allocations: 4 kB / 0.6354 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of Initialization: time 1.283e-06/0.1266, allocations: 0 / 0.6354 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of Tearing: time 2.486e-05/0.1266, allocations: 3.938 kB / 0.6354 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of Categorize: time 5.921e-05/0.1267, allocations: 11.98 kB / 0.6354 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of Solve: time 0.001689/0.1284, allocations: 0.7187 MB / 0.6361 GB, free: 15.81 MB / 494.1 MB Notification: Performance of Jacobian: time 0.001662/0.13, allocations: 1.21 MB / 0.6373 GB, free: 14.55 MB / 494.1 MB 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.0001389/0.1302, allocations: 83.12 kB / 0.6374 GB, free: 14.48 MB / 494.1 MB Notification: Performance of SimCode: time 0.009694/0.1399, allocations: 5.572 MB / 0.6428 GB, free: 9.012 MB / 494.1 MB Notification: Performance of Templates: time 0.0279/0.1678, allocations: 13.9 MB / 0.6564 GB, free: 11.11 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1165:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1166:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1168:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1185:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1186:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1188:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1194:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1206:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1214:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1220:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1222:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1227:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1234:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT29); ^ IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o] Error 1