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.001209/0.001209, allocations: 104.7 kB / 16.4 MB, free: 6.465 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.001187/0.001188, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.09 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.8047/0.8047, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 56.12 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.139, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.008646/0.1477, allocations: 7.076 MB / 0.6832 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5276/0.6753, allocations: 151.9 MB / 0.8316 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.6764, allocations: 32.34 kB / 0.8316 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009356/0.6774, allocations: 284.2 kB / 0.8319 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.68, allocations: 0.7346 MB / 0.8326 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.683, allocations: 1.508 MB / 0.8341 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002909/0.6859, allocations: 3.117 MB / 0.8371 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.6884, allocations: 2.475 MB / 0.8395 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.6899, allocations: 1.534 MB / 0.841 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.6915, allocations: 1.702 MB / 0.8427 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004647/0.692, allocations: 0.4986 MB / 0.8432 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.6931, allocations: 0.879 MB / 0.844 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006302/0.6937, allocations: 0.9766 MB / 0.845 GB, free: 164 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.6949, allocations: 1.773 MB / 0.8467 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004415/0.6994, allocations: 5.584 MB / 0.8522 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6994, allocations: 0 / 0.8522 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6994, allocations: 3.938 kB / 0.8522 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.72e-05/0.6994, allocations: 0 / 0.8522 GB, free: 9.543 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.006027/0.7055, allocations: 3.412 MB / 0.8555 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.7055, allocations: 8.031 kB / 0.8555 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0154/0.7209, allocations: 2.193 MB / 0.8577 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.7235, allocations: 1.65 MB / 0.8593 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.7236, allocations: 246.6 kB / 0.8595 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004487/0.7241, allocations: 316.6 kB / 0.8598 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008946/0.733, allocations: 4.262 MB / 0.864 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/0.7331, allocations: 4 kB / 0.864 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.7334, allocations: 136 kB / 0.8641 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/0.7335, allocations: 83.75 kB / 0.8642 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.7462, allocations: 4.978 MB / 0.869 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/0.7634, allocations: 10.2 MB / 0.879 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008416/0.7719, allocations: 3.078 MB / 0.882 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004195/0.7761, allocations: 1.627 MB / 0.8836 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007244/0.7768, allocations: 0.5111 MB / 0.8841 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004609/0.7814, allocations: 1.901 MB / 0.8859 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=222): time 3.616e-06/0.7814, allocations: 0 / 0.8859 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of matching and sorting (n=222): time 0.01424/0.7957, allocations: 4.747 MB / 0.8906 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.7958, allocations: 209.9 kB / 0.8908 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.7974, allocations: 1.171 MB / 0.8919 GB, free: 352 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002079/0.7976, allocations: 65.7 kB / 0.892 GB, free: 280 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000794/0.7984, allocations: 1.062 MB / 0.893 GB, free: 15.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006282/0.799, allocations: 0.7198 MB / 0.8937 GB, free: 14.46 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007285/0.7997, allocations: 419.1 kB / 0.8941 GB, free: 14.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.7999, allocations: 305.1 kB / 0.8944 GB, free: 13.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004015/0.8039, allocations: 1.359 MB / 0.8957 GB, free: 12.39 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/0.8081, allocations: 1.551 MB / 0.8973 GB, free: 10.82 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008023/0.8161, allocations: 2.86 MB / 0.9001 GB, free: 7.938 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8161, allocations: 3.938 kB / 0.9001 GB, free: 7.934 MB / 0.67 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.009662/0.8258, allocations: 3.378 MB / 0.9034 GB, free: 4.543 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.8258, allocations: 7.938 kB / 0.9034 GB, free: 4.535 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.8258, allocations: 0 / 0.9034 GB, free: 4.535 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/0.8264, allocations: 96.81 kB / 0.9035 GB, free: 4.438 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/0.8302, allocations: 0.6241 MB / 0.9041 GB, free: 3.812 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.8322, allocations: 1.634 MB / 0.9057 GB, free: 2.039 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/0.835, allocations: 379.6 kB / 0.906 GB, free: 1.668 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.8353, allocations: 107.8 kB / 0.9061 GB, free: 1.562 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.001087/0.8364, allocations: 0.5554 MB / 0.9067 GB, free: 1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/0.8367, allocations: 173.8 kB / 0.9068 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/0.8475, allocations: 3.966 MB / 0.9107 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.8475, allocations: 24 kB / 0.9107 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8475, allocations: 0 / 0.9107 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.8475, allocations: 14.2 kB / 0.9107 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.8611, allocations: 7.144 MB / 0.9177 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.8612, allocations: 4 kB / 0.9177 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003445/0.8646, allocations: 0.589 MB / 0.9183 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/0.8651, allocations: 80.77 kB / 0.9184 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.8653, allocations: 79.91 kB / 0.9185 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.867, allocations: 1.654 MB / 0.9201 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8671, allocations: 3.938 kB / 0.9201 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00917/0.8762, allocations: 3.439 MB / 0.9234 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009824/0.8772, allocations: 0.6269 MB / 0.924 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.8775, allocations: 55.81 kB / 0.9241 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/0.8801, allocations: 255.7 kB / 0.9243 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/0.8804, allocations: 153.7 kB / 0.9245 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/0.8805, allocations: 91.92 kB / 0.9246 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001078/0.8816, allocations: 0.8744 MB / 0.9254 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8816, allocations: 0 / 0.9254 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001669/0.8833, allocations: 0.7742 MB / 0.9262 GB, free: 12.71 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.001348/0.8847, allocations: 0.6392 MB / 0.9268 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008877/0.8936, allocations: 3.366 MB / 0.9301 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8936, allocations: 0 / 0.9301 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004478/0.8981, allocations: 1.857 MB / 0.9319 GB, free: 7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.8995, allocations: 387.8 kB / 0.9323 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009752/0.9093, allocations: 5.181 MB / 0.9373 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.9104, allocations: 1.641 MB / 0.9389 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/0.9117, allocations: 307.1 kB / 0.9392 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.9117, allocations: 0 / 0.9392 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of Templates: time 0.05766/0.9694, allocations: 52.14 MB / 0.9902 GB, free: 11.36 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