Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_9_Buildings.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.001114/0.001114, allocations: 102.6 kB / 16.42 MB, free: 6.531 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.001059/0.001059, allocations: 190 kB / 17.36 MB, free: 5.723 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.173/1.173, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.978/1.978, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.052e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.5361/0.5361, allocations: 161.5 MB / 1.109 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.5385, allocations: 1.704 MB / 1.111 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.5387, allocations: 13.34 kB / 1.111 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.5392, allocations: 168.1 kB / 1.111 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.5402, allocations: 0.5286 MB / 1.112 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008591/0.5411, allocations: 420.5 kB / 1.112 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000732/0.5419, allocations: 0.6369 MB / 1.113 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.5422, allocations: 203.9 kB / 1.113 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006253/0.5428, allocations: 368.2 kB / 1.113 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.5431, allocations: 172.3 kB / 1.113 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.5431, allocations: 14.58 kB / 1.113 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.544, allocations: 0.6764 MB / 1.114 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.0003397/0.5444, allocations: 461.3 kB / 1.114 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0001795/0.5446, allocations: 314.9 kB / 1.115 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.5446, allocations: 42.92 kB / 1.115 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.817e-05/0.5447, allocations: 8.625 kB / 1.115 GB, free: 6.531 MB / 0.8575 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.001008/0.5457, allocations: 1.179 MB / 1.116 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 4.243e-05/0.5457, allocations: 34.38 kB / 1.116 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.0004167/0.5462, allocations: 453.6 kB / 1.116 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of simplify1: time 4.39e-05/0.5462, allocations: 37.97 kB / 1.116 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of Alias: time 0.0005781/0.5468, allocations: 0.5159 MB / 1.117 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of simplify2: time 3.211e-05/0.5468, allocations: 25.84 kB / 1.117 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0001138/0.547, allocations: 120.6 kB / 1.117 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of Events: time 0.0001262/0.5471, allocations: 85.12 kB / 1.117 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0001699/0.5473, allocations: 222.2 kB / 1.117 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of Causalize: time 0.0006992/0.548, allocations: 0.7229 MB / 1.118 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.0002983/0.5483, allocations: 381.1 kB / 1.118 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of Inline: time 0.0006195/0.5489, allocations: 0.7038 MB / 1.119 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of Partitioning: time 3.84e-05/0.549, allocations: 40.8 kB / 1.119 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of Cleanup: time 6.849e-05/0.549, allocations: 84.58 kB / 1.119 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of Causalize: time 0.001742/0.5508, allocations: 1.7 MB / 1.121 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of Tearing: time 1.265e-05/0.5508, allocations: 6.141 kB / 1.121 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of Initialization: time 1.643e-06/0.5508, allocations: 0.5312 kB / 1.121 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of Tearing: time 5.771e-06/0.5508, allocations: 3.75 kB / 1.121 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of Categorize: time 1.271e-05/0.5508, allocations: 4.797 kB / 1.121 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of Solve: time 0.000286/0.5511, allocations: 155.9 kB / 1.121 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of Jacobian: time 2.935e-06/0.5511, allocations: 4 kB / 1.121 GB, free: 4.617 MB / 0.8575 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.143e-05/0.5512, allocations: 31.41 kB / 1.121 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of SimCode: time 0.001741/0.5529, allocations: 1.835 MB / 1.123 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of Templates: time 0.006451/0.5594, allocations: 3.82 MB / 1.127 GB, free: 3.258 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.o Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.o Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_9_Buildings.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: *** [: Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.o] Error 1