Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.001451, allocations: 114.3 kB / 16.38 MB, free: 6.445 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.00142/0.001421, allocations: 190.5 kB / 17.31 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.3 MB / 0.5496 GB, free: 17.62 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/2.911e-05, allocations: 6.078 kB / 0.6728 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01657/0.01662, allocations: 15.05 MB / 0.6875 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005859/0.02253, allocations: 3.832 MB / 0.6913 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006439/0.0232, allocations: 23.88 kB / 0.6913 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006595/0.02387, allocations: 182.8 kB / 0.6915 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.02577, allocations: 0.6763 MB / 0.6921 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.02731, allocations: 473.3 kB / 0.6926 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.0289, allocations: 1.106 MB / 0.6937 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005008/0.02941, allocations: 317.7 kB / 0.694 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007072/0.03013, allocations: 438.4 kB / 0.6944 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.03048, allocations: 270.8 kB / 0.6947 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.03054, allocations: 20 kB / 0.6947 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.0317, allocations: 0.7212 MB / 0.6954 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0005508/0.03227, allocations: 0.6647 MB / 0.696 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002733/0.03255, allocations: 442 kB / 0.6965 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.03263, allocations: 63.75 kB / 0.6965 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.264e-05/0.03271, allocations: 19.97 kB / 0.6965 GB, free: 13.54 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 (36) * Number of variables: 40 (34) Notification: Performance of Bindings: time 0.001624/0.03434, allocations: 1.644 MB / 0.6981 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 6.199e-05/0.03441, allocations: 47.91 kB / 0.6982 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0005102/0.03493, allocations: 0.5072 MB / 0.6987 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simplify1: time 4.342e-05/0.03498, allocations: 31.95 kB / 0.6987 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of Alias: time 0.0008247/0.03581, allocations: 0.6666 MB / 0.6994 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simplify2: time 2.508e-05/0.03585, allocations: 23.97 kB / 0.6994 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of Events: time 0.0001657/0.03602, allocations: 100.8 kB / 0.6995 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of Detect States: time 0.000268/0.03629, allocations: 144.1 kB / 0.6996 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.000269/0.03657, allocations: 249.2 kB / 0.6999 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001134/0.03771, allocations: 1.101 MB / 0.7009 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0003861/0.03811, allocations: 421.8 kB / 0.7013 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of Inline: time 0.001087/0.0392, allocations: 1.022 MB / 0.7023 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of Partitioning: time 6.734e-05/0.03928, allocations: 54.36 kB / 0.7024 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of Cleanup: time 9.032e-05/0.03938, allocations: 101 kB / 0.7025 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of Causalize: time 0.003423/0.04281, allocations: 3.665 MB / 0.7061 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of Tearing: time 8.957e-06/0.04283, allocations: 0 / 0.7061 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of Initialization: time 6.11e-07/0.04284, allocations: 0 / 0.7061 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of Tearing: time 5.951e-06/0.04285, allocations: 3.938 kB / 0.7061 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of Categorize: time 1.637e-05/0.04287, allocations: 4 kB / 0.7061 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of Solve: time 0.0003796/0.04325, allocations: 223.9 kB / 0.7063 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.737e-06/0.04326, allocations: 0 / 0.7063 GB, free: 3.164 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$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: ........... 28 (scalar:26, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, 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: ........... 56 (scalar:54, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 56 (scalar:54, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.856e-05/0.04333, allocations: 46.42 kB / 0.7063 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003102/0.04643, allocations: 2.216 MB / 0.7085 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of Templates: time 0.008963/0.05541, allocations: 5.059 MB / 0.7134 GB, free: 11.83 MB / 0.5919 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter -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_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.o Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter -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_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1164:31: error: use of undeclared identifier '_OMC_LIT29' tmpMeta2 = stringAppend(_OMC_LIT29,_modelName); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1165:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT30); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1167:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT31); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1184:35: error: use of undeclared identifier '_OMC_LIT32' tmpMeta7 = stringAppend(_OMC_LIT32,_mediumName); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1185:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT33); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1187:45: error: use of undeclared identifier '_OMC_LIT34' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT34); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1190:46: error: use of undeclared identifier '_OMC_LIT35' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT35); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1193:46: error: use of undeclared identifier '_OMC_LIT36' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT36); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1205:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1213:41: error: use of undeclared identifier '_OMC_LIT37' tmpMeta21 = stringAppend(_X_str,_OMC_LIT37); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1216:44: error: use of undeclared identifier '_OMC_LIT38' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT38); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1219:44: error: use of undeclared identifier '_OMC_LIT39' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT39); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1221:44: error: use of undeclared identifier '_OMC_LIT40' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT40); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1226:30: error: use of undeclared identifier '_OMC_LIT41' tmpMeta33 = stringAppend(_OMC_LIT41,_mediumName); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1227:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT33); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1229:40: error: use of undeclared identifier '_OMC_LIT40' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT40); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT42' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT42); ^ Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1233:40: error: use of undeclared identifier '_OMC_LIT43' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT43); ^ 18 errors generated. make: *** [: Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o] Error 1