Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001387/0.001387, allocations: 109.6 kB / 16.42 MB, free: 6.484 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.001495/0.001495, allocations: 187.2 kB / 17.35 MB, free: 5.703 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002358/0.002358, allocations: 282.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.983/0.983, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.588e-05, allocations: 2.281 kB / 0.682 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.3885/0.3885, allocations: 15.04 MB / 0.6967 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005677/0.3942, allocations: 3.892 MB / 0.7005 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006299/0.3949, allocations: 17.5 kB / 0.7005 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006476/0.3956, allocations: 193.5 kB / 0.7007 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.3976, allocations: 0.7061 MB / 0.7014 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.3991, allocations: 478.2 kB / 0.7018 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.4009, allocations: 1.111 MB / 0.7029 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004937/0.4014, allocations: 298.2 kB / 0.7032 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/0.4021, allocations: 442.2 kB / 0.7036 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.4025, allocations: 263.4 kB / 0.7039 GB, free: 6.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.4026, allocations: 20.72 kB / 0.7039 GB, free: 6.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.4039, allocations: 0.7287 MB / 0.7046 GB, free: 5.891 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0004945/0.4044, allocations: 0.6635 MB / 0.7053 GB, free: 5.473 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002333/0.4047, allocations: 441.2 kB / 0.7057 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.4047, allocations: 61.69 kB / 0.7057 GB, free: 5.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.615e-05/0.4048, allocations: 26.94 kB / 0.7058 GB, free: 5.137 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: 40 (36) * Number of variables: 40 (34) Notification: Performance of Bindings: time 0.001457/0.4063, allocations: 1.655 MB / 0.7074 GB, free: 3.93 MB / 494.1 MB Notification: Performance of FunctionAlias: time 5.72e-05/0.4063, allocations: 50.95 kB / 0.7074 GB, free: 3.895 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0004937/0.4069, allocations: 0.5123 MB / 0.7079 GB, free: 3.551 MB / 494.1 MB Notification: Performance of simplify1: time 4.084e-05/0.4069, allocations: 30.7 kB / 0.708 GB, free: 3.539 MB / 494.1 MB Notification: Performance of Alias: time 0.0008924/0.4078, allocations: 0.7094 MB / 0.7087 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simplify2: time 3.64e-05/0.4078, allocations: 28.5 kB / 0.7087 GB, free: 3.043 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001532/0.408, allocations: 128.9 kB / 0.7088 GB, free: 2.941 MB / 494.1 MB Notification: Performance of Events: time 0.0001452/0.4082, allocations: 89.67 kB / 0.7089 GB, free: 2.887 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002214/0.4084, allocations: 248.1 kB / 0.7091 GB, free: 2.656 MB / 494.1 MB Notification: Performance of Causalize: time 0.001089/0.4095, allocations: 0.8139 MB / 0.7099 GB, free: 2.262 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004461/0.4099, allocations: 431.5 kB / 0.7103 GB, free: 1.973 MB / 494.1 MB Notification: Performance of Inline: time 0.001281/0.4112, allocations: 1.063 MB / 0.7114 GB, free: 1.324 MB / 494.1 MB Notification: Performance of Partitioning: time 6.177e-05/0.4113, allocations: 60 kB / 0.7114 GB, free: 1.277 MB / 494.1 MB Notification: Performance of Cleanup: time 0.0001087/0.4114, allocations: 97.03 kB / 0.7115 GB, free: 1.219 MB / 494.1 MB Notification: Performance of Causalize: time 0.003369/0.4148, allocations: 2.476 MB / 0.7139 GB, free: 300 kB / 494.1 MB Notification: Performance of Tearing: time 2.048e-05/0.4148, allocations: 1.094 kB / 0.7139 GB, free: 300 kB / 494.1 MB Notification: Performance of Initialization: time 3.086e-06/0.4148, allocations: 0.7188 kB / 0.7139 GB, free: 300 kB / 494.1 MB Notification: Performance of Tearing: time 1.333e-05/0.4148, allocations: 9.281 kB / 0.7139 GB, free: 292 kB / 494.1 MB Notification: Performance of Categorize: time 2.386e-05/0.4149, allocations: 2.594 kB / 0.714 GB, free: 292 kB / 494.1 MB Notification: Performance of Solve: time 0.0004132/0.4153, allocations: 176.8 kB / 0.7141 GB, free: 240 kB / 494.1 MB Notification: Performance of Jacobian: time 3.597e-06/0.4153, allocations: 0 / 0.7141 GB, free: 240 kB / 494.1 MB 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: ........... 48 (scalar:46, 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: ........... 48 (scalar:46, 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.828e-05/0.4154, allocations: 38.28 kB / 0.7142 GB, free: 216 kB / 494.1 MB Notification: Performance of SimCode: time 0.003508/0.4189, allocations: 2.22 MB / 0.7163 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.01137/0.4303, allocations: 5.042 MB / 0.7212 GB, free: 14.13 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.o BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1162:31: error: use of undeclared identifier '_OMC_LIT29' tmpMeta2 = stringAppend(_OMC_LIT29,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1163:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1165:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT31); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1182:35: error: use of undeclared identifier '_OMC_LIT32' tmpMeta7 = stringAppend(_OMC_LIT32,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1183:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT33); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1185:45: error: use of undeclared identifier '_OMC_LIT34' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT34); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1188:46: error: use of undeclared identifier '_OMC_LIT35' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT35); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT36' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT36); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1203:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1211:41: error: use of undeclared identifier '_OMC_LIT37' tmpMeta21 = stringAppend(_X_str,_OMC_LIT37); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1214:44: error: use of undeclared identifier '_OMC_LIT38' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT38); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT39' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT39); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1219:44: error: use of undeclared identifier '_OMC_LIT40' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT40); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1224:30: error: use of undeclared identifier '_OMC_LIT41' tmpMeta33 = stringAppend(_OMC_LIT41,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1225:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT33); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1227:40: error: use of undeclared identifier '_OMC_LIT40' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT40); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT42' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT42); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT43' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT43); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1250: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: *** [: BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o] Error 1