Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_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_9_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.001231/0.001231, allocations: 113.4 kB / 16.43 MB, free: 6.406 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.001214/0.001214, allocations: 191.4 kB / 17.36 MB, free: 5.711 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.259/1.259, 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 9.1.3-maint.9.1.x/package.mo): time 2.113/2.113, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.332e-05, allocations: 5.234 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002228/0.002259, allocations: 1.272 MB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.003548, allocations: 0.838 MB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.003578, allocations: 0 / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.0036, allocations: 0 / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.299e-05/0.003647, allocations: 3.938 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.004201, allocations: 127.4 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.004296, allocations: 27.92 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.004353, allocations: 7.984 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.0044, allocations: 15.88 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.358e-05/0.004458, allocations: 7.984 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.004477, allocations: 4 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.004769, allocations: 167.8 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of combineBinaries: time 5.461e-05/0.004832, allocations: 27.69 kB / 0.9539 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.29e-05/0.00486, allocations: 31.64 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.191e-05/0.004877, allocations: 0 / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.698e-06/0.004891, allocations: 3.984 kB / 0.9539 GB, free: 5.129 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 (4) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0003378/0.005235, allocations: 236.6 kB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 2.087e-05/0.005261, allocations: 11.92 kB / 0.9542 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0001842/0.005451, allocations: 140.2 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of simplify1: time 1.343e-05/0.005472, allocations: 7.984 kB / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of Alias: time 6.669e-05/0.005544, allocations: 68.56 kB / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of simplify2: time 1.127e-05/0.005563, allocations: 15.98 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of Detect States: time 7.355e-05/0.005641, allocations: 40.2 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of Events: time 0.0001033/0.00575, allocations: 27.91 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of Partitioning: time 6.869e-05/0.005827, allocations: 44.11 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002588/0.006091, allocations: 116.2 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.000109/0.006209, allocations: 124.3 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of Inline: time 0.0004726/0.006688, allocations: 435.9 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.893e-05/0.006716, allocations: 20.28 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of Cleanup: time 2.772e-05/0.006748, allocations: 23.91 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002383/0.006991, allocations: 160 kB / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of Tearing: time 9.437e-06/0.007009, allocations: 0 / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of Initialization: time 1.984e-06/0.007016, allocations: 0 / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of Tearing: time 1.834e-06/0.007022, allocations: 3.938 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of Categorize: time 6.653e-06/0.007033, allocations: 0 / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of Solve: time 0.0002144/0.007251, allocations: 128.8 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of Jacobian: time 3.607e-06/0.007264, allocations: 0.5625 kB / 0.9555 GB, free: 3.262 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) {$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: ............ 2 (algorithm:0, when:0, if:2, 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: ............ 2 (algorithm:0, when:0, if:2, 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 3.696e-05/0.007305, allocations: 23.09 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0008611/0.008171, allocations: 0.9151 MB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of Templates: time 0.004505/0.01269, allocations: 1.916 MB / 0.9582 GB, free: 404 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.o Buildings_9_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_9_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_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.o Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.c Buildings_9_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_9_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_9_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_9_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_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.o] Error 1