Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_10_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_10_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.001557/0.001557, allocations: 115.3 kB / 16.43 MB, free: 6.523 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.001595/0.001595, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.15 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.516/2.516, allocations: 437 MB / 0.7111 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.653e-05, allocations: 2.281 kB / 1.019 GB, free: 9.535 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005697/0.005733, allocations: 4.312 MB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005117/0.01087, allocations: 2.714 MB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009261/0.01181, allocations: 8 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.01223, allocations: 98.72 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.01466, allocations: 0.5184 MB / 1.027 GB, free: 1.855 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.01575, allocations: 447.3 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.01783, allocations: 1.44 MB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.01854, allocations: 418.8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009243/0.01947, allocations: 0.5177 MB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006759/0.02016, allocations: 0.5836 MB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.02032, allocations: 128 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006187/0.02095, allocations: 315.8 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001123/0.02208, allocations: 1.678 MB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0005084/0.0226, allocations: 0.9585 MB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.02282, allocations: 179.4 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0001917/0.02302, allocations: 51.5 kB / 1.033 GB, free: 11.11 MB / 0.8106 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.00398/0.027, allocations: 4.671 MB / 1.038 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.001385/0.0284, allocations: 1.283 MB / 1.039 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.003133/0.03154, allocations: 3.549 MB / 1.042 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of simplify1: time 0.0002672/0.03182, allocations: 247.6 kB / 1.043 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of Alias: time 0.006774/0.0386, allocations: 5.655 MB / 1.048 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simplify2: time 0.0002603/0.03889, allocations: 187.7 kB / 1.048 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of Detect States: time 0.001112/0.04001, allocations: 0.7928 MB / 1.049 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of Events: time 0.0004358/0.04046, allocations: 332.4 kB / 1.049 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.001019/0.04149, allocations: 0.9195 MB / 1.05 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of Causalize: time 0.004529/0.04602, allocations: 4.069 MB / 1.054 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.002082/0.04812, allocations: 2.132 MB / 1.056 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of Inline: time 0.007323/0.05545, allocations: 5.71 MB / 1.062 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002999/0.05577, allocations: 244 kB / 1.062 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0002032/0.05598, allocations: 207.7 kB / 1.062 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of Causalize: time 0.008312/0.0643, allocations: 7.108 MB / 1.069 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of Tearing: time 2.32e-05/0.06434, allocations: 3.938 kB / 1.069 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of Initialization: time 9.92e-07/0.06435, allocations: 4 kB / 1.069 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of Tearing: time 1.467e-05/0.06437, allocations: 4 kB / 1.069 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of Categorize: time 4.305e-05/0.06442, allocations: 7.938 kB / 1.069 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of Solve: time 0.001378/0.0658, allocations: 0.6944 MB / 1.07 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of Jacobian: time 4.418e-06/0.06582, allocations: 0 / 1.07 GB, free: 3.973 MB / 0.8419 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 0.0001074/0.06593, allocations: 74.66 kB / 1.07 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of SimCode: time 0.6674/0.7333, allocations: 3.993 MB / 1.074 GB, free: 44.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.03121/0.7646, allocations: 11.33 MB / 1.085 GB, free: 43.98 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.o Buildings_10_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_10_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_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.o Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:151:31: error: use of undeclared identifier '_OMC_LIT5' tmpMeta1 = stringAppend(_OMC_LIT5,_start); ^ Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:152:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT6); ^ Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:153:40: error: use of undeclared identifier '_OMC_LIT7' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT7); ^ Buildings_10_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_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:174:35: error: use of undeclared identifier '_OMC_LIT9' tmpMeta5 = stringAppend(_OMC_LIT9,_name); ^ Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:175:44: error: use of undeclared identifier '_OMC_LIT10' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT10); ^ Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:176:44: error: use of undeclared identifier '_OMC_LIT11' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT11); ^ Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:177:44: error: use of undeclared identifier '_OMC_LIT12' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT12); ^ Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:179:45: error: use of undeclared identifier '_OMC_LIT13' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT13); ^ Buildings_10_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_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:196:32: error: use of undeclared identifier '_OMC_LIT9' tmpMeta15 = stringAppend(_OMC_LIT9,_name); ^ Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:197:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT10); ^ Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:198:42: error: use of undeclared identifier '_OMC_LIT11' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT11); ^ Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:199:42: error: use of undeclared identifier '_OMC_LIT12' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT12); ^ Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:201:42: error: use of undeclared identifier '_OMC_LIT13' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT13); ^ Buildings_10_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_10_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_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.c:252:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta1 = stringAppend(_OMC_LIT16,_element); ^ Buildings_10_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_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_functions.o] Error 1