Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 104.5 kB / 16.42 MB, free: 6.492 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.00119/0.00119, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.16 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.9122/0.9122, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.672e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6332/0.6332, allocations: 167.6 MB / 0.7598 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007544/0.6408, allocations: 6.559 MB / 0.7662 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.6414, allocations: 15.47 kB / 0.7662 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000575/0.642, allocations: 166.1 kB / 0.7664 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.6443, allocations: 0.8365 MB / 0.7672 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.6455, allocations: 328.9 kB / 0.7675 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.6469, allocations: 0.7991 MB / 0.7683 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.6474, allocations: 295.2 kB / 0.7686 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.6486, allocations: 0.5938 MB / 0.7691 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.6489, allocations: 273.2 kB / 0.7694 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.649, allocations: 24.16 kB / 0.7694 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006156/0.6496, allocations: 329 kB / 0.7697 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0004541/0.6501, allocations: 0.5893 MB / 0.7703 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002675/0.6504, allocations: 411.5 kB / 0.7707 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.659e-05/0.6504, allocations: 57.3 kB / 0.7708 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.189e-05/0.6505, allocations: 19.67 kB / 0.7708 GB, free: 4.23 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 (61) * Number of variables: 63 (61) Notification: Performance of Bindings: time 0.001673/0.6522, allocations: 1.559 MB / 0.7723 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 8.889e-05/0.6523, allocations: 60.31 kB / 0.7724 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0008004/0.6531, allocations: 0.8875 MB / 0.7732 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of simplify1: time 5.953e-05/0.6532, allocations: 62.8 kB / 0.7733 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of Alias: time 0.001475/0.6547, allocations: 1.302 MB / 0.7745 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simplify2: time 5.093e-05/0.6547, allocations: 56.45 kB / 0.7746 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of Events: time 0.0001764/0.6549, allocations: 125.8 kB / 0.7747 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001594/0.6551, allocations: 174.1 kB / 0.7749 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0002468/0.6553, allocations: 263 kB / 0.7751 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001152/0.6565, allocations: 1.061 MB / 0.7762 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0004433/0.6569, allocations: 0.5682 MB / 0.7767 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of Inline: time 0.0008617/0.6578, allocations: 0.9985 MB / 0.7777 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of Partitioning: time 4.706e-05/0.6579, allocations: 39.22 kB / 0.7777 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of Cleanup: time 4.452e-05/0.6579, allocations: 49.25 kB / 0.7778 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001389/0.6593, allocations: 1.233 MB / 0.779 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of Tearing: time 8.456e-06/0.6593, allocations: 4.797 kB / 0.779 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of Initialization: time 1.243e-06/0.6593, allocations: 0 / 0.779 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of Tearing: time 4.078e-06/0.6594, allocations: 4.281 kB / 0.779 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of Categorize: time 1.815e-05/0.6594, allocations: 4.281 kB / 0.779 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of Solve: time 0.0003107/0.6597, allocations: 183.6 kB / 0.7792 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.817e-06/0.6597, allocations: 0.8125 kB / 0.7792 GB, free: 2.336 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 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: ................. 9 (9) {$SEV_6, $SEV_5, $SEV_4, $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: ........... 40 (scalar:28, array:12, 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: ........... 45 (scalar:33, array:12, 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.666e-05/0.6598, allocations: 33.77 kB / 0.7792 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002203/0.662, allocations: 1.888 MB / 0.7811 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of Templates: time 0.006779/0.6688, allocations: 3.591 MB / 0.7846 GB, free: 0.9961 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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_Sensors_Examples_EnthalpyFlowRate -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.Sensors.Examples.EnthalpyFlowRate.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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_Sensors_Examples_EnthalpyFlowRate -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.Sensors.Examples.EnthalpyFlowRate_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:269:31: error: use of undeclared identifier '_OMC_LIT12' tmpMeta2 = stringAppend(_OMC_LIT12,_modelName); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:270:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT13); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:272:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT14); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:289:35: error: use of undeclared identifier '_OMC_LIT15' tmpMeta7 = stringAppend(_OMC_LIT15,_mediumName); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:290:44: error: use of undeclared identifier '_OMC_LIT16' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT16); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:292:45: error: use of undeclared identifier '_OMC_LIT17' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT17); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:295:46: error: use of undeclared identifier '_OMC_LIT18' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT18); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:298:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT19); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:310:14: error: use of undeclared identifier '_OMC_LIT20' _X_str = _OMC_LIT20; ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:318:41: error: use of undeclared identifier '_OMC_LIT21' tmpMeta21 = stringAppend(_X_str,_OMC_LIT21); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:321:44: error: use of undeclared identifier '_OMC_LIT22' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT22); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:324:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT23); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:326:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT24); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:331:30: error: use of undeclared identifier '_OMC_LIT25' tmpMeta33 = stringAppend(_OMC_LIT25,_mediumName); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:332:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT16); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:334:40: error: use of undeclared identifier '_OMC_LIT24' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT24); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:335:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT26); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:338:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT27); ^ BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:434: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.Sensors.Examples.EnthalpyFlowRate_functions.o] Error 1