Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001218/0.001218, allocations: 105.5 kB / 16.42 MB, free: 6.496 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.00127/0.00127, allocations: 187.2 kB / 17.35 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 251.7 MB / 0.51 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.207e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.4697/0.4697, allocations: 161.6 MB / 0.8842 GB, free: 12.03 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002579/0.4723, allocations: 1.746 MB / 0.8859 GB, free: 10.28 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.4726, allocations: 15.88 kB / 0.8859 GB, free: 10.27 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.473, allocations: 166.9 kB / 0.8861 GB, free: 10.1 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.4742, allocations: 0.5133 MB / 0.8866 GB, free: 9.586 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.4751, allocations: 424.8 kB / 0.887 GB, free: 9.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000698/0.4758, allocations: 0.627 MB / 0.8876 GB, free: 8.551 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.4761, allocations: 220.4 kB / 0.8878 GB, free: 8.336 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.4766, allocations: 366.6 kB / 0.8882 GB, free: 7.977 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.4769, allocations: 187.3 kB / 0.8883 GB, free: 7.793 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.4769, allocations: 12 kB / 0.8884 GB, free: 7.781 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008779/0.4778, allocations: 0.6781 MB / 0.889 GB, free: 7.102 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.0003433/0.4782, allocations: 459.3 kB / 0.8895 GB, free: 6.648 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.000186/0.4784, allocations: 304.2 kB / 0.8897 GB, free: 6.348 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.4784, allocations: 35.88 kB / 0.8898 GB, free: 6.312 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.839e-05/0.4784, allocations: 19.94 kB / 0.8898 GB, free: 6.293 MB / 0.67 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.00103/0.4795, allocations: 1.13 MB / 0.8909 GB, free: 5.055 MB / 0.67 GB Notification: Performance of FunctionAlias: time 4.709e-05/0.4795, allocations: 38.48 kB / 0.8909 GB, free: 5.02 MB / 0.67 GB Notification: Performance of Early Inline: time 0.0004232/0.48, allocations: 456 kB / 0.8914 GB, free: 4.551 MB / 0.67 GB Notification: Performance of simplify1: time 3.915e-05/0.48, allocations: 39.95 kB / 0.8914 GB, free: 4.512 MB / 0.67 GB Notification: Performance of Alias: time 0.0005719/0.4806, allocations: 498.1 kB / 0.8919 GB, free: 3.945 MB / 0.67 GB Notification: Performance of simplify2: time 3.126e-05/0.4806, allocations: 27.97 kB / 0.8919 GB, free: 3.918 MB / 0.67 GB Notification: Performance of Events: time 0.0001292/0.4808, allocations: 88.88 kB / 0.892 GB, free: 3.832 MB / 0.67 GB Notification: Performance of Detect States: time 0.0001373/0.4809, allocations: 140.8 kB / 0.8921 GB, free: 3.684 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0002092/0.4811, allocations: 225.5 kB / 0.8923 GB, free: 3.395 MB / 0.67 GB Notification: Performance of Causalize: time 0.0009924/0.4821, allocations: 1.005 MB / 0.8933 GB, free: 2.324 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0003337/0.4825, allocations: 386.2 kB / 0.8937 GB, free: 1.922 MB / 0.67 GB Notification: Performance of Inline: time 0.0006392/0.4831, allocations: 0.686 MB / 0.8944 GB, free: 1.203 MB / 0.67 GB Notification: Performance of Partitioning: time 4.901e-05/0.4832, allocations: 46.3 kB / 0.8944 GB, free: 1.152 MB / 0.67 GB Notification: Performance of Cleanup: time 6.882e-05/0.4833, allocations: 77.42 kB / 0.8945 GB, free: 1.07 MB / 0.67 GB Notification: Performance of Causalize: time 0.001976/0.4852, allocations: 2.159 MB / 0.8966 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of Tearing: time 6.943e-06/0.4853, allocations: 3.938 kB / 0.8966 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of Initialization: time 3.1e-07/0.4853, allocations: 0 / 0.8966 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of Tearing: time 4.448e-06/0.4853, allocations: 11.88 kB / 0.8966 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of Categorize: time 1.198e-05/0.4853, allocations: 0 / 0.8966 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of Solve: time 0.0002307/0.4855, allocations: 141.5 kB / 0.8967 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of Jacobian: time 4.99e-06/0.4855, allocations: 3.938 kB / 0.8967 GB, free: 14.77 MB / 0.6856 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.796e-05/0.4856, allocations: 49.25 kB / 0.8968 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of SimCode: time 0.001765/0.4874, allocations: 1.798 MB / 0.8985 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of Templates: time 0.006658/0.494, allocations: 3.767 MB / 0.9022 GB, free: 9.156 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.o Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.o Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ 18 errors generated. make: *** [: Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_functions.o] Error 1