Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001121/0.001121, allocations: 185.5 kB / 17.36 MB, free: 5.73 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.205/1.205, 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 9.1.3-maint.9.1.x/package.mo): time 1.981/1.981, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.506e-05, allocations: 4.531 kB / 0.9514 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004679/0.004701, allocations: 4.314 MB / 0.9556 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0039/0.008614, allocations: 2.706 MB / 0.9583 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.008863, allocations: 12 kB / 0.9583 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.00904, allocations: 94.78 kB / 0.9584 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.01027, allocations: 0.5125 MB / 0.9589 GB, free: 92 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.01088, allocations: 455.3 kB / 0.9593 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00107/0.01196, allocations: 1.439 MB / 0.9607 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.01244, allocations: 418.9 kB / 0.9611 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.01295, allocations: 0.5178 MB / 0.9616 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.01353, allocations: 0.5797 MB / 0.9622 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.01367, allocations: 131.9 kB / 0.9623 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.01408, allocations: 307.8 kB / 0.9626 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001016/0.0151, allocations: 1.682 MB / 0.9642 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0004902/0.0156, allocations: 0.9547 MB / 0.9652 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.01575, allocations: 179.4 kB / 0.9654 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of FrontEnd: time 9.942e-05/0.01586, allocations: 55.5 kB / 0.9654 GB, free: 9.34 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 (200) * Number of variables: 200 (200) Notification: Performance of Bindings: time 0.003985/0.01985, allocations: 4.676 MB / 0.97 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0012/0.02106, allocations: 1.277 MB / 0.9712 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.002941/0.02401, allocations: 3.565 MB / 0.9747 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of simplify1: time 0.0002105/0.02423, allocations: 243.6 kB / 0.9749 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of Alias: time 0.00559/0.02982, allocations: 5.652 MB / 0.9805 GB, free: 9.012 MB / 0.7637 GB Notification: Performance of simplify2: time 0.0001459/0.02998, allocations: 179.7 kB / 0.9806 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of Detect States: time 0.0006711/0.03066, allocations: 0.7928 MB / 0.9814 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of Events: time 0.0003457/0.03101, allocations: 324.5 kB / 0.9817 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.0008722/0.03189, allocations: 0.9312 MB / 0.9826 GB, free: 6.73 MB / 0.7637 GB Notification: Performance of Causalize: time 0.004074/0.03597, allocations: 4.066 MB / 0.9866 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of After Index Reduction Inline: time 0.001782/0.03776, allocations: 2.136 MB / 0.9887 GB, free: 468 kB / 0.7637 GB Notification: Performance of Inline: time 0.004495/0.04227, allocations: 5.222 MB / 0.9938 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.00025/0.04253, allocations: 248 kB / 0.994 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of Cleanup: time 0.0001633/0.0427, allocations: 207.6 kB / 0.9942 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of Causalize: time 0.007285/0.04999, allocations: 7.112 MB / 1.001 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of Tearing: time 1.891e-05/0.05002, allocations: 4 kB / 1.001 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of Initialization: time 4.21e-07/0.05002, allocations: 0 / 1.001 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of Tearing: time 1.05e-05/0.05004, allocations: 3.938 kB / 1.001 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of Categorize: time 2.04e-05/0.05007, allocations: 8 kB / 1.001 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of Solve: time 0.001096/0.05117, allocations: 0.6905 MB / 1.002 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of Jacobian: time 2.795e-06/0.05118, allocations: 0 / 1.002 GB, free: 2.652 MB / 0.7794 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: ......... 4 * 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: .................... 12 (12) {proShaLenNor.decAng.tNext, proShaLenNor.eqnTim.tNext, proShaLenNor.locTim.tNext, proShaLenWes.decAng.tNext, proShaLenWes.eqnTim.tNext, proShaLenWes.locTim.tNext, proShaLenSou.decAng.tNext, proShaLenSou.eqnTim.tNext, proShaLenSou.locTim.tNext, proShaLenEas.decAng.tNext, proShaLenEas.eqnTim.tNext, proShaLenEas.locTim.tNext} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 24 (24) {proShaLenEas.solAzi.outsidePolarCircle, proShaLenSou.solAzi.outsidePolarCircle, proShaLenWes.solAzi.outsidePolarCircle, proShaLenNor.solAzi.outsidePolarCircle, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 160 (scalar:160, array:0, record:0) * Number of multi strong components: ............ 12 (algorithm:0, when:12, 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: ........... 252 (scalar:252, array:0, record:0) * Number of multi strong components: ............ 12 (algorithm:12, 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 7.791e-05/0.05126, allocations: 95.38 kB / 1.002 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of SimCode: time 0.003411/0.05467, allocations: 3.974 MB / 1.006 GB, free: 14.53 MB / 0.795 GB Notification: Performance of Templates: time 0.01575/0.07044, allocations: 11.33 MB / 1.017 GB, free: 3.262 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength -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.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.o Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength -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.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.o Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:151:31: error: use of undeclared identifier '_OMC_LIT5' tmpMeta1 = stringAppend(_OMC_LIT5,_start); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:152:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT6); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:153:40: error: use of undeclared identifier '_OMC_LIT7' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT7); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:169:71: error: use of undeclared identifier '_OMC_LIT8' _nexInd = omc_Modelica_Utilities_Strings_find(threadData, _lin, _OMC_LIT8, _nexInd + ((modelica_integer) 1), 1 /* true */); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:174:35: error: use of undeclared identifier '_OMC_LIT9' tmpMeta5 = stringAppend(_OMC_LIT9,_name); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:175:44: error: use of undeclared identifier '_OMC_LIT10' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT10); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:176:44: error: use of undeclared identifier '_OMC_LIT11' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT11); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:177:44: error: use of undeclared identifier '_OMC_LIT12' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT12); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:179:45: error: use of undeclared identifier '_OMC_LIT13' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT13); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:191:67: error: use of undeclared identifier '_OMC_LIT8' _nexInd = omc_Modelica_Utilities_Strings_find(threadData, _lin, _OMC_LIT8, _nexInd + ((modelica_integer) 1), 1 /* true */); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:196:32: error: use of undeclared identifier '_OMC_LIT9' tmpMeta15 = stringAppend(_OMC_LIT9,_name); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:197:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT10); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:198:42: error: use of undeclared identifier '_OMC_LIT11' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT11); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:199:42: error: use of undeclared identifier '_OMC_LIT12' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT12); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:201:42: error: use of undeclared identifier '_OMC_LIT13' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT13); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:245:113: error: use of undeclared identifier '_OMC_LIT14' _element = omc_Buildings_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT14, _OMC_LIT15, ((modelica_integer) 7)); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:245:125: error: use of undeclared identifier '_OMC_LIT15' _element = omc_Buildings_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT14, _OMC_LIT15, ((modelica_integer) 7)); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:252:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta1 = stringAppend(_OMC_LIT16,_element); ^ Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:253:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT17); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.o] Error 1