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.006307/0.006307, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.00139/0.00139, allocations: 196 kB / 16.79 MB, free: 5.809 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.363/1.363, allocations: 222.9 MB / 240.5 MB, free: 4.551 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 0.9769/0.9769, allocations: 143 MB / 433.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 0.5141 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1905, allocations: 82.03 MB / 0.5942 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006587/0.1972, allocations: 4.907 MB / 0.599 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5689/0.7661, allocations: 148.6 MB / 0.7441 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.7671, allocations: 22.16 kB / 0.7442 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.7678, allocations: 150.5 kB / 0.7443 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.7696, allocations: 0.4963 MB / 0.7448 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.7716, allocations: 0.781 MB / 0.7456 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.7731, allocations: 1.471 MB / 0.747 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.7744, allocations: 1.034 MB / 0.748 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009219/0.7753, allocations: 0.6093 MB / 0.7486 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007696/0.7761, allocations: 0.6859 MB / 0.7493 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.7763, allocations: 104.7 kB / 0.7494 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.7773, allocations: 443.6 kB / 0.7498 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.7777, allocations: 349.1 kB / 0.7501 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006219/0.7783, allocations: 0.7068 MB / 0.7508 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.78, allocations: 1.742 MB / 0.7525 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.78, allocations: 0 / 0.7525 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.78, allocations: 0 / 0.7525 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.78, allocations: 0 / 0.7525 GB, free: 11.52 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.003157/0.7832, allocations: 1.783 MB / 0.7543 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7832, allocations: 12.03 kB / 0.7543 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.7843, allocations: 238.8 kB / 0.7545 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.7855, allocations: 0.8878 MB / 0.7554 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.7856, allocations: 103.6 kB / 0.7555 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.7858, allocations: 140 kB / 0.7556 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.7881, allocations: 1.428 MB / 0.757 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.7881, allocations: 0 / 0.757 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.7883, allocations: 60 kB / 0.757 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.7883, allocations: 36 kB / 0.7571 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.7907, allocations: 1.509 MB / 0.7586 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005923/0.7966, allocations: 3.78 MB / 0.7622 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.7982, allocations: 0.9617 MB / 0.7632 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006664/0.7989, allocations: 401.7 kB / 0.7636 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-05/0.799, allocations: 44.83 kB / 0.7636 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.8001, allocations: 0.5826 MB / 0.7642 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 2.535e-06/0.8001, allocations: 0 / 0.7642 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=104): time 0.00378/0.8039, allocations: 1.481 MB / 0.7656 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.804, allocations: 192.9 kB / 0.7658 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.8051, allocations: 0.7629 MB / 0.7666 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.641e-05/0.8052, allocations: 41.7 kB / 0.7666 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.8056, allocations: 0.5543 MB / 0.7671 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.8059, allocations: 346.9 kB / 0.7675 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.8063, allocations: 214.7 kB / 0.7677 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.8064, allocations: 353.9 kB / 0.768 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.8071, allocations: 358.4 kB / 0.7684 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007679/0.8079, allocations: 474.2 kB / 0.7688 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.8094, allocations: 0.8273 MB / 0.7696 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8094, allocations: 0 / 0.7696 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002427/0.8118, allocations: 1.114 MB / 0.7707 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.8118, allocations: 8 kB / 0.7707 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8118, allocations: 0 / 0.7707 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/0.8125, allocations: 96.22 kB / 0.7708 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000959/0.8134, allocations: 223.7 kB / 0.771 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.8155, allocations: 1.529 MB / 0.7725 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008962/0.8164, allocations: 107 kB / 0.7726 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/0.8165, allocations: 51.95 kB / 0.7727 GB, free: 6.375 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.0006039/0.8171, allocations: 313.7 kB / 0.773 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.8173, allocations: 102.7 kB / 0.7731 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.8204, allocations: 1.383 MB / 0.7744 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.8204, allocations: 12 kB / 0.7744 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8204, allocations: 3.984 kB / 0.7744 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.8204, allocations: 7.984 kB / 0.7744 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.8245, allocations: 2.573 MB / 0.7769 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.8246, allocations: 3.938 kB / 0.7769 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/0.8254, allocations: 191.7 kB / 0.7771 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000536/0.8259, allocations: 84.77 kB / 0.7772 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/0.826, allocations: 27.98 kB / 0.7772 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.8279, allocations: 1.563 MB / 0.7788 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8279, allocations: 0 / 0.7788 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.8302, allocations: 1.171 MB / 0.7799 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/0.8307, allocations: 315.4 kB / 0.7802 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.8309, allocations: 35.83 kB / 0.7802 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.8316, allocations: 51.95 kB / 0.7803 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.8317, allocations: 80.89 kB / 0.7804 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.926e-05/0.8318, allocations: 39.97 kB / 0.7804 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007635/0.8326, allocations: 0.5693 MB / 0.781 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.7e-07/0.8326, allocations: 4 kB / 0.781 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001098/0.8337, allocations: 402.7 kB / 0.7813 GB, free: 13.21 MB / 0.6075 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.00147/0.8352, allocations: 0.6019 MB / 0.7819 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.8372, allocations: 1.039 MB / 0.783 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8373, allocations: 4 kB / 0.783 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.8383, allocations: 0.6057 MB / 0.7835 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.8396, allocations: 291.7 kB / 0.7838 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/0.8447, allocations: 3.026 MB / 0.7868 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.8454, allocations: 1.166 MB / 0.7879 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.8458, allocations: 147.3 kB / 0.7881 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/0.8458, allocations: 0 / 0.7881 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of Templates: time 0.02955/0.8754, allocations: 23.83 MB / 0.8113 GB, free: 14.71 MB / 0.6387 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++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.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