Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 109.7 kB / 16.41 MB, free: 6.449 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.001498/0.001498, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 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.8738/0.8738, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 63.67 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1638, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.0069/0.1707, allocations: 4.917 MB / 0.6811 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5461/0.7169, allocations: 151.4 MB / 0.8289 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008334/0.7177, allocations: 16.41 kB / 0.8289 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007076/0.7184, allocations: 199.4 kB / 0.8291 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.7202, allocations: 0.595 MB / 0.8297 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.7224, allocations: 0.8958 MB / 0.8305 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.7241, allocations: 1.593 MB / 0.8321 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.7253, allocations: 0.777 MB / 0.8329 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.7261, allocations: 0.6966 MB / 0.8335 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/0.727, allocations: 0.7333 MB / 0.8343 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.7272, allocations: 174.9 kB / 0.8344 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008658/0.728, allocations: 0.5394 MB / 0.8349 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.7284, allocations: 416.4 kB / 0.8353 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.7291, allocations: 0.784 MB / 0.8361 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.7318, allocations: 2.302 MB / 0.8384 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7318, allocations: 2.594 kB / 0.8384 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7318, allocations: 0 / 0.8384 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.965e-05/0.7318, allocations: 4 kB / 0.8384 GB, free: 4.84 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003229/0.735, allocations: 1.832 MB / 0.8402 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.7351, allocations: 8.625 kB / 0.8402 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009842/0.736, allocations: 248.9 kB / 0.8404 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.7374, allocations: 0.9098 MB / 0.8413 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/0.7375, allocations: 105.5 kB / 0.8414 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.7376, allocations: 139.1 kB / 0.8415 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.74, allocations: 1.425 MB / 0.8429 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.7401, allocations: 0 / 0.8429 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.7402, allocations: 62.53 kB / 0.843 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.7402, allocations: 35.62 kB / 0.843 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.7426, allocations: 1.517 MB / 0.8445 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006066/0.7486, allocations: 3.736 MB / 0.8481 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.7503, allocations: 0.8951 MB / 0.849 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/0.751, allocations: 371.4 kB / 0.8494 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.7512, allocations: 49.08 kB / 0.8494 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.7523, allocations: 0.5713 MB / 0.85 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 4.729e-06/0.7523, allocations: 3.984 kB / 0.85 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=104): time 0.003834/0.7561, allocations: 1.486 MB / 0.8514 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.7563, allocations: 192.9 kB / 0.8516 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.7573, allocations: 0.7668 MB / 0.8524 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.108e-05/0.7574, allocations: 45.7 kB / 0.8524 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.7579, allocations: 0.5673 MB / 0.853 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.7583, allocations: 368.9 kB / 0.8533 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004177/0.7587, allocations: 214.8 kB / 0.8535 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002295/0.7589, allocations: 345.9 kB / 0.8538 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007086/0.7596, allocations: 362.4 kB / 0.8542 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/0.7605, allocations: 478.2 kB / 0.8546 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.7621, allocations: 0.8234 MB / 0.8554 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7621, allocations: 4 kB / 0.8555 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002596/0.7647, allocations: 1.119 MB / 0.8565 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.7647, allocations: 4 kB / 0.8565 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.7647, allocations: 4 kB / 0.8566 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/0.7653, allocations: 92.7 kB / 0.8566 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009402/0.7662, allocations: 219.7 kB / 0.8568 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.7685, allocations: 1.637 MB / 0.8584 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009228/0.7694, allocations: 115.2 kB / 0.8586 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.7695, allocations: 47.95 kB / 0.8586 GB, free: 2.641 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 (125): * Single equations (assignments): 124 * 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.000634/0.7702, allocations: 318.6 kB / 0.8589 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.7704, allocations: 115.3 kB / 0.859 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.7737, allocations: 1.369 MB / 0.8604 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.7737, allocations: 15.98 kB / 0.8604 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.7737, allocations: 7.938 kB / 0.8604 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.7737, allocations: 3.984 kB / 0.8604 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/0.7781, allocations: 2.56 MB / 0.8629 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.7781, allocations: 0 / 0.8629 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/0.7789, allocations: 191.8 kB / 0.8631 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004388/0.7793, allocations: 76.73 kB / 0.8631 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-05/0.7794, allocations: 33.47 kB / 0.8632 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.7816, allocations: 1.681 MB / 0.8648 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7816, allocations: 0 / 0.8648 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.7841, allocations: 1.174 MB / 0.866 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/0.7846, allocations: 324 kB / 0.8663 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.7848, allocations: 27.89 kB / 0.8663 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/0.7855, allocations: 60.64 kB / 0.8664 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.7856, allocations: 77.03 kB / 0.8664 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.4e-05/0.7857, allocations: 47.97 kB / 0.8665 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008921/0.7866, allocations: 0.5693 MB / 0.867 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7866, allocations: 0 / 0.867 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001269/0.7879, allocations: 406.7 kB / 0.8674 GB, free: 9.355 MB / 0.6387 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 (115): * Single equations (assignments): 112 * 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.00204/0.7899, allocations: 0.6124 MB / 0.868 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002327/0.7923, allocations: 0.9951 MB / 0.869 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7923, allocations: 3.938 kB / 0.869 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.7934, allocations: 0.5706 MB / 0.8695 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.7948, allocations: 322.6 kB / 0.8699 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.8001, allocations: 2.414 MB / 0.8722 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009025/0.801, allocations: 1.161 MB / 0.8733 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/0.8016, allocations: 151.3 kB / 0.8735 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of SimCode: time 1.193e-06/0.8016, allocations: 0 / 0.8735 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.03575/0.8373, allocations: 24.02 MB / 0.8969 GB, free: 11.26 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.o] Error 1