Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.001114/0.001114, allocations: 187.2 kB / 17.36 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.216/1.216, 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 11.0.1-master/package.mo): time 2.262/2.262, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/1.923e-05, allocations: 5.234 kB / 1.055 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001913/0.001941, allocations: 1.276 MB / 1.056 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003079, allocations: 0.8333 MB / 1.057 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.003121, allocations: 4 kB / 1.057 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.003143, allocations: 4 kB / 1.057 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.003189, allocations: 7.922 kB / 1.057 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.003733, allocations: 123.4 kB / 1.057 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.003819, allocations: 35.84 kB / 1.057 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.00386, allocations: 4 kB / 1.057 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.003899, allocations: 4 kB / 1.057 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.003955, allocations: 19.91 kB / 1.057 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.003975, allocations: 11.94 kB / 1.057 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.004261, allocations: 159.8 kB / 1.057 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of combineBinaries: time 5.243e-05/0.004321, allocations: 35.72 kB / 1.057 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.269e-05/0.004339, allocations: 23.66 kB / 1.057 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-06/0.004353, allocations: 0 / 1.057 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.093e-06/0.004365, allocations: 0 / 1.057 GB, free: 5.258 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.0002953/0.004666, allocations: 240.6 kB / 1.057 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.674e-05/0.004688, allocations: 11.89 kB / 1.057 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001473/0.00484, allocations: 136.2 kB / 1.057 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of simplify1: time 1.225e-05/0.00487, allocations: 8 kB / 1.057 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of Alias: time 5.426e-05/0.004929, allocations: 60.61 kB / 1.058 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of simplify2: time 1.053e-05/0.004946, allocations: 11.98 kB / 1.058 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of Events: time 8.472e-05/0.005035, allocations: 31.91 kB / 1.058 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of Detect States: time 6.717e-05/0.005109, allocations: 46.05 kB / 1.058 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of Partitioning: time 6.367e-05/0.005178, allocations: 36.11 kB / 1.058 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002319/0.005416, allocations: 116.1 kB / 1.058 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.000105/0.00553, allocations: 120.2 kB / 1.058 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of Inline: time 0.0004135/0.005949, allocations: 427.9 kB / 1.058 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.409e-05/0.005971, allocations: 16.12 kB / 1.058 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.511e-05/0.006001, allocations: 19.97 kB / 1.058 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002153/0.006221, allocations: 156.1 kB / 1.058 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of Tearing: time 6.513e-06/0.006236, allocations: 0 / 1.058 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of Initialization: time 3.8e-07/0.006241, allocations: 0 / 1.058 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of Tearing: time 1.383e-06/0.00625, allocations: 8 kB / 1.058 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of Categorize: time 6.853e-06/0.006261, allocations: 0 / 1.058 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of Solve: time 0.0001581/0.006422, allocations: 104.9 kB / 1.059 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.795e-06/0.006434, allocations: 0 / 1.059 GB, free: 3.457 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) {$SEV_0, $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: ............ 1 (algorithm:0, when:0, if:1, 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: ............ 1 (algorithm:0, when:0, if:1, 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.795e-05/0.006466, allocations: 11.42 kB / 1.059 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0007725/0.007243, allocations: 0.9205 MB / 1.059 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of Templates: time 0.003787/0.01104, allocations: 1.898 MB / 1.061 GB, free: 0.6055 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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_Utilities_Psychrometrics_Functions_Examples_phi_pTX -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.Utilities.Psychrometrics.Functions.Examples.phi_pTX.o Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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_Utilities_Psychrometrics_Functions_Examples_phi_pTX -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.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.o Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.c Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.c:226:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.c:229:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _n); ^ Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.c:424:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.c:427:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _n); ^ 4 errors generated. make: *** [: Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.o] Error 1