Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 112.6 kB / 16.42 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.001086/0.001086, allocations: 187.2 kB / 17.35 MB, free: 5.715 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.12/1.12, 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 10.1.1-maint.10.0.x/package.mo): time 2.014/2.014, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.053e-05, allocations: 3.969 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001783/0.001801, allocations: 1.435 MB / 1.021 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004289/0.00224, allocations: 257.5 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.002274, allocations: 4 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.002304, allocations: 3.938 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.741e-05/0.002341, allocations: 3.938 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.00263, allocations: 63.81 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.002691, allocations: 23.92 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.002762, allocations: 8 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.002793, allocations: 11.98 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.738e-05/0.002825, allocations: 3.938 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.00284, allocations: 4 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.002966, allocations: 67.86 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of combineBinaries: time 3.87e-05/0.003012, allocations: 31.67 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.073e-05/0.003027, allocations: 15.72 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.846e-06/0.003041, allocations: 11.94 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.01e-05/0.003055, allocations: 0 / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0002506/0.003309, allocations: 232.7 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of FunctionAlias: time 3.539e-05/0.00335, allocations: 11.95 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of Early Inline: time 7.827e-05/0.003434, allocations: 92.33 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of simplify1: time 1.009e-05/0.003449, allocations: 0 / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of Alias: time 0.0002191/0.003672, allocations: 145.1 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of simplify2: time 6.462e-06/0.003688, allocations: 8 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of Detect States: time 4.726e-05/0.003739, allocations: 36.17 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of Events: time 5.291e-05/0.003798, allocations: 19.98 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of Partitioning: time 3.605e-05/0.003841, allocations: 32.06 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001064/0.003953, allocations: 76.08 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 7.057e-05/0.00403, allocations: 100.3 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of Inline: time 0.0001026/0.004138, allocations: 128.4 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of Partitioning: time 1.235e-05/0.004156, allocations: 16.12 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of Cleanup: time 9.428e-06/0.00417, allocations: 7.922 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001066/0.00428, allocations: 92.08 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of Tearing: time 6.732e-06/0.004295, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of Initialization: time 2.8e-07/0.004299, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of Tearing: time 2.304e-06/0.004305, allocations: 3.984 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of Categorize: time 4.759e-06/0.004313, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of Solve: time 3.89e-05/0.004356, allocations: 16.48 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of Jacobian: time 3.015e-06/0.004366, allocations: 7.938 kB / 1.022 GB, free: 6.246 MB / 0.795 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) {$TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.185e-05/0.004391, allocations: 14.44 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of SimCode: time 0.0005058/0.004901, allocations: 0.8267 MB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of Templates: time 0.002058/0.006969, allocations: 0.5206 MB / 1.023 GB, free: 4.879 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.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_10_Buildings_Utilities_Math_Examples_BesselJ1 -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_10_Buildings.Utilities.Math.Examples.BesselJ1.o Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.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_10_Buildings_Utilities_Math_Examples_BesselJ1 -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_10_Buildings.Utilities.Math.Examples.BesselJ1_functions.o Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_functions.c Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_functions.c:48:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _S); ^ 4 errors generated. make: *** [: Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_functions.o] Error 1