Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001447/0.001447, allocations: 103.5 kB / 16.37 MB, free: 6.367 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.001602/0.001602, allocations: 195.7 kB / 17.31 MB, free: 5.91 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9146/0.9146, allocations: 143 MB / 434.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.617e-05/3.636e-05, allocations: 2.281 kB / 0.5155 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.501/0.5011, allocations: 161.6 MB / 0.6733 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.5046, allocations: 1.708 MB / 0.6749 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.505, allocations: 15.88 kB / 0.6749 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.5057, allocations: 155 kB / 0.6751 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.5072, allocations: 0.5056 MB / 0.6756 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.5084, allocations: 429.1 kB / 0.676 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008569/0.5093, allocations: 0.6309 MB / 0.6766 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.5097, allocations: 212.8 kB / 0.6768 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006716/0.5104, allocations: 362.7 kB / 0.6772 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.5107, allocations: 198.3 kB / 0.6774 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.5108, allocations: 16 kB / 0.6774 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.5118, allocations: 0.6742 MB / 0.678 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.0003853/0.5122, allocations: 452.2 kB / 0.6785 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0001881/0.5124, allocations: 301.8 kB / 0.6787 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.5124, allocations: 39.88 kB / 0.6788 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.741e-05/0.5125, allocations: 15.94 kB / 0.6788 GB, free: 1.414 MB / 0.4981 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.5137, allocations: 1.129 MB / 0.6799 GB, free: 200 kB / 0.4981 GB Notification: Performance of FunctionAlias: time 5.579e-05/0.5138, allocations: 33.56 kB / 0.6799 GB, free: 168 kB / 0.4981 GB Notification: Performance of Early Inline: time 0.0005841/0.5144, allocations: 470.8 kB / 0.6804 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simplify1: time 3.946e-05/0.5144, allocations: 31.95 kB / 0.6804 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of Alias: time 0.0007352/0.5151, allocations: 0.495 MB / 0.6809 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simplify2: time 3.393e-05/0.5152, allocations: 24.86 kB / 0.6809 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of Events: time 0.000161/0.5154, allocations: 83.38 kB / 0.681 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of Detect States: time 0.00015/0.5155, allocations: 141.1 kB / 0.6811 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0002556/0.5158, allocations: 226.6 kB / 0.6813 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of Causalize: time 0.00113/0.5169, allocations: 1.004 MB / 0.6823 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.000384/0.5173, allocations: 372.2 kB / 0.6827 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of Inline: time 0.0007577/0.5181, allocations: 0.68 MB / 0.6833 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of Partitioning: time 5.496e-05/0.5181, allocations: 45.97 kB / 0.6834 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of Cleanup: time 8.805e-05/0.5182, allocations: 89.92 kB / 0.6835 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of Causalize: time 0.002338/0.5206, allocations: 2.182 MB / 0.6856 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of Tearing: time 1.144e-05/0.5206, allocations: 1.484 kB / 0.6856 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of Initialization: time 7.31e-07/0.5206, allocations: 4 kB / 0.6856 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of Tearing: time 8.485e-06/0.5206, allocations: 4 kB / 0.6856 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of Categorize: time 2.497e-05/0.5207, allocations: 3.938 kB / 0.6856 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of Solve: time 0.000368/0.521, allocations: 155.7 kB / 0.6858 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of Jacobian: time 6.251e-06/0.5211, allocations: 0 / 0.6858 GB, free: 10.06 MB / 0.5137 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: ........... 38 (scalar:30, 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: ........... 38 (scalar:30, 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 6.895e-05/0.5211, allocations: 42.62 kB / 0.6858 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002681/0.5238, allocations: 1.819 MB / 0.6876 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of Templates: time 0.0078/0.5316, allocations: 3.858 MB / 0.6914 GB, free: 4.379 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.o BuildSysPro_BuildSysPro.IBPSA.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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ BuildSysPro_BuildSysPro.IBPSA.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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_functions.o] Error 1