Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 112.4 kB / 16.37 MB, free: 6.348 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.001263/0.001263, allocations: 188.7 kB / 17.3 MB, free: 5.895 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8103/0.8103, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 64.05 kB / 0.5961 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1336, allocations: 82.04 MB / 0.6762 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005204/0.1389, allocations: 4.182 MB / 0.6803 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4425/0.5814, allocations: 150.5 MB / 0.8273 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006855/0.5821, allocations: 17.12 kB / 0.8273 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.5827, allocations: 170.5 kB / 0.8275 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.5842, allocations: 472.1 kB / 0.8279 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.5859, allocations: 0.8122 MB / 0.8287 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.5871, allocations: 1.211 MB / 0.8299 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008458/0.5879, allocations: 0.7025 MB / 0.8306 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.5885, allocations: 464.2 kB / 0.831 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.589, allocations: 493.1 kB / 0.8315 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.5891, allocations: 119.6 kB / 0.8316 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.59, allocations: 481.7 kB / 0.8321 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.5902, allocations: 296.7 kB / 0.8324 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.5906, allocations: 0.5308 MB / 0.8329 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.5922, allocations: 1.662 MB / 0.8345 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5922, allocations: 0 / 0.8345 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5922, allocations: 1.031 kB / 0.8345 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.5922, allocations: 2.406 kB / 0.8345 GB, free: 7.738 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002099/0.5943, allocations: 1.388 MB / 0.8359 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5944, allocations: 9.812 kB / 0.8359 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.596, allocations: 297.4 kB / 0.8362 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5971, allocations: 0.7504 MB / 0.8369 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.5971, allocations: 71.73 kB / 0.837 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.5972, allocations: 87.84 kB / 0.837 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.5989, allocations: 1.008 MB / 0.838 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.599, allocations: 3.438 kB / 0.838 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.497e-05/0.599, allocations: 40.31 kB / 0.8381 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.5991, allocations: 22.94 kB / 0.8381 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.6011, allocations: 1.22 MB / 0.8393 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.605, allocations: 2.55 MB / 0.8418 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.6072, allocations: 0.9311 MB / 0.8427 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.6079, allocations: 347.2 kB / 0.843 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-05/0.608, allocations: 32.06 kB / 0.843 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008993/0.6089, allocations: 493.7 kB / 0.8435 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=75): time 2.454e-06/0.6089, allocations: 0 / 0.8435 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75): time 0.003364/0.6123, allocations: 1.231 MB / 0.8447 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.6124, allocations: 196.6 kB / 0.8449 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/0.6132, allocations: 0.5901 MB / 0.8455 GB, free: 196 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.582e-05/0.6132, allocations: 41.7 kB / 0.8455 GB, free: 148 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.6136, allocations: 404.1 kB / 0.8459 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.6138, allocations: 256.3 kB / 0.8462 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.614, allocations: 158.5 kB / 0.8463 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.6141, allocations: 378.7 kB / 0.8467 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006777/0.6148, allocations: 293.8 kB / 0.8469 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007678/0.6156, allocations: 390.5 kB / 0.8473 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.617, allocations: 0.6502 MB / 0.848 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.617, allocations: 0 / 0.848 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002234/0.6193, allocations: 0.8839 MB / 0.8488 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6193, allocations: 8.094 kB / 0.8488 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6193, allocations: 0 / 0.8488 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005377/0.6199, allocations: 80.77 kB / 0.8489 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.6206, allocations: 183.6 kB / 0.8491 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.6225, allocations: 1.622 MB / 0.8507 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.6233, allocations: 99.41 kB / 0.8508 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.6234, allocations: 41.53 kB / 0.8508 GB, free: 10.54 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004433/0.6238, allocations: 255.8 kB / 0.851 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.624, allocations: 83.05 kB / 0.8511 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.6265, allocations: 1.103 MB / 0.8522 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6266, allocations: 8 kB / 0.8522 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6266, allocations: 3.938 kB / 0.8522 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.6266, allocations: 3.984 kB / 0.8522 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.6301, allocations: 2.04 MB / 0.8542 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6301, allocations: 0 / 0.8542 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.6308, allocations: 167.8 kB / 0.8544 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004104/0.6312, allocations: 74.66 kB / 0.8544 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.6313, allocations: 23.98 kB / 0.8545 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.6329, allocations: 1.662 MB / 0.8561 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.633, allocations: 0 / 0.8561 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.6351, allocations: 1.029 MB / 0.8571 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.6355, allocations: 263.8 kB / 0.8573 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.6356, allocations: 19.94 kB / 0.8574 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.6362, allocations: 74.73 kB / 0.8574 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.6364, allocations: 56.92 kB / 0.8575 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.6364, allocations: 39.97 kB / 0.8575 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004921/0.6369, allocations: 439 kB / 0.8579 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6369, allocations: 0 / 0.8579 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007843/0.6377, allocations: 303.2 kB / 0.8582 GB, free: 2.66 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.6389, allocations: 0.5804 MB / 0.8588 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.6408, allocations: 0.8747 MB / 0.8596 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6408, allocations: 0 / 0.8596 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6419, allocations: 0.5393 MB / 0.8602 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.643, allocations: 307.1 kB / 0.8605 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.6466, allocations: 1.812 MB / 0.8622 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.6471, allocations: 1.027 MB / 0.8632 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.6474, allocations: 115.4 kB / 0.8633 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of SimCode: time 7.12e-07/0.6474, allocations: 0 / 0.8633 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of Templates: time 0.02072/0.6682, allocations: 18.24 MB / 0.8812 GB, free: 11.34 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.o] Error 1