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.0009761/0.0009763, allocations: 98.41 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001303, allocations: 184.2 kB / 16.92 MB, free: 6.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.48/1.48, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.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 1.006/1.006, allocations: 143.2 MB / 435.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 8 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1968, allocations: 83.41 MB / 0.5985 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005157/0.202, allocations: 3.783 MB / 0.6022 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5522/0.7543, allocations: 146.6 MB / 0.7453 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008678/0.7552, allocations: 19.09 kB / 0.7454 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.7558, allocations: 132.9 kB / 0.7455 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.7575, allocations: 399.5 kB / 0.7459 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.7599, allocations: 0.6997 MB / 0.7466 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.7615, allocations: 1.124 MB / 0.7477 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.7625, allocations: 0.6669 MB / 0.7483 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006531/0.7632, allocations: 316.4 kB / 0.7486 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/0.7637, allocations: 350.6 kB / 0.7489 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.7638, allocations: 21.5 kB / 0.749 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.7649, allocations: 367.6 kB / 0.7493 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.7651, allocations: 177.3 kB / 0.7495 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.7656, allocations: 442.9 kB / 0.7499 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.7671, allocations: 1.2 MB / 0.7511 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7671, allocations: 5.312 kB / 0.7511 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7671, allocations: 0 / 0.7511 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.689e-05/0.7672, allocations: 5.5 kB / 0.7511 GB, free: 14.97 MB / 0.5762 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.002195/0.7694, allocations: 1.177 MB / 0.7522 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.7694, allocations: 9.25 kB / 0.7522 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.7712, allocations: 310.5 kB / 0.7525 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.7723, allocations: 0.7296 MB / 0.7533 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.7724, allocations: 70 kB / 0.7533 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.7725, allocations: 95.97 kB / 0.7534 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.7746, allocations: 1.007 MB / 0.7544 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.7746, allocations: 0 / 0.7544 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.7747, allocations: 40 kB / 0.7544 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.7747, allocations: 20 kB / 0.7545 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.777, allocations: 1.235 MB / 0.7557 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004498/0.7815, allocations: 2.609 MB / 0.7582 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.784, allocations: 0.935 MB / 0.7591 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/0.7848, allocations: 343.3 kB / 0.7594 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-05/0.7848, allocations: 36.69 kB / 0.7595 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.7859, allocations: 491.1 kB / 0.76 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 2.615e-06/0.7859, allocations: 0 / 0.76 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.003613/0.7895, allocations: 1.252 MB / 0.7612 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.7896, allocations: 188.6 kB / 0.7614 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.7905, allocations: 0.6056 MB / 0.7619 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.7906, allocations: 37.7 kB / 0.762 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.791, allocations: 396.2 kB / 0.7624 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.7912, allocations: 260.3 kB / 0.7626 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/0.7913, allocations: 61.69 kB / 0.7627 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7915, allocations: 386.7 kB / 0.763 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.7922, allocations: 289.8 kB / 0.7633 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007814/0.793, allocations: 391.1 kB / 0.7637 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.7945, allocations: 0.6629 MB / 0.7643 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7945, allocations: 3.938 kB / 0.7643 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002313/0.7968, allocations: 0.8918 MB / 0.7652 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.7968, allocations: 4 kB / 0.7652 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.7968, allocations: 4 kB / 0.7652 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/0.7975, allocations: 88.73 kB / 0.7653 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000787/0.7983, allocations: 167.8 kB / 0.7655 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.8003, allocations: 1.527 MB / 0.767 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009503/0.8013, allocations: 107.5 kB / 0.7671 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-05/0.8014, allocations: 35.97 kB / 0.7671 GB, free: 14.61 MB / 0.5919 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.0005932/0.802, allocations: 257.6 kB / 0.7673 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.8021, allocations: 79 kB / 0.7674 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/0.8049, allocations: 1.121 MB / 0.7685 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.805, allocations: 12 kB / 0.7685 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.805, allocations: 4 kB / 0.7685 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.805, allocations: 3.984 kB / 0.7685 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/0.8089, allocations: 2.035 MB / 0.7705 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8089, allocations: 4 kB / 0.7705 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007368/0.8096, allocations: 171.8 kB / 0.7707 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/0.8102, allocations: 80.78 kB / 0.7708 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.8103, allocations: 19.98 kB / 0.7708 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.8121, allocations: 1.556 MB / 0.7723 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8121, allocations: 4.031 kB / 0.7723 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.8146, allocations: 1.031 MB / 0.7733 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.815, allocations: 275.7 kB / 0.7736 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.8151, allocations: 16 kB / 0.7736 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/0.8158, allocations: 93.39 kB / 0.7737 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.816, allocations: 64.91 kB / 0.7737 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.8161, allocations: 31.98 kB / 0.7738 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005601/0.8166, allocations: 435 kB / 0.7742 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8166, allocations: 3.938 kB / 0.7742 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00102/0.8177, allocations: 311.2 kB / 0.7745 GB, free: 6.789 MB / 0.5919 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.001463/0.8191, allocations: 0.5977 MB / 0.7751 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.8212, allocations: 0.8702 MB / 0.7759 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.8213, allocations: 0 / 0.7759 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.8224, allocations: 0.547 MB / 0.7764 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.8238, allocations: 271.8 kB / 0.7767 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/0.8283, allocations: 2.322 MB / 0.779 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.8289, allocations: 1.027 MB / 0.78 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.8292, allocations: 111.4 kB / 0.7801 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.8293, allocations: 0 / 0.7801 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of Templates: time 0.02541/0.8547, allocations: 18.11 MB / 0.7978 GB, free: 15.13 MB / 0.6231 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++14 -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