Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001251/0.00125, allocations: 108.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.001249/0.001249, allocations: 189.5 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.441/1.441, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.878/0.878, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.675e-05, allocations: 6.219 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02543/0.02547, allocations: 29.33 MB / 0.6149 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.03688, allocations: 6.876 MB / 0.6216 GB, free: 2.445 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.03906, allocations: 47.69 kB / 0.6217 GB, free: 2.398 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.04125, allocations: 0.6953 MB / 0.6223 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005262/0.04653, allocations: 1.458 MB / 0.6238 GB, free: 244 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003776/0.05042, allocations: 1.145 MB / 0.6249 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004619/0.05506, allocations: 2.616 MB / 0.6274 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.05711, allocations: 0.8537 MB / 0.6283 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003102/0.06023, allocations: 1.094 MB / 0.6293 GB, free: 10.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.06215, allocations: 0.7469 MB / 0.6301 GB, free: 9.762 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.06256, allocations: 64 kB / 0.6301 GB, free: 9.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.06511, allocations: 0.8148 MB / 0.6309 GB, free: 8.883 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.00226/0.06738, allocations: 1.885 MB / 0.6328 GB, free: 6.977 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.001234/0.06863, allocations: 1.259 MB / 0.634 GB, free: 5.703 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006169/0.06926, allocations: 183.4 kB / 0.6342 GB, free: 5.523 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0003963/0.06967, allocations: 63.67 kB / 0.6342 GB, free: 5.461 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.006126/0.0758, allocations: 4.671 MB / 0.6388 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0004612/0.07628, allocations: 357.6 kB / 0.6391 GB, free: 276 kB / 478.1 MB Notification: Performance of Early Inline: time 0.003489/0.07978, allocations: 2.88 MB / 0.6419 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simplify1: time 0.000274/0.08008, allocations: 215.7 kB / 0.6421 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Alias: time 0.005485/0.08558, allocations: 3.747 MB / 0.6458 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simplify2: time 0.0003606/0.08597, allocations: 179.8 kB / 0.646 GB, free: 8.77 MB / 494.1 MB Notification: Performance of Events: time 0.0008925/0.08687, allocations: 0.6423 MB / 0.6466 GB, free: 8.109 MB / 494.1 MB Notification: Performance of Detect States: time 0.0008148/0.0877, allocations: 0.6999 MB / 0.6473 GB, free: 7.387 MB / 494.1 MB Notification: Performance of Partitioning: time 0.001073/0.08879, allocations: 0.8413 MB / 0.6481 GB, free: 6.457 MB / 494.1 MB Notification: Performance of Causalize: time 0.005032/0.09383, allocations: 3.804 MB / 0.6518 GB, free: 2.59 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.002871/0.09674, allocations: 2.067 MB / 0.6538 GB, free: 500 kB / 494.1 MB Notification: Performance of Inline: time 0.005499/0.1023, allocations: 4.041 MB / 0.6578 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0002268/0.1025, allocations: 159.6 kB / 0.6579 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0002135/0.1027, allocations: 175.7 kB / 0.6581 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of Causalize: time 0.007055/0.1098, allocations: 5.316 MB / 0.6633 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of Tearing: time 1.281e-05/0.1098, allocations: 0 / 0.6633 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of Initialization: time 8.71e-07/0.1098, allocations: 4 kB / 0.6633 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of Tearing: time 1.646e-05/0.1099, allocations: 3.938 kB / 0.6633 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of Categorize: time 4.932e-05/0.1099, allocations: 15.92 kB / 0.6633 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of Solve: time 0.001464/0.1114, allocations: 0.7226 MB / 0.664 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of Jacobian: time 0.001551/0.113, allocations: 1.214 MB / 0.6652 GB, free: 4.715 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.0001122/0.1131, allocations: 67.97 kB / 0.6653 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of SimCode: time 0.008632/0.1217, allocations: 5.584 MB / 0.6707 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of Templates: time 0.02769/0.1495, allocations: 14.14 MB / 0.6845 GB, free: 1.059 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f IDEAS_dev_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_dev_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_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.o IDEAS_dev_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_dev_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_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1165:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1166:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1168:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1185:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1186:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1188:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1194:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1206:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1214:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1220:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1222:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1227:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.c:1234:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT29); ^ IDEAS_dev_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_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_functions.o] Error 1