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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001248/0.001248, allocations: 110.7 kB / 16.42 MB, free: 6.52 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.001361/0.001362, allocations: 185.9 kB / 17.35 MB, free: 5.75 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.151/1.151, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.26/2.26, allocations: 472.6 MB / 0.7459 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.804e-05, allocations: 6.219 kB / 1.07 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002031/0.002058, allocations: 1.43 MB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003208, allocations: 0.7947 MB / 1.072 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.003248, allocations: 0 / 1.072 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.095e-05/0.003305, allocations: 0 / 1.072 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.062e-05/0.003351, allocations: 3.938 kB / 1.072 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.003945, allocations: 167.5 kB / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.004075, allocations: 63.89 kB / 1.072 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.869e-05/0.00415, allocations: 4 kB / 1.072 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.004194, allocations: 23.91 kB / 1.072 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.004243, allocations: 19.92 kB / 1.073 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.004263, allocations: 4 kB / 1.073 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.004554, allocations: 199.7 kB / 1.073 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of combineBinaries: time 5.426e-05/0.004617, allocations: 51.47 kB / 1.073 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.519e-05/0.004638, allocations: 23.66 kB / 1.073 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.00466, allocations: 4 kB / 1.073 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.393e-05/0.004678, allocations: 3.984 kB / 1.073 GB, free: 6.832 MB / 0.8419 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.000342/0.005025, allocations: 302.7 kB / 1.073 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.733e-05/0.005049, allocations: 15.89 kB / 1.073 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.000154/0.005208, allocations: 176.3 kB / 1.073 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of simplify1: time 1.429e-05/0.005228, allocations: 7.969 kB / 1.073 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002435/0.005475, allocations: 144.8 kB / 1.073 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of simplify2: time 5.55e-06/0.005489, allocations: 4 kB / 1.073 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of Detect States: time 8.999e-05/0.005583, allocations: 84.16 kB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of Events: time 5.383e-05/0.005643, allocations: 16 kB / 1.074 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.479e-05/0.005704, allocations: 44.11 kB / 1.074 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001165/0.005826, allocations: 76.03 kB / 1.074 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001426/0.005976, allocations: 180.4 kB / 1.074 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of Inline: time 0.000217/0.006199, allocations: 256.4 kB / 1.074 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.65e-05/0.006222, allocations: 24.11 kB / 1.074 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.808e-05/0.006244, allocations: 11.98 kB / 1.074 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001472/0.006395, allocations: 104 kB / 1.074 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of Tearing: time 9.347e-06/0.006414, allocations: 4 kB / 1.074 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of Initialization: time 2.9e-07/0.006419, allocations: 0 / 1.074 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of Tearing: time 1.483e-06/0.006424, allocations: 288 / 1.074 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of Categorize: time 6.101e-06/0.006436, allocations: 4 kB / 1.074 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of Solve: time 3.129e-05/0.006471, allocations: 19.91 kB / 1.074 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.384e-06/0.006479, allocations: 3.938 kB / 1.074 GB, free: 5.105 MB / 0.8419 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.812e-05/0.006511, allocations: 18.25 kB / 1.074 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008262/0.007343, allocations: 1.023 MB / 1.075 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of Templates: time 0.003282/0.01064, allocations: 1.431 MB / 1.077 GB, free: 2.645 MB / 0.8419 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