Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 106.4 kB / 16.42 MB, free: 6.465 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.001192/0.001192, allocations: 191.7 kB / 17.36 MB, free: 5.707 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.439/1.439, allocations: 222.9 MB / 241 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.8192/0.8192, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.1e-05, allocations: 8.844 kB / 0.5862 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03969/0.03973, allocations: 41.96 MB / 0.6272 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02056/0.06036, allocations: 10.92 MB / 0.6378 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.0634, allocations: 51.75 kB / 0.6379 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.06549, allocations: 0.5586 MB / 0.6384 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005777/0.07134, allocations: 1.403 MB / 0.6398 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004116/0.07547, allocations: 1.299 MB / 0.6411 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005544/0.08102, allocations: 2.926 MB / 0.6439 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.08322, allocations: 1.186 MB / 0.6451 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.08694, allocations: 1.199 MB / 0.6463 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.08841, allocations: 0.7778 MB / 0.647 GB, free: 8.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.08861, allocations: 108 kB / 0.6471 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.09103, allocations: 0.7372 MB / 0.6478 GB, free: 7.477 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.00192/0.09297, allocations: 1.956 MB / 0.6498 GB, free: 5.5 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009477/0.09393, allocations: 1.244 MB / 0.651 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.09447, allocations: 227.3 kB / 0.6512 GB, free: 4.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0005354/0.09501, allocations: 47.73 kB / 0.6512 GB, free: 3.969 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 (190) * Number of variables: 196 (182) Notification: Performance of Bindings: time 0.007138/0.1022, allocations: 5.476 MB / 0.6566 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0003187/0.1025, allocations: 203.7 kB / 0.6568 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.003795/0.1063, allocations: 3.236 MB / 0.6599 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simplify1: time 0.0002725/0.1066, allocations: 215.7 kB / 0.6601 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of Alias: time 0.007216/0.1138, allocations: 5.521 MB / 0.6655 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simplify2: time 0.0003033/0.1141, allocations: 171.8 kB / 0.6657 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of Events: time 0.0007145/0.1149, allocations: 0.5488 MB / 0.6662 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0007467/0.1156, allocations: 0.6757 MB / 0.6669 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0008658/0.1165, allocations: 0.762 MB / 0.6676 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of Causalize: time 0.003459/0.12, allocations: 2.937 MB / 0.6705 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.001884/0.1219, allocations: 1.884 MB / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of Inline: time 0.004926/0.1268, allocations: 4.33 MB / 0.6766 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0002314/0.1271, allocations: 195.6 kB / 0.6768 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0001732/0.1272, allocations: 151.8 kB / 0.6769 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of Causalize: time 0.006287/0.1335, allocations: 5.171 MB / 0.682 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of Tearing: time 1.357e-05/0.1336, allocations: 3.984 kB / 0.682 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of Initialization: time 7.21e-07/0.1336, allocations: 0 / 0.682 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of Tearing: time 1.376e-05/0.1336, allocations: 4 kB / 0.682 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of Categorize: time 4e-05/0.1336, allocations: 7.938 kB / 0.682 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of Solve: time 0.001452/0.1351, allocations: 0.7847 MB / 0.6827 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of Jacobian: time 0.001154/0.1363, allocations: 0.9149 MB / 0.6836 GB, free: 1.848 MB / 0.5137 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: ......... 5 * 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: ............................. 2 (2) {dHW_RealInput.THot.T, dHW_ProfileReader.THot.T} * Number of discrete states: .................... 2 (2) {mDHW60C.T_start, mDHW60C.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 30 (30) {$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_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: ........... 95 (scalar:93, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, 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: ........... 179 (scalar:176, array:2, record:1) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001045/0.1364, allocations: 76.08 kB / 0.6837 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of SimCode: time 0.008117/0.1445, allocations: 5.621 MB / 0.6892 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of Templates: time 0.02683/0.1714, allocations: 14.72 MB / 0.7036 GB, free: 13.55 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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_Taps_Examples_DHW_example -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.Taps.Examples.DHW_example.o IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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_Taps_Examples_DHW_example -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.Taps.Examples.DHW_example_functions.o IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1212:31: error: use of undeclared identifier '_OMC_LIT17' tmpMeta2 = stringAppend(_OMC_LIT17,_modelName); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1213:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT18); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1215:40: error: use of undeclared identifier '_OMC_LIT19' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT19); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1232:35: error: use of undeclared identifier '_OMC_LIT20' tmpMeta7 = stringAppend(_OMC_LIT20,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1233:44: error: use of undeclared identifier '_OMC_LIT21' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT21); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1235:45: error: use of undeclared identifier '_OMC_LIT22' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT22); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1238:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1241:46: error: use of undeclared identifier '_OMC_LIT24' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT24); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1253:14: error: use of undeclared identifier '_OMC_LIT25' _X_str = _OMC_LIT25; ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1261:41: error: use of undeclared identifier '_OMC_LIT26' tmpMeta21 = stringAppend(_X_str,_OMC_LIT26); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1264:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT27); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1267:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT28); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1269:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT29); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1274:30: error: use of undeclared identifier '_OMC_LIT30' tmpMeta33 = stringAppend(_OMC_LIT30,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1275:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT21); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1277:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT29); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1278:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT31); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1281:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT32); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1377:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1420:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.c:1440:20: warning: implicit declaration of function 'ModelicaStrings_skipWhiteSpace' is invalid in C99 [-Wimplicit-function-declaration] _nextIndex_ext = ModelicaStrings_skipWhiteSpace(MMC_STRINGDATA(_string), _startIndex_ext); ^ 3 warnings and 18 errors generated. make: *** [: IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example_functions.o] Error 1