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.001588/0.001588, allocations: 108.4 kB / 16.41 MB, free: 5.926 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.001437/0.001437, allocations: 190.2 kB / 17.35 MB, free: 5.555 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.527/1.527, allocations: 222.9 MB / 241 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.002198/0.002198, allocations: 288.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 1.016/1.016, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.361e-05, allocations: 2.281 kB / 0.682 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002968/0.003011, allocations: 1.424 MB / 0.6834 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.004613, allocations: 0.7769 MB / 0.6842 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.004676, allocations: 4 kB / 0.6842 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.232e-05/0.004774, allocations: 3.938 kB / 0.6842 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.00485, allocations: 11.92 kB / 0.6842 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009237/0.005779, allocations: 166.9 kB / 0.6844 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.005985, allocations: 51.95 kB / 0.6844 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.006109, allocations: 11.94 kB / 0.6844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.107e-05/0.006175, allocations: 19.92 kB / 0.6844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.006248, allocations: 11.98 kB / 0.6844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.006272, allocations: 4 kB / 0.6844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.006703, allocations: 211.6 kB / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of combineBinaries: time 8.996e-05/0.006805, allocations: 55.52 kB / 0.6847 GB, free: 4.293 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 2.578e-05/0.006837, allocations: 23.56 kB / 0.6847 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.00687, allocations: 8 kB / 0.6847 GB, free: 4.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.953e-05/0.006894, allocations: 0 / 0.6847 GB, free: 4.262 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.0004822/0.007381, allocations: 304.5 kB / 0.685 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.349e-05/0.007401, allocations: 0 / 0.685 GB, free: 3.863 MB / 494.1 MB Notification: Performance of Early Inline: time 0.000198/0.007604, allocations: 176.3 kB / 0.6852 GB, free: 3.664 MB / 494.1 MB Notification: Performance of simplify1: time 2.04e-05/0.007632, allocations: 8 kB / 0.6852 GB, free: 3.656 MB / 494.1 MB Notification: Performance of Alias: time 0.000376/0.008012, allocations: 156.7 kB / 0.6853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simplify2: time 3.326e-06/0.008025, allocations: 0 / 0.6853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001331/0.008165, allocations: 86.81 kB / 0.6854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of Events: time 8.05e-05/0.008253, allocations: 19.98 kB / 0.6854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of Partitioning: time 7.248e-05/0.008332, allocations: 40.12 kB / 0.6855 GB, free: 3.293 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001424/0.008481, allocations: 76.06 kB / 0.6856 GB, free: 3.211 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001778/0.008667, allocations: 180.2 kB / 0.6857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of Inline: time 0.0002808/0.008954, allocations: 268.5 kB / 0.686 GB, free: 2.711 MB / 494.1 MB Notification: Performance of Partitioning: time 1.35e-05/0.008974, allocations: 8.125 kB / 0.686 GB, free: 2.695 MB / 494.1 MB Notification: Performance of Cleanup: time 2.553e-05/0.009005, allocations: 20 kB / 0.686 GB, free: 2.676 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001681/0.009178, allocations: 112.2 kB / 0.6861 GB, free: 2.559 MB / 494.1 MB Notification: Performance of Tearing: time 1.48e-05/0.009202, allocations: 4 kB / 0.6861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of Initialization: time 2.9e-07/0.009209, allocations: 4 kB / 0.6861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Tearing: time 1.042e-06/0.009214, allocations: 240 / 0.6861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Categorize: time 8.717e-06/0.009227, allocations: 0 / 0.6861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Solve: time 3.247e-05/0.009264, allocations: 4 kB / 0.6861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of Jacobian: time 5.5e-06/0.009275, allocations: 3.984 kB / 0.6861 GB, free: 2.543 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 5.083e-05/0.009329, allocations: 20.52 kB / 0.6862 GB, free: 2.531 MB / 494.1 MB Notification: Performance of SimCode: time 0.001129/0.01046, allocations: 1.022 MB / 0.6872 GB, free: 1.484 MB / 494.1 MB Notification: Performance of Templates: time 0.004314/0.01479, allocations: 1.42 MB / 0.6885 GB, free: 100 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