Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_9_Buildings.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.001102/0.001102, allocations: 115.2 kB / 16.43 MB, free: 6.512 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.001074/0.001074, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.179/1.179, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.93/1.93, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.11e-05, allocations: 4.531 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001848/0.001867, allocations: 1.437 MB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002885, allocations: 0.7801 MB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.002918, allocations: 0 / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.818e-05/0.002971, allocations: 0 / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.003013, allocations: 11.92 kB / 0.9537 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.003503, allocations: 163.6 kB / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.797e-05/0.003611, allocations: 59.89 kB / 0.9539 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.003677, allocations: 4 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.003713, allocations: 19.92 kB / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.003758, allocations: 11.98 kB / 0.9539 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.003775, allocations: 8 kB / 0.9539 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.004023, allocations: 207.7 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of combineBinaries: time 5.243e-05/0.004089, allocations: 51.52 kB / 0.9542 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.315e-05/0.004108, allocations: 23.56 kB / 0.9542 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.004128, allocations: 8 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.977e-06/0.004142, allocations: 0 / 0.9542 GB, free: 4.895 MB / 0.7325 GB 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.0003089/0.004455, allocations: 301.6 kB / 0.9545 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 1.146e-05/0.004472, allocations: 7.891 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.000148/0.004625, allocations: 184.3 kB / 0.9547 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of simplify1: time 1.022e-05/0.004643, allocations: 11.94 kB / 0.9547 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of Alias: time 0.0002159/0.004863, allocations: 140.8 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simplify2: time 3.106e-06/0.004875, allocations: 0 / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of Detect States: time 8.513e-05/0.004968, allocations: 88.14 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of Events: time 4.879e-05/0.005022, allocations: 19.98 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of Partitioning: time 5.089e-05/0.005079, allocations: 44.11 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of Causalize: time 9.813e-05/0.005184, allocations: 72.03 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001365/0.005328, allocations: 180.4 kB / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of Inline: time 0.0002141/0.005548, allocations: 272.3 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.143e-05/0.005568, allocations: 16.12 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.673e-05/0.005589, allocations: 12 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001353/0.005729, allocations: 112.2 kB / 0.9556 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of Tearing: time 6.512e-06/0.005745, allocations: 7.938 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of Initialization: time 2.91e-07/0.005749, allocations: 0 / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of Tearing: time 2.976e-06/0.005756, allocations: 0 / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of Categorize: time 6.482e-06/0.005767, allocations: 0 / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of Solve: time 2.198e-05/0.005793, allocations: 4 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.034e-06/0.005799, allocations: 0 / 0.9556 GB, free: 3.172 MB / 0.7325 GB 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 2.892e-05/0.005832, allocations: 23.81 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0006891/0.006525, allocations: 1.022 MB / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of Templates: time 0.003014/0.009549, allocations: 1.418 MB / 0.958 GB, free: 0.7031 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile make -j1 -f Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.o Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.o Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:225:33: error: use of undeclared identifier '_OMC_LIT0' tmpMeta4 = stringAppend(_OMC_LIT0,tmp3); ^ Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:226:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT1); ^ Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:229:42: error: use of undeclared identifier '_OMC_LIT2' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT2); ^ Buildings_9_Buildings.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)); ^ Buildings_9_Buildings.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: *** [: Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.o] Error 1