Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00104/0.00104, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.0009662/0.0009662, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8223/0.8223, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.601e-05, allocations: 4.531 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0305/0.03053, allocations: 29.33 MB / 0.6106 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.0453, allocations: 6.881 MB / 0.6174 GB, free: 6.105 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002816/0.04818, allocations: 47.69 kB / 0.6174 GB, free: 6.059 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.05123, allocations: 0.6914 MB / 0.6181 GB, free: 5.363 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006835/0.05809, allocations: 1.45 MB / 0.6195 GB, free: 3.906 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004907/0.06307, allocations: 1.158 MB / 0.6206 GB, free: 2.758 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005016/0.0681, allocations: 2.604 MB / 0.6232 GB, free: 148 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/0.06982, allocations: 0.8498 MB / 0.624 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.07276, allocations: 1.097 MB / 0.6251 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.07441, allocations: 0.7508 MB / 0.6258 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.07458, allocations: 60 kB / 0.6259 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.07778, allocations: 0.8187 MB / 0.6267 GB, free: 12.55 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.002072/0.07987, allocations: 1.889 MB / 0.6285 GB, free: 10.64 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.001156/0.08104, allocations: 1.252 MB / 0.6297 GB, free: 9.367 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.08153, allocations: 187.4 kB / 0.6299 GB, free: 9.184 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0004439/0.08198, allocations: 55.75 kB / 0.63 GB, free: 9.129 MB / 478.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.005117/0.08711, allocations: 4.683 MB / 0.6345 GB, free: 4.27 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0004448/0.08756, allocations: 355.4 kB / 0.6349 GB, free: 3.926 MB / 478.1 MB Notification: Performance of Early Inline: time 0.00323/0.09081, allocations: 2.88 MB / 0.6377 GB, free: 1.004 MB / 478.1 MB Notification: Performance of simplify1: time 0.0002543/0.09107, allocations: 211.7 kB / 0.6379 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of Alias: time 0.004842/0.09592, allocations: 3.757 MB / 0.6415 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simplify2: time 0.0002182/0.09616, allocations: 179.8 kB / 0.6417 GB, free: 12.42 MB / 494.1 MB Notification: Performance of Events: time 0.0008112/0.09698, allocations: 0.635 MB / 0.6423 GB, free: 11.77 MB / 494.1 MB Notification: Performance of Detect States: time 0.0008119/0.09781, allocations: 0.6948 MB / 0.643 GB, free: 11.06 MB / 494.1 MB Notification: Performance of Partitioning: time 0.001004/0.09882, allocations: 0.8452 MB / 0.6438 GB, free: 10.13 MB / 494.1 MB Notification: Performance of Causalize: time 0.004692/0.1035, allocations: 3.802 MB / 0.6476 GB, free: 6.25 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.002342/0.1059, allocations: 2.079 MB / 0.6496 GB, free: 4.137 MB / 494.1 MB Notification: Performance of Inline: time 0.0046/0.1105, allocations: 4.034 MB / 0.6535 GB, free: 52 kB / 494.1 MB Notification: Performance of Partitioning: time 0.0002375/0.1107, allocations: 163.6 kB / 0.6537 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0001802/0.1109, allocations: 171.7 kB / 0.6538 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of Causalize: time 0.006717/0.1177, allocations: 5.328 MB / 0.6591 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of Tearing: time 1.164e-05/0.1177, allocations: 0 / 0.6591 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of Initialization: time 7.72e-07/0.1177, allocations: 0 / 0.6591 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of Tearing: time 1.871e-05/0.1177, allocations: 3.938 kB / 0.6591 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of Categorize: time 4.999e-05/0.1178, allocations: 12 kB / 0.6591 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of Solve: time 0.001415/0.1192, allocations: 0.7109 MB / 0.6598 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of Jacobian: time 0.001468/0.1207, allocations: 1.218 MB / 0.6609 GB, free: 8.387 MB / 0.4981 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.0001019/0.1208, allocations: 69.03 kB / 0.661 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00797/0.1288, allocations: 5.579 MB / 0.6665 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.02604/0.1548, allocations: 14.15 MB / 0.6803 GB, free: 4.746 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.o IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1165:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1166:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1168:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1185:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1186:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1188:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1194:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1206:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1214:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1220:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1222:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1227:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1234:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT29); ^ IDEAS_IDEAS.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: *** [: IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o] Error 1