Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001159/0.001159, allocations: 108.4 kB / 16.42 MB, free: 6.484 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.001085/0.001085, allocations: 187.2 kB / 17.36 MB, free: 5.703 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.172/1.172, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.125/2.125, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.152e-05, allocations: 2.5 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.5799/0.5799, allocations: 161.5 MB / 1.177 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.583, allocations: 1.704 MB / 1.179 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000498/0.5835, allocations: 13.44 kB / 1.179 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.5841, allocations: 172.4 kB / 1.179 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.5856, allocations: 0.5228 MB / 1.179 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.587, allocations: 433.3 kB / 1.18 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009576/0.588, allocations: 0.634 MB / 1.18 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.5883, allocations: 197.8 kB / 1.18 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.589, allocations: 372.8 kB / 1.181 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.5893, allocations: 175.9 kB / 1.181 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.5894, allocations: 13.16 kB / 1.181 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.5904, allocations: 0.6829 MB / 1.182 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of combineBinaries: time 0.0003941/0.5908, allocations: 458.4 kB / 1.182 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.0002272/0.591, allocations: 305.7 kB / 1.182 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.5911, allocations: 45.22 kB / 1.182 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.16e-05/0.5912, allocations: 9.906 kB / 1.182 GB, free: 7.879 MB / 0.8887 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.001189/0.5924, allocations: 1.173 MB / 1.184 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 3.492e-05/0.5924, allocations: 28.05 kB / 1.184 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.0004479/0.5929, allocations: 470 kB / 1.184 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of simplify1: time 3.862e-05/0.5929, allocations: 35.55 kB / 1.184 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of Alias: time 0.0006309/0.5936, allocations: 0.5144 MB / 1.185 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of simplify2: time 3.562e-05/0.5936, allocations: 34.14 kB / 1.185 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of Detect States: time 0.0002182/0.5938, allocations: 106.9 kB / 1.185 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of Events: time 0.0001315/0.594, allocations: 87.22 kB / 1.185 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.000206/0.5942, allocations: 233.9 kB / 1.185 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of Causalize: time 0.0007678/0.595, allocations: 0.7153 MB / 1.186 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.0003732/0.5953, allocations: 377.4 kB / 1.186 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of Inline: time 0.0007021/0.596, allocations: 0.6967 MB / 1.187 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of Partitioning: time 4.447e-05/0.5961, allocations: 46.09 kB / 1.187 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of Cleanup: time 6.85e-05/0.5962, allocations: 78.64 kB / 1.187 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of Causalize: time 0.001684/0.5979, allocations: 1.679 MB / 1.189 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of Tearing: time 1.209e-05/0.5979, allocations: 0 / 1.189 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of Initialization: time 4.61e-07/0.5979, allocations: 0 / 1.189 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of Tearing: time 3.747e-06/0.5979, allocations: 6.469 kB / 1.189 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of Categorize: time 1.246e-05/0.5979, allocations: 6.875 kB / 1.189 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of Solve: time 0.0002151/0.5981, allocations: 146.2 kB / 1.189 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of Jacobian: time 3.176e-06/0.5981, allocations: 0 / 1.189 GB, free: 3.508 MB / 0.8887 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 4.537e-05/0.5982, allocations: 38.23 kB / 1.189 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of SimCode: time 0.001886/0.6001, allocations: 1.829 MB / 1.19 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of Templates: time 0.006514/0.6066, allocations: 3.794 MB / 1.194 GB, free: 192 kB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.o Buildings_10_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_10_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_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.o Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_10_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_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.o] Error 1