Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 108.4 kB / 16.42 MB, free: 6.512 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.000856/0.0008559, allocations: 185.9 kB / 17.36 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.149/1.149, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.926/1.926, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.208e-05, allocations: 6.219 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001663/0.001683, allocations: 1.302 MB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009188/0.002613, allocations: 0.722 MB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.002642, allocations: 0 / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.002662, allocations: 3.938 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.00271, allocations: 3.984 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.003, allocations: 91.92 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.003066, allocations: 23.86 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.003111, allocations: 3.984 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.003133, allocations: 12 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.457e-05/0.003172, allocations: 7.984 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.003186, allocations: 0 / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.003383, allocations: 148 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of combineBinaries: time 3.461e-05/0.003426, allocations: 23.69 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 8.426e-06/0.003439, allocations: 15.8 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.086e-05/0.003455, allocations: 4 kB / 0.9538 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.821e-06/0.003465, allocations: 3.938 kB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0002255/0.003694, allocations: 198.7 kB / 0.954 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 5.613e-05/0.003755, allocations: 23.83 kB / 0.954 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of Early Inline: time 6.905e-05/0.00383, allocations: 84.33 kB / 0.9541 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of simplify1: time 1.128e-05/0.003847, allocations: 3.984 kB / 0.9541 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of Alias: time 0.0002371/0.004088, allocations: 153.4 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of simplify2: time 2.935e-06/0.0041, allocations: 4 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of Detect States: time 4.17e-05/0.004146, allocations: 30.89 kB / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of Events: time 1.046e-05/0.004162, allocations: 3.984 kB / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of Partitioning: time 3.818e-05/0.004204, allocations: 32.19 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of Causalize: time 5.774e-05/0.004267, allocations: 48.52 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 4.046e-05/0.004315, allocations: 64.44 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of Inline: time 7.063e-05/0.004391, allocations: 92.41 kB / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of Partitioning: time 8.406e-06/0.004405, allocations: 8.125 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of Cleanup: time 6.432e-06/0.004415, allocations: 3.938 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of Causalize: time 6.216e-05/0.004482, allocations: 44.11 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of Tearing: time 9.518e-06/0.004499, allocations: 4 kB / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of Initialization: time 3.51e-07/0.004503, allocations: 0 / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of Tearing: time 9.32e-07/0.004508, allocations: 0 / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of Categorize: time 7.173e-06/0.004518, allocations: 3.938 kB / 0.9545 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of Solve: time 2.628e-05/0.004548, allocations: 15.98 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.334e-06/0.004555, allocations: 0 / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * 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: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, 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: ........... 2 (scalar:2, array:0, 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 2.536e-05/0.004583, allocations: 21.5 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005323/0.005124, allocations: 0.8528 MB / 0.9554 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of Templates: time 0.002274/0.007407, allocations: 0.786 MB / 0.9562 GB, free: 2.551 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc -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_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.o Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc -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_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.c Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.c:22:25: error: use of undeclared identifier '_OMC_LIT5' real_array_alloc_copy(_OMC_LIT5, _c); ^ 1 error generated. make: *** [: Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o] Error 1