Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.0009359/0.0009359, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.07 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.8032/0.8032, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 69.42 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.139, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.007618/0.1466, allocations: 7.072 MB / 0.6832 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4689/0.6155, allocations: 151.9 MB / 0.8316 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.6171, allocations: 27.97 kB / 0.8316 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.6182, allocations: 299.4 kB / 0.8319 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.6209, allocations: 0.7453 MB / 0.8326 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.6241, allocations: 1.517 MB / 0.8341 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003495/0.6276, allocations: 3.113 MB / 0.8371 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00307/0.6307, allocations: 2.476 MB / 0.8395 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.6328, allocations: 1.532 MB / 0.841 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.6348, allocations: 1.701 MB / 0.8427 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004867/0.6353, allocations: 0.498 MB / 0.8432 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.6366, allocations: 0.8848 MB / 0.8441 GB, free: 1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000648/0.6373, allocations: 0.9778 MB / 0.845 GB, free: 148 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.6386, allocations: 1.773 MB / 0.8467 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004673/0.6433, allocations: 5.586 MB / 0.8522 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.6433, allocations: 3.938 kB / 0.8522 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6433, allocations: 0 / 0.8522 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.103e-05/0.6434, allocations: 0 / 0.8522 GB, free: 9.52 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.006534/0.6499, allocations: 3.404 MB / 0.8555 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.65, allocations: 12.03 kB / 0.8555 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/0.6643, allocations: 2.193 MB / 0.8577 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/0.6672, allocations: 1.65 MB / 0.8593 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.6674, allocations: 245.5 kB / 0.8595 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/0.6678, allocations: 316 kB / 0.8598 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009572/0.6774, allocations: 4.266 MB / 0.864 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.786e-05/0.6775, allocations: 4 kB / 0.864 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003029/0.6778, allocations: 132 kB / 0.8641 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.334e-05/0.6779, allocations: 76 kB / 0.8642 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.6908, allocations: 4.982 MB / 0.8691 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.708, allocations: 10.21 MB / 0.879 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008728/0.7167, allocations: 3.069 MB / 0.882 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004423/0.7212, allocations: 1.627 MB / 0.8836 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007015/0.7219, allocations: 0.5113 MB / 0.8841 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004832/0.7268, allocations: 1.901 MB / 0.886 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=222): time 3.978e-06/0.7268, allocations: 0 / 0.886 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of matching and sorting (n=222): time 0.01434/0.7411, allocations: 4.747 MB / 0.8906 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7413, allocations: 217.8 kB / 0.8908 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.7427, allocations: 1.167 MB / 0.892 GB, free: 328 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.7429, allocations: 61.7 kB / 0.892 GB, free: 260 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007588/0.7437, allocations: 1.062 MB / 0.893 GB, free: 15.17 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005507/0.7443, allocations: 0.7275 MB / 0.8938 GB, free: 14.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000716/0.745, allocations: 415.1 kB / 0.8942 GB, free: 14.03 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.7451, allocations: 309.1 kB / 0.8945 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004192/0.7493, allocations: 1.359 MB / 0.8958 GB, free: 12.36 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/0.7537, allocations: 1.547 MB / 0.8973 GB, free: 10.79 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008385/0.7621, allocations: 2.872 MB / 0.9001 GB, free: 7.902 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.7621, allocations: 0 / 0.9001 GB, free: 7.902 MB / 0.67 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.009948/0.772, allocations: 3.366 MB / 0.9034 GB, free: 4.523 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.7721, allocations: 11.94 kB / 0.9034 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.7721, allocations: 0 / 0.9034 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005472/0.7727, allocations: 100.6 kB / 0.9035 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/0.7763, allocations: 0.6318 MB / 0.9041 GB, free: 3.781 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.7782, allocations: 1.622 MB / 0.9057 GB, free: 2.016 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/0.7811, allocations: 376.5 kB / 0.906 GB, free: 1.648 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/0.7813, allocations: 111.8 kB / 0.9062 GB, free: 1.539 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (248): * Single equations (assignments): 247 * 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.001132/0.7825, allocations: 0.5513 MB / 0.9067 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.7829, allocations: 177.8 kB / 0.9069 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.7942, allocations: 3.957 MB / 0.9107 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.7942, allocations: 28 kB / 0.9108 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.7942, allocations: 4 kB / 0.9108 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.7942, allocations: 11.95 kB / 0.9108 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.8086, allocations: 7.144 MB / 0.9177 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.8087, allocations: 0 / 0.9177 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003387/0.812, allocations: 0.5929 MB / 0.9183 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004172/0.8125, allocations: 88.69 kB / 0.9184 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.8127, allocations: 71.92 kB / 0.9185 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.8144, allocations: 1.662 MB / 0.9201 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8144, allocations: 0 / 0.9201 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009878/0.8243, allocations: 3.435 MB / 0.9235 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.8254, allocations: 0.6308 MB / 0.9241 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/0.8257, allocations: 51.75 kB / 0.9241 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/0.8283, allocations: 255.8 kB / 0.9244 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/0.8286, allocations: 145.7 kB / 0.9245 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/0.8288, allocations: 95.91 kB / 0.9246 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001116/0.83, allocations: 0.8783 MB / 0.9255 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/0.83, allocations: 0 / 0.9255 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001808/0.8318, allocations: 0.7703 MB / 0.9262 GB, free: 12.69 MB / 0.7012 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 (240): * Single equations (assignments): 237 * 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.001454/0.8332, allocations: 0.6447 MB / 0.9268 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009661/0.8429, allocations: 3.362 MB / 0.9301 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8429, allocations: 0 / 0.9301 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00495/0.8479, allocations: 1.857 MB / 0.9319 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.8498, allocations: 390.3 kB / 0.9323 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.8613, allocations: 5.177 MB / 0.9374 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.8625, allocations: 1.645 MB / 0.939 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/0.8643, allocations: 303.1 kB / 0.9393 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of SimCode: time 1.473e-06/0.8643, allocations: 0 / 0.9393 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.06484/0.9292, allocations: 52.14 MB / 0.9902 GB, free: 11.34 MB / 0.7637 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.o] Error 1