Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 3.666e-05/3.665e-05, allocations: 5.781 kB / 0.5923 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002579/0.002626, allocations: 1.267 MB / 0.5935 GB, free: 17.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.0039, allocations: 0.7151 MB / 0.5942 GB, free: 16.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.003939, allocations: 0 / 0.5942 GB, free: 16.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.003965, allocations: 0 / 0.5942 GB, free: 16.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.937e-05/0.004041, allocations: 7.922 kB / 0.5942 GB, free: 16.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.004438, allocations: 95.91 kB / 0.5943 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.154e-05/0.004521, allocations: 19.92 kB / 0.5943 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.814e-05/0.004586, allocations: 4 kB / 0.5943 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.004616, allocations: 4 kB / 0.5943 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.004669, allocations: 7.938 kB / 0.5943 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.004691, allocations: 0 / 0.5943 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.004955, allocations: 152 kB / 0.5945 GB, free: 16.62 MB / 446.1 MB Notification: Performance of combineBinaries: time 4.627e-05/0.005011, allocations: 23.75 kB / 0.5945 GB, free: 16.6 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 8.866e-06/0.005027, allocations: 15.75 kB / 0.5945 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.005049, allocations: 11.94 kB / 0.5945 GB, free: 16.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.037e-06/0.005065, allocations: 0 / 0.5945 GB, free: 16.57 MB / 446.1 MB 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.0002608/0.005332, allocations: 188.9 kB / 0.5947 GB, free: 16.29 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.278e-05/0.005414, allocations: 35.78 kB / 0.5948 GB, free: 16.25 MB / 446.1 MB Notification: Performance of Early Inline: time 8.384e-05/0.005505, allocations: 80.34 kB / 0.5948 GB, free: 16.15 MB / 446.1 MB Notification: Performance of simplify1: time 1.459e-05/0.005527, allocations: 0 / 0.5948 GB, free: 16.15 MB / 446.1 MB Notification: Performance of Alias: time 0.0002483/0.005783, allocations: 137.6 kB / 0.595 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simplify2: time 3.897e-06/0.005797, allocations: 0 / 0.595 GB, free: 15.95 MB / 446.1 MB Notification: Performance of Events: time 1.623e-05/0.00582, allocations: 7.938 kB / 0.595 GB, free: 15.95 MB / 446.1 MB Notification: Performance of Detect States: time 5.233e-05/0.005879, allocations: 40.16 kB / 0.595 GB, free: 15.89 MB / 446.1 MB Notification: Performance of Partitioning: time 4.379e-05/0.00593, allocations: 24.19 kB / 0.595 GB, free: 15.85 MB / 446.1 MB Notification: Performance of Causalize: time 8.117e-05/0.006018, allocations: 80.22 kB / 0.5951 GB, free: 15.76 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 3.676e-05/0.006063, allocations: 52.42 kB / 0.5952 GB, free: 15.68 MB / 446.1 MB Notification: Performance of Inline: time 6.989e-05/0.00614, allocations: 84.45 kB / 0.5952 GB, free: 15.56 MB / 446.1 MB Notification: Performance of Partitioning: time 8.356e-06/0.006155, allocations: 16.56 kB / 0.5953 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Cleanup: time 9.928e-06/0.006173, allocations: 7.938 kB / 0.5953 GB, free: 15.53 MB / 446.1 MB Notification: Performance of Causalize: time 7.841e-05/0.006257, allocations: 64.08 kB / 0.5953 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Tearing: time 6.372e-06/0.006273, allocations: 4 kB / 0.5953 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Initialization: time 1.282e-06/0.006281, allocations: 0 / 0.5953 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Tearing: time 1.824e-06/0.006288, allocations: 3.938 kB / 0.5953 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Categorize: time 8.717e-06/0.006303, allocations: 7.938 kB / 0.5953 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Solve: time 3.064e-05/0.006339, allocations: 4 kB / 0.5953 GB, free: 15.44 MB / 446.1 MB Notification: Performance of Jacobian: time 3.607e-06/0.006349, allocations: 0 / 0.5953 GB, free: 15.44 MB / 446.1 MB 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.815e-05/0.006393, allocations: 18.58 kB / 0.5954 GB, free: 15.43 MB / 446.1 MB Notification: Performance of SimCode: time 0.0006019/0.007002, allocations: 0.8551 MB / 0.5962 GB, free: 14.55 MB / 446.1 MB Notification: Performance of Templates: time 0.003263/0.01028, allocations: 0.7848 MB / 0.597 GB, free: 13.8 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile make -j1 -f Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.o Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.c Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o] Error 1