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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001642/0.001642, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001785/0.001785, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.588/1.588, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9124/0.9124, allocations: 143.3 MB / 434.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 67.89 kB / 0.5151 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3345, allocations: 82.04 MB / 0.5952 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006258/0.3408, allocations: 4.9 MB / 0.6 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1771/0.5179, allocations: 150.9 MB / 0.7473 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000919/0.5188, allocations: 23.88 kB / 0.7474 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.5197, allocations: 186.1 kB / 0.7475 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.5219, allocations: 0.5886 MB / 0.7481 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.5244, allocations: 0.891 MB / 0.749 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.5265, allocations: 1.573 MB / 0.7505 GB, free: 464 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3017/0.8283, allocations: 1.057 MB / 0.7516 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.8296, allocations: 0.6826 MB / 0.7522 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.831, allocations: 0.738 MB / 0.7529 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003603/0.8314, allocations: 175.1 kB / 0.7531 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.8324, allocations: 0.503 MB / 0.7536 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.8327, allocations: 424.5 kB / 0.754 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000703/0.8334, allocations: 0.7774 MB / 0.7548 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.8363, allocations: 2.249 MB / 0.757 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8363, allocations: 0 / 0.757 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8363, allocations: 0 / 0.757 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.035e-05/0.8364, allocations: 0.875 kB / 0.757 GB, free: 2.082 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003302/0.8397, allocations: 1.784 MB / 0.7587 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.8397, allocations: 11 kB / 0.7587 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.8408, allocations: 234.4 kB / 0.7589 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.842, allocations: 0.88 MB / 0.7598 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.111e-05/0.8422, allocations: 110.8 kB / 0.7599 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.8423, allocations: 136.3 kB / 0.76 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.8447, allocations: 1.433 MB / 0.7614 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.8448, allocations: 3.875 kB / 0.7614 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.8449, allocations: 63 kB / 0.7615 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.845, allocations: 34.88 kB / 0.7615 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.8476, allocations: 1.51 MB / 0.763 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006117/0.8537, allocations: 3.775 MB / 0.7667 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.8552, allocations: 0.953 MB / 0.7676 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000743/0.856, allocations: 402.3 kB / 0.768 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.8561, allocations: 55.77 kB / 0.7681 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.8572, allocations: 0.5788 MB / 0.7686 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 3.166e-06/0.8572, allocations: 0 / 0.7686 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=104): time 0.003564/0.8608, allocations: 1.473 MB / 0.7701 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.8609, allocations: 195.5 kB / 0.7703 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009262/0.8619, allocations: 0.7629 MB / 0.771 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.862, allocations: 49.17 kB / 0.771 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.8624, allocations: 0.559 MB / 0.7716 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.8627, allocations: 348.3 kB / 0.7719 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.863, allocations: 213.1 kB / 0.7721 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.8631, allocations: 350.5 kB / 0.7725 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/0.8638, allocations: 363.8 kB / 0.7728 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.8645, allocations: 471.9 kB / 0.7733 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.8659, allocations: 0.8323 MB / 0.7741 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8659, allocations: 0.9062 kB / 0.7741 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002324/0.8682, allocations: 1.111 MB / 0.7752 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.8682, allocations: 4.688 kB / 0.7752 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8683, allocations: 0.8438 kB / 0.7752 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.8689, allocations: 90.94 kB / 0.7752 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.8698, allocations: 222.5 kB / 0.7755 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.8723, allocations: 1.639 MB / 0.7771 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.8734, allocations: 119 kB / 0.7772 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.8735, allocations: 46.69 kB / 0.7772 GB, free: 12.43 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 (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.000671/0.8741, allocations: 321.3 kB / 0.7775 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.8744, allocations: 98.38 kB / 0.7776 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/0.8774, allocations: 1.386 MB / 0.779 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.8774, allocations: 12.84 kB / 0.779 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8774, allocations: 0.9688 kB / 0.779 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.8774, allocations: 9.469 kB / 0.779 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/0.8814, allocations: 2.564 MB / 0.7815 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8814, allocations: 0 / 0.7815 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/0.8822, allocations: 193.3 kB / 0.7817 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/0.8826, allocations: 73.42 kB / 0.7817 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.8827, allocations: 28.06 kB / 0.7818 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.8848, allocations: 1.675 MB / 0.7834 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.8848, allocations: 0 / 0.7834 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.8872, allocations: 1.175 MB / 0.7846 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.8877, allocations: 322.6 kB / 0.7849 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.8879, allocations: 32.94 kB / 0.7849 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007134/0.8886, allocations: 56.77 kB / 0.785 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.8888, allocations: 78.83 kB / 0.785 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.8889, allocations: 38.84 kB / 0.7851 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008059/0.8897, allocations: 0.5747 MB / 0.7856 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8897, allocations: 0 / 0.7856 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001129/0.8908, allocations: 396.8 kB / 0.786 GB, free: 9.77 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 (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.001876/0.8927, allocations: 0.6064 MB / 0.7866 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002897/0.8956, allocations: 1.294 MB / 0.7879 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8957, allocations: 0.8438 kB / 0.7879 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.8967, allocations: 0.6122 MB / 0.7885 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.898, allocations: 328.6 kB / 0.7888 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004873/0.9029, allocations: 2.396 MB / 0.7911 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.9038, allocations: 1.164 MB / 0.7922 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/0.9043, allocations: 147.4 kB / 0.7924 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of SimCode: time 1.483e-06/0.9043, allocations: 4.312 kB / 0.7924 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.03287/0.9371, allocations: 23.83 MB / 0.8157 GB, free: 12.32 MB / 0.6075 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