Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001135/0.001135, allocations: 111.9 kB / 16.42 MB, free: 6.508 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.001092/0.001092, allocations: 187.1 kB / 17.36 MB, free: 5.727 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.166/1.166, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.209/2.209, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.443e-05, allocations: 4.812 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.5678/0.5678, allocations: 161.5 MB / 1.212 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.5705, allocations: 1.705 MB / 1.214 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/0.5709, allocations: 13.62 kB / 1.214 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.5714, allocations: 156.1 kB / 1.214 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.5727, allocations: 0.5106 MB / 1.215 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.5737, allocations: 424.9 kB / 1.215 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008385/0.5746, allocations: 0.6275 MB / 1.216 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.5749, allocations: 204.6 kB / 1.216 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006789/0.5756, allocations: 364.7 kB / 1.216 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.576, allocations: 180 kB / 1.216 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.576, allocations: 12.81 kB / 1.216 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009617/0.577, allocations: 0.681 MB / 1.217 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.0003443/0.5773, allocations: 457.2 kB / 1.218 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.0001843/0.5775, allocations: 303.8 kB / 1.218 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.5776, allocations: 40.88 kB / 1.218 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.814e-05/0.5776, allocations: 8.094 kB / 1.218 GB, free: 12.74 MB / 0.9356 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.001082/0.5787, allocations: 1.179 MB / 1.219 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FunctionAlias: time 4.249e-05/0.5788, allocations: 34.36 kB / 1.219 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of Early Inline: time 0.000407/0.5792, allocations: 461.7 kB / 1.219 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simplify1: time 4.627e-05/0.5793, allocations: 34.42 kB / 1.22 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of Alias: time 0.0006232/0.5799, allocations: 0.5123 MB / 1.22 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of simplify2: time 3.9e-05/0.5799, allocations: 23.56 kB / 1.22 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of Events: time 0.0001318/0.5801, allocations: 91.58 kB / 1.22 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of Detect States: time 0.0001275/0.5802, allocations: 140.1 kB / 1.22 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of Partitioning: time 0.000219/0.5804, allocations: 232.7 kB / 1.22 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of Causalize: time 0.0007244/0.5812, allocations: 0.7204 MB / 1.221 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of After Index Reduction Inline: time 0.0003085/0.5815, allocations: 369.4 kB / 1.222 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of Inline: time 0.0006355/0.5821, allocations: 0.7135 MB / 1.222 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of Partitioning: time 3.878e-05/0.5822, allocations: 40.92 kB / 1.222 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of Cleanup: time 7.899e-05/0.5823, allocations: 79.52 kB / 1.222 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of Causalize: time 0.001701/0.584, allocations: 1.708 MB / 1.224 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of Tearing: time 1.06e-05/0.584, allocations: 4 kB / 1.224 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of Initialization: time 5.61e-07/0.584, allocations: 0 / 1.224 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of Tearing: time 6.392e-06/0.584, allocations: 6.188 kB / 1.224 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of Categorize: time 1.221e-05/0.584, allocations: 2.844 kB / 1.224 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of Solve: time 0.0002259/0.5842, allocations: 139.8 kB / 1.224 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of Jacobian: time 3.026e-06/0.5843, allocations: 0 / 1.224 GB, free: 8.336 MB / 0.9356 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.617e-05/0.5843, allocations: 33.16 kB / 1.224 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001813/0.5861, allocations: 1.83 MB / 1.226 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.006798/0.5929, allocations: 3.809 MB / 1.23 GB, free: 3.219 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.o Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.o] Error 1