Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_10_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_10_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.001141/0.001141, allocations: 112.6 kB / 16.43 MB, free: 5.977 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.001152/0.001153, allocations: 189.2 kB / 17.36 MB, free: 5.594 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.155/1.155, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.085/2.085, allocations: 437 MB / 0.7111 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.01e-05, allocations: 6.219 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00199/0.002019, allocations: 1.294 MB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003134, allocations: 0.7273 MB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.003163, allocations: 0 / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.003189, allocations: 3.938 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/0.003243, allocations: 7.984 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.003608, allocations: 95.91 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.166e-05/0.003682, allocations: 23.92 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.00373, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.003755, allocations: 4 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.003801, allocations: 11.92 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.003817, allocations: 3.938 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.004051, allocations: 144.1 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of combineBinaries: time 4.257e-05/0.004101, allocations: 23.73 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.269e-05/0.00412, allocations: 23.75 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.151e-05/0.004136, allocations: 0 / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.334e-06/0.004147, allocations: 0 / 1.021 GB, free: 7.109 MB / 0.795 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.0002589/0.004411, allocations: 197 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of FunctionAlias: time 6.845e-05/0.004485, allocations: 31.8 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of Early Inline: time 7.802e-05/0.004569, allocations: 76.34 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of simplify1: time 1.174e-05/0.004586, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of Alias: time 0.0002774/0.004868, allocations: 149.5 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of simplify2: time 7.313e-06/0.004884, allocations: 7.984 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of Detect States: time 4.778e-05/0.004936, allocations: 28.14 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of Events: time 1.424e-05/0.004955, allocations: 8 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of Partitioning: time 4.597e-05/0.005006, allocations: 28.23 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of Causalize: time 7.146e-05/0.005082, allocations: 60.2 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 4.306e-05/0.005132, allocations: 52.36 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of Inline: time 7.899e-05/0.005218, allocations: 88.45 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of Partitioning: time 1.06e-05/0.005234, allocations: 12.06 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of Cleanup: time 8.335e-06/0.005246, allocations: 4.375 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of Causalize: time 7.15e-05/0.005323, allocations: 52.09 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of Tearing: time 8.105e-06/0.005339, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of Initialization: time 3.21e-07/0.005343, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of Tearing: time 2.695e-06/0.00535, allocations: 3.938 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of Categorize: time 7.354e-06/0.005361, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of Solve: time 2.912e-05/0.005394, allocations: 11.98 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of Jacobian: time 3.006e-06/0.005401, allocations: 0 / 1.022 GB, free: 6.004 MB / 0.795 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 3.243e-05/0.005437, allocations: 23.75 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of SimCode: time 0.0006672/0.00611, allocations: 0.8602 MB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of Templates: time 0.00264/0.008761, allocations: 0.795 MB / 1.024 GB, free: 4.328 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.o Buildings_10_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_10_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_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.c Buildings_10_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_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o] Error 1