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.001458/0.001458, allocations: 104 kB / 16.41 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.00161/0.00161, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 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.9031/0.9031, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.39 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1772, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007225/0.1845, allocations: 4.182 MB / 0.6804 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6105/0.795, allocations: 150.5 MB / 0.8274 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/0.7959, allocations: 22.19 kB / 0.8274 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.7964, allocations: 168.6 kB / 0.8275 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.7981, allocations: 472.9 kB / 0.828 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.8001, allocations: 0.81 MB / 0.8288 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.8014, allocations: 1.217 MB / 0.83 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000947/0.8024, allocations: 0.701 MB / 0.8307 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006277/0.803, allocations: 470.4 kB / 0.8311 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.8035, allocations: 489.9 kB / 0.8316 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.8037, allocations: 116.9 kB / 0.8317 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009494/0.8047, allocations: 488.4 kB / 0.8322 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.8049, allocations: 291.6 kB / 0.8324 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004343/0.8054, allocations: 0.5362 MB / 0.833 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.8074, allocations: 1.656 MB / 0.8346 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8074, allocations: 2.625 kB / 0.8346 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8074, allocations: 0 / 0.8346 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.8074, allocations: 4 kB / 0.8346 GB, free: 7.652 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.002301/0.8097, allocations: 1.391 MB / 0.8359 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8098, allocations: 9.562 kB / 0.8359 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.8116, allocations: 293.2 kB / 0.8362 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.8128, allocations: 0.7547 MB / 0.837 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.8128, allocations: 67.75 kB / 0.837 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.813, allocations: 85.84 kB / 0.8371 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.8148, allocations: 1.01 MB / 0.8381 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.8149, allocations: 0 / 0.8381 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.815, allocations: 41.78 kB / 0.8381 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.815, allocations: 26.81 kB / 0.8382 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.8176, allocations: 1.22 MB / 0.8393 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004356/0.8219, allocations: 2.546 MB / 0.8418 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.8243, allocations: 0.9304 MB / 0.8427 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/0.825, allocations: 337.2 kB / 0.8431 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.61e-05/0.8251, allocations: 35.3 kB / 0.8431 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009817/0.8261, allocations: 497.6 kB / 0.8436 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=75): time 1.743e-06/0.8261, allocations: 0 / 0.8436 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75): time 0.003484/0.8296, allocations: 1.232 MB / 0.8448 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.8297, allocations: 192.6 kB / 0.845 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.8305, allocations: 0.5979 MB / 0.8455 GB, free: 116 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.8305, allocations: 41.7 kB / 0.8456 GB, free: 68 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.8309, allocations: 408.1 kB / 0.846 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.8311, allocations: 240.4 kB / 0.8462 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.8314, allocations: 162.5 kB / 0.8464 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.8315, allocations: 382.7 kB / 0.8467 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00072/0.8323, allocations: 293.8 kB / 0.847 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000801/0.8331, allocations: 379.1 kB / 0.8474 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.8346, allocations: 0.658 MB / 0.848 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8346, allocations: 0 / 0.848 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00232/0.8369, allocations: 0.8839 MB / 0.8489 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.8369, allocations: 13.42 kB / 0.8489 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.837, allocations: 2.938 kB / 0.8489 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/0.8376, allocations: 80.88 kB / 0.849 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/0.8383, allocations: 179.7 kB / 0.8491 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.8405, allocations: 1.619 MB / 0.8507 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/0.8414, allocations: 103.4 kB / 0.8508 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.8415, allocations: 39.91 kB / 0.8509 GB, free: 10.46 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.0005253/0.842, allocations: 254.5 kB / 0.8511 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.8422, allocations: 83.06 kB / 0.8512 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.8451, allocations: 1.103 MB / 0.8523 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.8451, allocations: 8 kB / 0.8523 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8451, allocations: 3.938 kB / 0.8523 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.8452, allocations: 7.984 kB / 0.8523 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/0.8497, allocations: 2.036 MB / 0.8543 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8497, allocations: 0 / 0.8543 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/0.8505, allocations: 171.8 kB / 0.8544 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.8509, allocations: 64.8 kB / 0.8545 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/0.851, allocations: 23.98 kB / 0.8545 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.8532, allocations: 1.662 MB / 0.8561 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.8532, allocations: 0 / 0.8561 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.8557, allocations: 1.029 MB / 0.8571 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/0.8562, allocations: 255.8 kB / 0.8574 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.8564, allocations: 23.88 kB / 0.8574 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.8572, allocations: 76.91 kB / 0.8575 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.8574, allocations: 60.91 kB / 0.8575 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.012e-05/0.8575, allocations: 35.98 kB / 0.8576 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006661/0.8581, allocations: 435 kB / 0.858 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.933e-06/0.8581, allocations: 0 / 0.858 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001142/0.8593, allocations: 311.1 kB / 0.8583 GB, free: 2.586 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.002013/0.8613, allocations: 0.5964 MB / 0.8589 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002537/0.8639, allocations: 0.8708 MB / 0.8597 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.8639, allocations: 0 / 0.8597 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.8652, allocations: 0.5431 MB / 0.8602 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.8666, allocations: 310.4 kB / 0.8605 GB, free: 480 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.8712, allocations: 1.812 MB / 0.8623 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/0.872, allocations: 1.019 MB / 0.8633 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.8723, allocations: 119.3 kB / 0.8634 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/0.8723, allocations: 0 / 0.8634 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of Templates: time 0.02802/0.9004, allocations: 18.34 MB / 0.8813 GB, free: 11.16 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