Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_latest_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_latest_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.001166/0.001169, allocations: 109.1 kB / 16.42 MB, free: 6.43 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.001207/0.001207, allocations: 188.2 kB / 17.36 MB, free: 5.723 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.13/1.13, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.169/2.169, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.161e-05, allocations: 4.25 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001945/0.001974, allocations: 1.442 MB / 1.056 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.00306, allocations: 0.7909 MB / 1.057 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.003099, allocations: 0 / 1.057 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.173e-05/0.003156, allocations: 3.938 kB / 1.057 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.825e-05/0.003199, allocations: 0 / 1.057 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.003775, allocations: 175.5 kB / 1.057 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.003897, allocations: 47.95 kB / 1.057 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.003972, allocations: 11.98 kB / 1.057 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.004012, allocations: 15.94 kB / 1.057 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.004061, allocations: 23.91 kB / 1.057 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.004079, allocations: 4 kB / 1.057 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.004354, allocations: 199.7 kB / 1.057 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of combineBinaries: time 5.159e-05/0.004414, allocations: 47.52 kB / 1.057 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.37e-05/0.004433, allocations: 27.56 kB / 1.057 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.004455, allocations: 4 kB / 1.057 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.165e-05/0.00447, allocations: 0 / 1.057 GB, free: 4.934 MB / 0.8262 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.0003353/0.004811, allocations: 312.5 kB / 1.058 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.619e-05/0.004833, allocations: 11.94 kB / 1.058 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001461/0.004983, allocations: 168.3 kB / 1.058 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simplify1: time 1.138e-05/0.005001, allocations: 0 / 1.058 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002365/0.005242, allocations: 156.8 kB / 1.058 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simplify2: time 4.91e-06/0.005255, allocations: 0 / 1.058 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of Events: time 5.653e-05/0.005315, allocations: 27.88 kB / 1.058 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of Detect States: time 8.764e-05/0.005409, allocations: 84.17 kB / 1.058 GB, free: 4 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.179e-05/0.005468, allocations: 40.09 kB / 1.058 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001123/0.005585, allocations: 83.95 kB / 1.058 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001384/0.005731, allocations: 180.3 kB / 1.058 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002098/0.005947, allocations: 256.6 kB / 1.059 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.63e-05/0.00597, allocations: 12.06 kB / 1.059 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.18e-05/0.005997, allocations: 19.98 kB / 1.059 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001412/0.006144, allocations: 116 kB / 1.059 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of Tearing: time 8.145e-06/0.006161, allocations: 4 kB / 1.059 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of Initialization: time 2.91e-07/0.006165, allocations: 0 / 1.059 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of Tearing: time 1.403e-06/0.006171, allocations: 0 / 1.059 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of Categorize: time 6.282e-06/0.00618, allocations: 0 / 1.059 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of Solve: time 2.853e-05/0.006212, allocations: 11.92 kB / 1.059 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.595e-06/0.006222, allocations: 4 kB / 1.059 GB, free: 3.195 MB / 0.8262 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.89e-05/0.006254, allocations: 20.34 kB / 1.059 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0007732/0.007032, allocations: 1.005 MB / 1.06 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of Templates: time 0.003367/0.01041, allocations: 1.425 MB / 1.061 GB, free: 0.7578 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.o Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:225:33: error: use of undeclared identifier '_OMC_LIT0' tmpMeta4 = stringAppend(_OMC_LIT0,tmp3); ^ Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:226:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT1); ^ Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.c:229:42: error: use of undeclared identifier '_OMC_LIT2' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT2); ^ Buildings_latest_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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_functions.o] Error 1