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.0009792/0.0009792, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009925/0.0009923, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.348 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.998/0.998, allocations: 143.2 MB / 435.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 11.98 kB / 0.517 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1683, allocations: 83.41 MB / 0.5985 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005164/0.1735, allocations: 4.468 MB / 0.6029 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4672/0.6407, allocations: 147 MB / 0.7464 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.642, allocations: 16 kB / 0.7464 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009378/0.643, allocations: 150.2 kB / 0.7466 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.6456, allocations: 0.496 MB / 0.747 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.6485, allocations: 0.771 MB / 0.7478 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.6509, allocations: 1.476 MB / 0.7492 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.6527, allocations: 1.004 MB / 0.7502 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.6537, allocations: 465.4 kB / 0.7507 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008326/0.6546, allocations: 0.4945 MB / 0.7512 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.6547, allocations: 31.38 kB / 0.7512 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.6557, allocations: 367.1 kB / 0.7515 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.656, allocations: 239.6 kB / 0.7518 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.6566, allocations: 0.5936 MB / 0.7523 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.6585, allocations: 1.7 MB / 0.754 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6585, allocations: 4 kB / 0.754 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6585, allocations: 0 / 0.754 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.208e-05/0.6586, allocations: 0 / 0.754 GB, free: 12.61 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.002762/0.6613, allocations: 1.463 MB / 0.7554 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6614, allocations: 8.031 kB / 0.7554 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.6624, allocations: 246.8 kB / 0.7557 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.6637, allocations: 0.88 MB / 0.7565 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/0.6638, allocations: 106.9 kB / 0.7566 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.664, allocations: 144 kB / 0.7568 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.6666, allocations: 1.436 MB / 0.7582 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.6666, allocations: 3.984 kB / 0.7582 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.6668, allocations: 56 kB / 0.7582 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.6668, allocations: 36 kB / 0.7583 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.6693, allocations: 1.518 MB / 0.7597 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00612/0.6754, allocations: 3.814 MB / 0.7635 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.6771, allocations: 0.9739 MB / 0.7644 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/0.6778, allocations: 398.8 kB / 0.7648 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.6779, allocations: 53.06 kB / 0.7649 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.679, allocations: 0.5787 MB / 0.7654 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.595e-06/0.679, allocations: 0 / 0.7654 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003704/0.6827, allocations: 1.489 MB / 0.7669 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.6828, allocations: 196.9 kB / 0.7671 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.6839, allocations: 0.7629 MB / 0.7678 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-05/0.684, allocations: 41.7 kB / 0.7678 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.6844, allocations: 0.5621 MB / 0.7684 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.6848, allocations: 343 kB / 0.7687 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.6849, allocations: 85.67 kB / 0.7688 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6851, allocations: 353.9 kB / 0.7691 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006911/0.6857, allocations: 370.4 kB / 0.7695 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007609/0.6865, allocations: 474.1 kB / 0.7699 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.688, allocations: 0.8313 MB / 0.7708 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.688, allocations: 0 / 0.7708 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002549/0.6906, allocations: 1.13 MB / 0.7719 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.6906, allocations: 8 kB / 0.7719 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.6906, allocations: 0 / 0.7719 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006425/0.6913, allocations: 88.77 kB / 0.772 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009499/0.6923, allocations: 227.7 kB / 0.7722 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.6944, allocations: 1.54 MB / 0.7737 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.6955, allocations: 118.1 kB / 0.7738 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.434e-05/0.6956, allocations: 47.97 kB / 0.7738 GB, free: 7.773 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.0006622/0.6962, allocations: 313.7 kB / 0.7741 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.6964, allocations: 102.7 kB / 0.7742 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/0.6996, allocations: 1.396 MB / 0.7756 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.6996, allocations: 12 kB / 0.7756 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6997, allocations: 4 kB / 0.7756 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.6997, allocations: 3.984 kB / 0.7756 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/0.704, allocations: 2.581 MB / 0.7781 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.704, allocations: 0 / 0.7781 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/0.7048, allocations: 199.7 kB / 0.7783 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005331/0.7053, allocations: 80.78 kB / 0.7784 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.7054, allocations: 27.98 kB / 0.7784 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.7073, allocations: 1.564 MB / 0.78 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7073, allocations: 3.938 kB / 0.78 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.7096, allocations: 1.175 MB / 0.7811 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/0.7103, allocations: 355.2 kB / 0.7814 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.7104, allocations: 23.94 kB / 0.7815 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007427/0.7111, allocations: 76.7 kB / 0.7815 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.7113, allocations: 72.89 kB / 0.7816 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/0.7114, allocations: 39.98 kB / 0.7816 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007928/0.7122, allocations: 0.5732 MB / 0.7822 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7122, allocations: 0 / 0.7822 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001206/0.7134, allocations: 406.6 kB / 0.7826 GB, free: 14.54 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.001588/0.715, allocations: 0.6062 MB / 0.7832 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002075/0.7171, allocations: 1.043 MB / 0.7842 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.7171, allocations: 4.062 kB / 0.7842 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.7182, allocations: 0.6172 MB / 0.7848 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.7197, allocations: 294.9 kB / 0.7851 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/0.725, allocations: 3.091 MB / 0.7881 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.7258, allocations: 1.158 MB / 0.7892 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005038/0.7263, allocations: 155.3 kB / 0.7894 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.7263, allocations: 0 / 0.7894 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.03244/0.7588, allocations: 23.66 MB / 0.8125 GB, free: 112 kB / 0.6231 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