Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 109.4 kB / 16.42 MB, free: 6.477 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.000849/0.0008491, allocations: 189.5 kB / 17.36 MB, free: 5.703 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.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.13 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.117/2.117, allocations: 437 MB / 0.7111 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/1.884e-05, allocations: 4.391 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001679/0.001706, allocations: 1.283 MB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.005193, allocations: 3.765 MB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.005228, allocations: 0 / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.005246, allocations: 0 / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.005607, allocations: 103.5 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.005917, allocations: 150.9 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.005983, allocations: 23.92 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 2.949e-05/0.006019, allocations: 0 / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.006109, allocations: 31.84 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.006192, allocations: 35.91 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.797e-06/0.006207, allocations: 0 / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.006549, allocations: 303.5 kB / 1.025 GB, free: 3.727 MB / 0.795 GB Notification: Performance of combineBinaries: time 3.983e-05/0.006597, allocations: 31.59 kB / 1.025 GB, free: 3.695 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.343e-05/0.006616, allocations: 15.75 kB / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.617e-06/0.006631, allocations: 8 kB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.815e-06/0.006643, allocations: 0 / 1.025 GB, free: 3.672 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.000233/0.00688, allocations: 208.7 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of FunctionAlias: time 4.779e-05/0.006933, allocations: 19.94 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of Early Inline: time 5.687e-05/0.006996, allocations: 68.33 kB / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of simplify1: time 9.148e-06/0.00701, allocations: 0 / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of Alias: time 0.0001811/0.007197, allocations: 92.67 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of simplify2: time 9.148e-06/0.007216, allocations: 16.17 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of Detect States: time 4.649e-05/0.007266, allocations: 30.39 kB / 1.025 GB, free: 3.059 MB / 0.795 GB Notification: Performance of Events: time 1.186e-05/0.007283, allocations: 4 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of Partitioning: time 3.016e-05/0.007318, allocations: 16.11 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of Causalize: time 7.022e-05/0.007393, allocations: 44.09 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 4.19e-05/0.007442, allocations: 60.55 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of Inline: time 6.127e-05/0.007509, allocations: 84.41 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of Partitioning: time 1.309e-05/0.007529, allocations: 12.12 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of Cleanup: time 6.723e-06/0.00754, allocations: 7.922 kB / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of Causalize: time 7.006e-05/0.007614, allocations: 56.11 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of Tearing: time 8.787e-06/0.00763, allocations: 3.938 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of Initialization: time 2.9e-07/0.007636, allocations: 4 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of Tearing: time 8.62e-07/0.007641, allocations: 0 / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of Categorize: time 4.649e-06/0.007649, allocations: 0 / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of Solve: time 2.587e-05/0.007678, allocations: 4 kB / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Performance of Jacobian: time 2.224e-06/0.007685, allocations: 0 / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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.733e-05/0.007716, allocations: 23.28 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of SimCode: time 0.0005813/0.008301, allocations: 0.9056 MB / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of Templates: time 0.002833/0.01114, allocations: 1.253 MB / 1.028 GB, free: 0.4961 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance -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.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.o Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance -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.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_functions.o Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_functions.c Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_functions.c:411:55: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ 1 error generated. make: *** [: Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_functions.o] Error 1