Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001014/0.001014, 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.001081/0.001081, 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.13 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 1.946/1.946, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.063e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002683/0.002703, allocations: 2.32 MB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.5334/0.5361, allocations: 152 MB / 1.102 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.5363, allocations: 6.094 kB / 1.102 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.5365, allocations: 43.47 kB / 1.102 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.5369, allocations: 103.9 kB / 1.102 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.5376, allocations: 298.7 kB / 1.103 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.5381, allocations: 471.7 kB / 1.103 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.5383, allocations: 112 kB / 1.103 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.5394, allocations: 289.2 kB / 1.103 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.5396, allocations: 185.8 kB / 1.104 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.5397, allocations: 29.91 kB / 1.104 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.5402, allocations: 276.1 kB / 1.104 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.0003903/0.5406, allocations: 0.5191 MB / 1.104 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0001443/0.5407, allocations: 307.8 kB / 1.105 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.5408, allocations: 56.17 kB / 1.105 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.786e-05/0.5409, allocations: 18.92 kB / 1.105 GB, free: 6.512 MB / 0.8575 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.001121/0.542, allocations: 1.462 MB / 1.106 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 0.0001994/0.5422, allocations: 174.3 kB / 1.106 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.001257/0.5435, allocations: 1.337 MB / 1.108 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of simplify1: time 0.0001562/0.5436, allocations: 147.5 kB / 1.108 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of Alias: time 0.001835/0.5455, allocations: 1.687 MB / 1.109 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of simplify2: time 0.0001756/0.5457, allocations: 129.4 kB / 1.11 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0002483/0.5459, allocations: 233.7 kB / 1.11 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of Events: time 0.0002297/0.5462, allocations: 167.2 kB / 1.11 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0002735/0.5464, allocations: 317.4 kB / 1.11 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of Causalize: time 0.001098/0.5475, allocations: 1.126 MB / 1.111 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.0007303/0.5483, allocations: 0.8428 MB / 1.112 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of Inline: time 0.001979/0.5503, allocations: 2.168 MB / 1.114 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of Partitioning: time 6.766e-05/0.5503, allocations: 71.47 kB / 1.114 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of Cleanup: time 9.642e-05/0.5504, allocations: 97.39 kB / 1.114 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of Causalize: time 0.001669/0.5521, allocations: 1.714 MB / 1.116 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of Tearing: time 0.001081/0.5532, allocations: 1.146 MB / 1.117 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of Initialization: time 4.3e-07/0.5532, allocations: 0 / 1.117 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of Tearing: time 0.0008307/0.554, allocations: 1.109 MB / 1.118 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of Categorize: time 1.281e-05/0.5541, allocations: 4.141 kB / 1.118 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of Solve: time 0.0004506/0.5545, allocations: 300.4 kB / 1.119 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of Jacobian: time 3.477e-06/0.5545, allocations: 0 / 1.119 GB, free: 2.918 MB / 0.8575 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.535e-05/0.5546, allocations: 32.64 kB / 1.119 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of SimCode: time 0.001599/0.5562, allocations: 1.985 MB / 1.121 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of Templates: time 0.009369/0.5656, allocations: 7.176 MB / 1.128 GB, free: 1.492 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Utilities.Comfort.Examples.Fanger.o Buildings_9_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_9_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_9_Buildings.Utilities.Comfort.Examples.Fanger_functions.o Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_functions.c Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_functions.c:303:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_functions.c:306:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _n); ^ Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_functions.c:552:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ Buildings_9_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_9_Buildings.Utilities.Comfort.Examples.Fanger_functions.o] Error 1