Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 106.2 kB / 16.42 MB, free: 6.527 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.00142/0.00142, allocations: 190 kB / 17.36 MB, free: 5.73 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.235/1.235, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 285.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8959/0.8959, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.074e-05, allocations: 2.281 kB / 0.682 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002066/0.002095, allocations: 1.415 MB / 0.6834 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.003313, allocations: 0.7808 MB / 0.6842 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.003357, allocations: 0 / 0.6842 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.134e-05/0.003424, allocations: 3.938 kB / 0.6842 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.208e-05/0.00347, allocations: 0 / 0.6842 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005697/0.00405, allocations: 179.5 kB / 0.6844 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.004175, allocations: 51.91 kB / 0.6844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.00426, allocations: 8 kB / 0.6844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.004304, allocations: 19.92 kB / 0.6844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.004354, allocations: 19.97 kB / 0.6845 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.004372, allocations: 4 kB / 0.6845 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.004645, allocations: 199.7 kB / 0.6846 GB, free: 4.344 MB / 494.1 MB Notification: Performance of combineBinaries: time 5.448e-05/0.004708, allocations: 51.5 kB / 0.6847 GB, free: 4.293 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.644e-05/0.00473, allocations: 27.56 kB / 0.6847 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.004756, allocations: 11.94 kB / 0.6847 GB, free: 4.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.227e-05/0.004772, allocations: 0 / 0.6847 GB, free: 4.254 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 (3) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0003626/0.005139, allocations: 304.5 kB / 0.685 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.416e-05/0.005161, allocations: 4 kB / 0.685 GB, free: 3.852 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001626/0.005328, allocations: 180.3 kB / 0.6852 GB, free: 3.648 MB / 494.1 MB Notification: Performance of simplify1: time 1.17e-05/0.005346, allocations: 4 kB / 0.6852 GB, free: 3.645 MB / 494.1 MB Notification: Performance of Alias: time 0.0002587/0.005609, allocations: 152.8 kB / 0.6854 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simplify2: time 3.216e-06/0.005621, allocations: 0 / 0.6854 GB, free: 3.449 MB / 494.1 MB Notification: Performance of Events: time 5.657e-05/0.005682, allocations: 23.97 kB / 0.6854 GB, free: 3.426 MB / 494.1 MB Notification: Performance of Detect States: time 9.659e-05/0.005784, allocations: 86.48 kB / 0.6855 GB, free: 3.328 MB / 494.1 MB Notification: Performance of Partitioning: time 6.416e-05/0.005854, allocations: 48.11 kB / 0.6855 GB, free: 3.273 MB / 494.1 MB Notification: Performance of Causalize: time 0.000105/0.005965, allocations: 64.09 kB / 0.6856 GB, free: 3.203 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001457/0.006118, allocations: 176.5 kB / 0.6857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of Inline: time 0.0002319/0.006356, allocations: 276.2 kB / 0.686 GB, free: 2.699 MB / 494.1 MB Notification: Performance of Partitioning: time 1.41e-05/0.006377, allocations: 16.12 kB / 0.686 GB, free: 2.676 MB / 494.1 MB Notification: Performance of Cleanup: time 1.538e-05/0.006397, allocations: 8 kB / 0.686 GB, free: 2.668 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001469/0.00655, allocations: 116.2 kB / 0.6861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of Tearing: time 6.402e-06/0.006565, allocations: 0 / 0.6861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of Initialization: time 3.1e-07/0.006569, allocations: 3.938 kB / 0.6861 GB, free: 2.543 MB / 494.1 MB Notification: Performance of Tearing: time 6.41e-07/0.006573, allocations: 0 / 0.6861 GB, free: 2.543 MB / 494.1 MB Notification: Performance of Categorize: time 8.155e-06/0.006586, allocations: 7.984 kB / 0.6861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of Solve: time 2.861e-05/0.006618, allocations: 8 kB / 0.6861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of Jacobian: time 3.035e-06/0.006626, allocations: 0 / 0.6861 GB, free: 2.527 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ................. 2 (2) {cubSpl.i, $TEV_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: ............ 1 (algorithm:1, 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: ............ 2 (algorithm:2, 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.717e-05/0.006667, allocations: 20.09 kB / 0.6862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of SimCode: time 0.0008309/0.007502, allocations: 1.017 MB / 0.6872 GB, free: 1.473 MB / 494.1 MB Notification: Performance of Templates: time 0.003498/0.01101, allocations: 1.403 MB / 0.6885 GB, free: 108 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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=BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline -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 BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.o BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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=BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline -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 BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.o BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:225:33: error: use of undeclared identifier '_OMC_LIT0' tmpMeta4 = stringAppend(_OMC_LIT0,tmp3); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:226:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT1); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:229:42: error: use of undeclared identifier '_OMC_LIT2' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT2); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:244:55: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:256:57: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ 5 errors generated. make: *** [: BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.o] Error 1