Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00769/0.00769, allocations: 100.8 kB / 15.87 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.001164/0.001165, allocations: 195.7 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.437/1.437, allocations: 222.9 MB / 240.5 MB, free: 4.535 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 1.037/1.037, allocations: 143 MB / 433.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.84 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1953, allocations: 82.03 MB / 0.5943 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006348/0.2017, allocations: 4.191 MB / 0.5984 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5302/0.7319, allocations: 148.3 MB / 0.7432 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009121/0.7329, allocations: 15.56 kB / 0.7432 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005868/0.7334, allocations: 136 kB / 0.7434 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.7352, allocations: 411.4 kB / 0.7437 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.7372, allocations: 0.691 MB / 0.7444 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.7385, allocations: 1.127 MB / 0.7455 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008411/0.7394, allocations: 0.6063 MB / 0.7461 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.7399, allocations: 380.9 kB / 0.7465 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.7404, allocations: 438.1 kB / 0.7469 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.7405, allocations: 51.69 kB / 0.7469 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000856/0.7413, allocations: 398.3 kB / 0.7473 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.7416, allocations: 223.3 kB / 0.7475 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.742, allocations: 461.9 kB / 0.748 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.7432, allocations: 1.17 MB / 0.7491 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.7432, allocations: 0.7812 kB / 0.7491 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7432, allocations: 0 / 0.7491 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.7432, allocations: 1.312 kB / 0.7491 GB, free: 14.77 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002421/0.7456, allocations: 1.346 MB / 0.7504 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.7457, allocations: 12.03 kB / 0.7504 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009774/0.7467, allocations: 179.5 kB / 0.7506 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.7478, allocations: 0.7114 MB / 0.7513 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.7478, allocations: 62.56 kB / 0.7514 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/0.7479, allocations: 83.98 kB / 0.7515 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.7495, allocations: 0.8833 MB / 0.7523 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.7495, allocations: 0 / 0.7523 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.252e-05/0.7496, allocations: 36 kB / 0.7523 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.7496, allocations: 20.94 kB / 0.7524 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.7513, allocations: 1.097 MB / 0.7534 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.7552, allocations: 2.496 MB / 0.7559 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.7565, allocations: 0.7336 MB / 0.7566 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/0.757, allocations: 280.6 kB / 0.7569 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.881e-05/0.7571, allocations: 36.59 kB / 0.7569 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008805/0.758, allocations: 455.1 kB / 0.7573 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.675e-06/0.758, allocations: 0 / 0.7573 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.003114/0.7612, allocations: 1.112 MB / 0.7584 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/0.7613, allocations: 192.6 kB / 0.7586 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007372/0.762, allocations: 0.5979 MB / 0.7592 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/0.7621, allocations: 37.7 kB / 0.7592 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.7624, allocations: 384.2 kB / 0.7596 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.7626, allocations: 252.3 kB / 0.7598 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.7628, allocations: 158.5 kB / 0.76 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.763, allocations: 378.8 kB / 0.7603 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.7635, allocations: 257.8 kB / 0.7606 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.7641, allocations: 346.4 kB / 0.7609 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.7651, allocations: 0.5876 MB / 0.7615 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.7652, allocations: 4 kB / 0.7615 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001841/0.767, allocations: 0.8099 MB / 0.7623 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.767, allocations: 4 kB / 0.7623 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.7671, allocations: 0.6562 kB / 0.7623 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.7677, allocations: 88.77 kB / 0.7624 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.7683, allocations: 155.8 kB / 0.7625 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.7704, allocations: 1.521 MB / 0.764 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/0.7711, allocations: 83.36 kB / 0.7641 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.7712, allocations: 35.98 kB / 0.7641 GB, free: 15.19 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 (89): * Single equations (assignments): 88 * 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.0004162/0.7716, allocations: 253.7 kB / 0.7644 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.7718, allocations: 78.97 kB / 0.7644 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.7741, allocations: 1.031 MB / 0.7654 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.7741, allocations: 11.38 kB / 0.7655 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7741, allocations: 7.938 kB / 0.7655 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.7742, allocations: 3.984 kB / 0.7655 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.7773, allocations: 1.88 MB / 0.7673 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.7773, allocations: 0 / 0.7673 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.7779, allocations: 147.8 kB / 0.7674 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000518/0.7784, allocations: 88.7 kB / 0.7675 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.7785, allocations: 31.86 kB / 0.7676 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.7803, allocations: 1.536 MB / 0.7691 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7803, allocations: 0 / 0.7691 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.7822, allocations: 0.9296 MB / 0.77 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.7825, allocations: 259.8 kB / 0.7702 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.7826, allocations: 20 kB / 0.7702 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.7832, allocations: 52.64 kB / 0.7703 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.7834, allocations: 57.06 kB / 0.7703 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.7835, allocations: 43.89 kB / 0.7704 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000531/0.784, allocations: 439 kB / 0.7708 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.784, allocations: 4 kB / 0.7708 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000885/0.7849, allocations: 299.2 kB / 0.7711 GB, free: 7.816 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 (87): * Single equations (assignments): 84 * 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.001381/0.7863, allocations: 0.5913 MB / 0.7717 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.7879, allocations: 0.7886 MB / 0.7724 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7879, allocations: 0 / 0.7724 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.7887, allocations: 496.3 kB / 0.7729 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.7899, allocations: 272.9 kB / 0.7732 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.7939, allocations: 2.131 MB / 0.7752 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.7945, allocations: 1.015 MB / 0.7762 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.7948, allocations: 111.4 kB / 0.7763 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.7948, allocations: 0 / 0.7763 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of Templates: time 0.02317/0.818, allocations: 17.51 MB / 0.7934 GB, free: 1.156 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleCalcHelperMain.o] Error 1