Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001225/0.001225, allocations: 106.2 kB / 16.42 MB, free: 6.48 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.001155/0.001155, allocations: 190 kB / 17.36 MB, free: 5.707 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.283/1.283, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.286/1.286, allocations: 251.7 MB / 0.51 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/1.977e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01436/0.01439, allocations: 15.06 MB / 0.7411 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005075/0.01951, allocations: 3.818 MB / 0.7448 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/0.01987, allocations: 23.88 kB / 0.7448 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.02044, allocations: 186.7 kB / 0.745 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.02183, allocations: 0.6686 MB / 0.7457 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.02308, allocations: 488.8 kB / 0.7461 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.0244, allocations: 1.094 MB / 0.7472 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004277/0.02484, allocations: 321.7 kB / 0.7475 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005931/0.02544, allocations: 434.4 kB / 0.7479 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.02576, allocations: 266.9 kB / 0.7482 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.02581, allocations: 20 kB / 0.7482 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009991/0.02682, allocations: 0.7251 MB / 0.7489 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0004914/0.02732, allocations: 0.6686 MB / 0.7495 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0002588/0.02758, allocations: 438 kB / 0.75 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.491e-05/0.02767, allocations: 63.75 kB / 0.75 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.568e-05/0.02772, allocations: 15.94 kB / 0.75 GB, free: 12.4 MB / 0.5919 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.00149/0.02921, allocations: 1.648 MB / 0.7516 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 6.648e-05/0.02929, allocations: 51.8 kB / 0.7517 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.0004813/0.02978, allocations: 0.5072 MB / 0.7522 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simplify1: time 3.435e-05/0.02982, allocations: 35.89 kB / 0.7522 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of Alias: time 0.0007836/0.03061, allocations: 0.6627 MB / 0.7529 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of simplify2: time 3.677e-05/0.03066, allocations: 31.97 kB / 0.7529 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of Events: time 0.0001324/0.0308, allocations: 96.84 kB / 0.753 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0001588/0.03097, allocations: 132.2 kB / 0.7531 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0002451/0.03122, allocations: 257.1 kB / 0.7534 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of Causalize: time 0.001067/0.03229, allocations: 1.11 MB / 0.7544 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.0003784/0.03268, allocations: 425.7 kB / 0.7549 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of Inline: time 0.001028/0.03371, allocations: 1.042 MB / 0.7559 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of Partitioning: time 5.475e-05/0.03378, allocations: 58.36 kB / 0.7559 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.000102/0.03389, allocations: 105 kB / 0.756 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of Causalize: time 0.003109/0.037, allocations: 3.477 MB / 0.7594 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of Tearing: time 1.062e-05/0.03702, allocations: 0.625 kB / 0.7594 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of Initialization: time 3.41e-07/0.03703, allocations: 0 / 0.7594 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of Tearing: time 4.96e-06/0.03704, allocations: 0 / 0.7594 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of Categorize: time 2.555e-05/0.03707, allocations: 11.92 kB / 0.7594 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of Solve: time 0.0003418/0.03742, allocations: 186.5 kB / 0.7596 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of Jacobian: time 4.038e-06/0.03743, allocations: 0 / 0.7596 GB, free: 2.195 MB / 0.5919 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: ........... 51 (scalar:49, 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: ........... 51 (scalar:49, 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 7.114e-05/0.03751, allocations: 59.56 kB / 0.7597 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of SimCode: time 0.3648/0.4023, allocations: 2.184 MB / 0.7618 GB, free: 21.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.01/0.4123, allocations: 4.995 MB / 0.7667 GB, free: 21.08 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1164:31: error: use of undeclared identifier '_OMC_LIT29' tmpMeta2 = stringAppend(_OMC_LIT29,_modelName); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1165:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT30); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1167:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT31); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1184:35: error: use of undeclared identifier '_OMC_LIT32' tmpMeta7 = stringAppend(_OMC_LIT32,_mediumName); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1185:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT33); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1187:45: error: use of undeclared identifier '_OMC_LIT34' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT34); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1190:46: error: use of undeclared identifier '_OMC_LIT35' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT35); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1193:46: error: use of undeclared identifier '_OMC_LIT36' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT36); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1205:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1213:41: error: use of undeclared identifier '_OMC_LIT37' tmpMeta21 = stringAppend(_X_str,_OMC_LIT37); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1216:44: error: use of undeclared identifier '_OMC_LIT38' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT38); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1219:44: error: use of undeclared identifier '_OMC_LIT39' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT39); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1221:44: error: use of undeclared identifier '_OMC_LIT40' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT40); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1226:30: error: use of undeclared identifier '_OMC_LIT41' tmpMeta33 = stringAppend(_OMC_LIT41,_mediumName); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1227:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT33); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1229:40: error: use of undeclared identifier '_OMC_LIT40' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT40); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1230:40: error: use of undeclared identifier '_OMC_LIT42' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT42); ^ Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o] Error 1