Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001102/0.001102, allocations: 106.2 kB / 16.42 MB, free: 6.039 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.001057/0.001057, allocations: 186.7 kB / 17.35 MB, free: 5.598 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.141/1.141, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001901/0.001901, allocations: 279.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8203/0.8203, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.82e-05, allocations: 2.281 kB / 0.682 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.3914/0.3914, allocations: 161.5 MB / 0.8397 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.394, allocations: 1.703 MB / 0.8414 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.3942, allocations: 11.94 kB / 0.8414 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.3947, allocations: 166.9 kB / 0.8416 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.3959, allocations: 0.5094 MB / 0.8421 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000873/0.3968, allocations: 419.8 kB / 0.8425 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006837/0.3975, allocations: 0.6309 MB / 0.8431 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.3978, allocations: 208.8 kB / 0.8433 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.3983, allocations: 362.6 kB / 0.8436 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.3986, allocations: 171.4 kB / 0.8438 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.3986, allocations: 12 kB / 0.8438 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007938/0.3994, allocations: 0.6781 MB / 0.8445 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.0003059/0.3997, allocations: 459.9 kB / 0.8449 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0001703/0.3999, allocations: 308.3 kB / 0.8452 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.3999, allocations: 43.88 kB / 0.8452 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.563e-05/0.4, allocations: 11.94 kB / 0.8452 GB, free: 6.762 MB / 0.6075 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.001005/0.401, allocations: 1.184 MB / 0.8464 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 3.574e-05/0.401, allocations: 31.92 kB / 0.8464 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.000402/0.4015, allocations: 465.1 kB / 0.8469 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simplify1: time 3.478e-05/0.4015, allocations: 27.97 kB / 0.8469 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of Alias: time 0.0005955/0.4021, allocations: 0.5173 MB / 0.8474 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simplify2: time 3.106e-05/0.4021, allocations: 23.97 kB / 0.8474 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of Events: time 0.0001177/0.4023, allocations: 87.55 kB / 0.8475 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of Detect States: time 0.0002498/0.4025, allocations: 150.1 kB / 0.8477 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0001908/0.4027, allocations: 217 kB / 0.8479 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of Causalize: time 0.0007172/0.4034, allocations: 0.7246 MB / 0.8486 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of After Index Reduction Inline: time 0.0003067/0.4038, allocations: 378.2 kB / 0.8489 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of Inline: time 0.0006149/0.4044, allocations: 0.6991 MB / 0.8496 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of Partitioning: time 3.683e-05/0.4044, allocations: 38.38 kB / 0.8497 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of Cleanup: time 6.336e-05/0.4045, allocations: 85.03 kB / 0.8497 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of Causalize: time 0.001731/0.4062, allocations: 1.72 MB / 0.8514 GB, free: 28 kB / 0.6075 GB Notification: Performance of Tearing: time 7.484e-06/0.4063, allocations: 3.984 kB / 0.8514 GB, free: 24 kB / 0.6075 GB Notification: Performance of Initialization: time 3.4e-07/0.4063, allocations: 0 / 0.8514 GB, free: 24 kB / 0.6075 GB Notification: Performance of Tearing: time 3.507e-06/0.4063, allocations: 4 kB / 0.8514 GB, free: 20 kB / 0.6075 GB Notification: Performance of Categorize: time 1.032e-05/0.4063, allocations: 3.938 kB / 0.8514 GB, free: 16 kB / 0.6075 GB Notification: Performance of Solve: time 0.0002309/0.4065, allocations: 145.6 kB / 0.8516 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of Jacobian: time 2.895e-06/0.4065, allocations: 4 kB / 0.8516 GB, free: 15.87 MB / 0.6231 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: ........... 37 (scalar:29, 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: ........... 37 (scalar:29, 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 4.192e-05/0.4066, allocations: 39.39 kB / 0.8516 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of SimCode: time 0.001707/0.4083, allocations: 1.815 MB / 0.8534 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of Templates: time 0.006297/0.4146, allocations: 3.834 MB / 0.8571 GB, free: 10.18 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.o BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop_functions.o] Error 1