Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 117.8 kB / 17.1 MB, free: 5.996 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.00104/0.00104, allocations: 192.9 kB / 18.04 MB, free: 5.07 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.129/1.129, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6474/0.6474, allocations: 122.9 MB / 414.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.285e-05, allocations: 6.219 kB / 0.5691 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1379/0.138, allocations: 161.5 MB / 0.7268 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1405, allocations: 1.701 MB / 0.7284 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.1408, allocations: 11.94 kB / 0.7284 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.1413, allocations: 166.9 kB / 0.7286 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.1425, allocations: 0.5329 MB / 0.7291 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000986/0.1435, allocations: 426.2 kB / 0.7295 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007866/0.1443, allocations: 0.6308 MB / 0.7301 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.1446, allocations: 204.9 kB / 0.7303 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006045/0.1453, allocations: 366.7 kB / 0.7307 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.1455, allocations: 179.3 kB / 0.7309 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.1455, allocations: 12 kB / 0.7309 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008721/0.1464, allocations: 0.6859 MB / 0.7315 GB, free: 20 kB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0003104/0.1467, allocations: 451.5 kB / 0.732 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.00018/0.1469, allocations: 308.2 kB / 0.7323 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.147, allocations: 47.81 kB / 0.7323 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.328e-05/0.147, allocations: 8 kB / 0.7323 GB, free: 15.21 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: 32 (30) * Number of variables: 32 (30) Notification: Performance of Bindings: time 0.00102/0.1481, allocations: 1.181 MB / 0.7335 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 3.882e-05/0.1481, allocations: 27.97 kB / 0.7335 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0003972/0.1485, allocations: 461.1 kB / 0.7339 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simplify1: time 3.696e-05/0.1486, allocations: 35.95 kB / 0.734 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of Alias: time 0.0005929/0.1492, allocations: 0.5169 MB / 0.7345 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simplify2: time 3.379e-05/0.1492, allocations: 35.95 kB / 0.7345 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001111/0.1493, allocations: 118.4 kB / 0.7346 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of Events: time 0.0001174/0.1494, allocations: 80.88 kB / 0.7347 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001853/0.1496, allocations: 233 kB / 0.7349 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of Causalize: time 0.0006721/0.1503, allocations: 0.7136 MB / 0.7356 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0002951/0.1506, allocations: 382 kB / 0.736 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of Inline: time 0.0005899/0.1512, allocations: 0.68 MB / 0.7367 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of Partitioning: time 3.789e-05/0.1513, allocations: 46.34 kB / 0.7367 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of Cleanup: time 6.058e-05/0.1513, allocations: 77.05 kB / 0.7368 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001586/0.1529, allocations: 1.684 MB / 0.7384 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of Tearing: time 1.003e-05/0.1529, allocations: 0 / 0.7384 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of Initialization: time 3.21e-07/0.153, allocations: 0 / 0.7384 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of Tearing: time 4.849e-06/0.153, allocations: 7.938 kB / 0.7384 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of Categorize: time 9.337e-06/0.153, allocations: 0 / 0.7384 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of Solve: time 0.0002075/0.1532, allocations: 153.3 kB / 0.7386 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of Jacobian: time 2.845e-06/0.1532, allocations: 3.938 kB / 0.7386 GB, free: 8.371 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: ......... 5 * 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: ................. 6 (6) {$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: ........... 29 (scalar:21, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 36 (scalar:28, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 36 (scalar:28, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.709e-05/0.1532, allocations: 31.06 kB / 0.7386 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001637/0.1549, allocations: 1.829 MB / 0.7404 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of Templates: time 0.006259/0.1612, allocations: 3.786 MB / 0.7441 GB, free: 2.711 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop -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 IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.o IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop -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 IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.o IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:763: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: *** [: IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.o] Error 1