Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.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.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 111.9 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.001693/0.001693, allocations: 183.1 kB / 17.35 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.113/1.113, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.016/2.016, allocations: 437 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.659e-06/9.658e-06, allocations: 2.5 kB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002483/0.0025, allocations: 2.312 MB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.4787/0.4812, allocations: 152 MB / 1.17 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.4815, allocations: 7.062 kB / 1.17 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.4816, allocations: 45.61 kB / 1.17 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.482, allocations: 99.5 kB / 1.17 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.4827, allocations: 302 kB / 1.17 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000454/0.4832, allocations: 471.5 kB / 1.171 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.4834, allocations: 106 kB / 1.171 GB, free: 452 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.4845, allocations: 291.2 kB / 1.171 GB, free: 360 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.4847, allocations: 185.5 kB / 1.171 GB, free: 276 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.4848, allocations: 30 kB / 1.171 GB, free: 276 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.4852, allocations: 289.8 kB / 1.172 GB, free: 192 kB / 0.8731 GB Notification: Performance of combineBinaries: time 0.0003572/0.4856, allocations: 0.5166 MB / 1.172 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.0001684/0.4858, allocations: 301.3 kB / 1.172 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.416e-05/0.4859, allocations: 51.56 kB / 1.172 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.868e-05/0.4859, allocations: 27.69 kB / 1.172 GB, free: 15.61 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 (65) * Number of variables: 65 (63) Notification: Performance of Bindings: time 0.001196/0.4871, allocations: 1.466 MB / 1.174 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.0002051/0.4873, allocations: 185.3 kB / 1.174 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.001219/0.4886, allocations: 1.33 MB / 1.175 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of simplify1: time 0.0001478/0.4887, allocations: 138.9 kB / 1.175 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of Alias: time 0.001831/0.4906, allocations: 1.694 MB / 1.177 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of simplify2: time 0.0001519/0.4907, allocations: 131.7 kB / 1.177 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of Detect States: time 0.0003209/0.4911, allocations: 225.3 kB / 1.177 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of Events: time 0.0002383/0.4913, allocations: 166.4 kB / 1.178 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0003105/0.4916, allocations: 310.9 kB / 1.178 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of Causalize: time 0.001192/0.4928, allocations: 1.125 MB / 1.179 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.0007535/0.4936, allocations: 0.8405 MB / 1.18 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of Inline: time 0.002051/0.4956, allocations: 2.175 MB / 1.182 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of Partitioning: time 7.334e-05/0.4957, allocations: 68.45 kB / 1.182 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0001283/0.4959, allocations: 106.3 kB / 1.182 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of Causalize: time 0.001867/0.4977, allocations: 1.714 MB / 1.184 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of Tearing: time 0.0009793/0.4987, allocations: 1.143 MB / 1.185 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of Initialization: time 8.12e-07/0.4987, allocations: 0 / 1.185 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of Tearing: time 0.0008465/0.4996, allocations: 1.113 MB / 1.186 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of Categorize: time 1.106e-05/0.4996, allocations: 2.812 kB / 1.186 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of Solve: time 0.0004273/0.5, allocations: 305.9 kB / 1.186 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of Jacobian: time 4.829e-06/0.5, allocations: 3.938 kB / 1.186 GB, free: 6.648 MB / 0.8887 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ................. 8 (8) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 31 (scalar:31, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 65 (scalar:65, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 3.855e-05/0.5001, allocations: 33.38 kB / 1.186 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of SimCode: time 0.001544/0.5016, allocations: 1.977 MB / 1.188 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of Templates: time 0.00944/0.5111, allocations: 7.19 MB / 1.195 GB, free: 1.438 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.makefile make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.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_Comfort_Examples_Fanger -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.o Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.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_Comfort_Examples_Fanger -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_functions.o Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_functions.c Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_functions.c:303:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_functions.c:306:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _n); ^ Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_functions.c:552:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_functions.c:555:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _n); ^ 4 errors generated. make: *** [: Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_functions.o] Error 1