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.001135/0.001135, allocations: 111 kB / 16.42 MB, free: 6.477 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.001067/0.001067, allocations: 187.2 kB / 17.35 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.146/1.146, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001846/0.001846, allocations: 289.2 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.8333/0.8333, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.832e-05, allocations: 2.281 kB / 0.682 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.2512/0.2513, allocations: 15.04 MB / 0.6967 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.2554, allocations: 3.895 MB / 0.7005 GB, free: 7.805 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.2557, allocations: 18.44 kB / 0.7005 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.2562, allocations: 187.7 kB / 0.7007 GB, free: 7.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.2574, allocations: 0.6806 MB / 0.7014 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.2584, allocations: 474.1 kB / 0.7018 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.2597, allocations: 1.1 MB / 0.7029 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.2601, allocations: 299.5 kB / 0.7032 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005911/0.2607, allocations: 445.6 kB / 0.7036 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.261, allocations: 267.4 kB / 0.7038 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.2611, allocations: 19.78 kB / 0.7039 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009969/0.2621, allocations: 0.7245 MB / 0.7046 GB, free: 5.949 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0004278/0.2625, allocations: 0.6635 MB / 0.7052 GB, free: 5.531 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002035/0.2627, allocations: 446.4 kB / 0.7056 GB, free: 5.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.2628, allocations: 61.47 kB / 0.7057 GB, free: 5.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.673e-05/0.2629, allocations: 22.11 kB / 0.7057 GB, free: 5.195 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.001237/0.2641, allocations: 1.66 MB / 0.7074 GB, free: 3.98 MB / 494.1 MB Notification: Performance of FunctionAlias: time 4.873e-05/0.2642, allocations: 43.73 kB / 0.7074 GB, free: 3.953 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0004299/0.2646, allocations: 0.5125 MB / 0.7079 GB, free: 3.609 MB / 494.1 MB Notification: Performance of simplify1: time 3.809e-05/0.2646, allocations: 38.98 kB / 0.7079 GB, free: 3.59 MB / 494.1 MB Notification: Performance of Alias: time 0.0007642/0.2654, allocations: 0.7076 MB / 0.7086 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simplify2: time 3.031e-05/0.2654, allocations: 22.41 kB / 0.7086 GB, free: 3.098 MB / 494.1 MB Notification: Performance of Events: time 0.0001259/0.2656, allocations: 105.3 kB / 0.7087 GB, free: 3.027 MB / 494.1 MB Notification: Performance of Detect States: time 0.0002278/0.2658, allocations: 140.4 kB / 0.7089 GB, free: 2.922 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002014/0.266, allocations: 249.4 kB / 0.7091 GB, free: 2.691 MB / 494.1 MB Notification: Performance of Causalize: time 0.0008475/0.2669, allocations: 0.8146 MB / 0.7099 GB, free: 2.293 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003606/0.2672, allocations: 428.2 kB / 0.7103 GB, free: 2.008 MB / 494.1 MB Notification: Performance of Inline: time 0.0009443/0.2682, allocations: 1.06 MB / 0.7114 GB, free: 1.359 MB / 494.1 MB Notification: Performance of Partitioning: time 5.147e-05/0.2683, allocations: 52.66 kB / 0.7114 GB, free: 1.32 MB / 494.1 MB Notification: Performance of Cleanup: time 8.543e-05/0.2683, allocations: 107.2 kB / 0.7115 GB, free: 1.254 MB / 494.1 MB Notification: Performance of Causalize: time 0.002848/0.2712, allocations: 2.64 MB / 0.7141 GB, free: 292 kB / 494.1 MB Notification: Performance of Tearing: time 7.023e-06/0.2712, allocations: 7.938 kB / 0.7141 GB, free: 284 kB / 494.1 MB Notification: Performance of Initialization: time 3.41e-07/0.2712, allocations: 0 / 0.7141 GB, free: 284 kB / 494.1 MB Notification: Performance of Tearing: time 2.886e-06/0.2712, allocations: 1.375 kB / 0.7141 GB, free: 284 kB / 494.1 MB Notification: Performance of Categorize: time 1.142e-05/0.2712, allocations: 3.312 kB / 0.7141 GB, free: 284 kB / 494.1 MB Notification: Performance of Solve: time 0.0003113/0.2716, allocations: 191 kB / 0.7143 GB, free: 220 kB / 494.1 MB Notification: Performance of Jacobian: time 2.956e-06/0.2716, allocations: 0 / 0.7143 GB, free: 220 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: ........... 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 4.031e-05/0.2716, allocations: 34.67 kB / 0.7143 GB, free: 200 kB / 494.1 MB Notification: Performance of SimCode: time 0.002442/0.2741, allocations: 2.191 MB / 0.7165 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.008494/0.2826, allocations: 5.118 MB / 0.7214 GB, free: 14.07 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