Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007075/0.007075, 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.001369/0.001369, allocations: 196.4 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.032/1.032, allocations: 143.1 MB / 433.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.5141 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1904, allocations: 82.04 MB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005927/0.1963, allocations: 4.055 MB / 0.5982 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5102/0.7065, allocations: 148.1 MB / 0.7429 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007885/0.7074, allocations: 14.34 kB / 0.7429 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.7079, allocations: 130.9 kB / 0.743 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.7094, allocations: 399.6 kB / 0.7434 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.7113, allocations: 0.6806 MB / 0.7441 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.7125, allocations: 1.08 MB / 0.7451 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008032/0.7133, allocations: 0.5737 MB / 0.7457 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004654/0.7137, allocations: 364.9 kB / 0.746 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.7142, allocations: 402.9 kB / 0.7464 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.72e-05/0.7143, allocations: 51.31 kB / 0.7465 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008129/0.7151, allocations: 386.1 kB / 0.7468 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.7154, allocations: 218 kB / 0.747 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.7159, allocations: 439.9 kB / 0.7475 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.7175, allocations: 1.131 MB / 0.7486 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.7175, allocations: 1.531 kB / 0.7486 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7175, allocations: 0 / 0.7486 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.7175, allocations: 0 / 0.7486 GB, free: 15.18 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002352/0.7199, allocations: 1.315 MB / 0.7499 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.7199, allocations: 9.188 kB / 0.7499 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000924/0.7209, allocations: 170.8 kB / 0.75 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.7219, allocations: 0.6959 MB / 0.7507 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.722, allocations: 65.98 kB / 0.7508 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.7221, allocations: 75.98 kB / 0.7508 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.7235, allocations: 0.8403 MB / 0.7517 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.7236, allocations: 0 / 0.7517 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/0.7236, allocations: 36 kB / 0.7517 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.7237, allocations: 17.31 kB / 0.7517 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.7253, allocations: 1.05 MB / 0.7527 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.729, allocations: 2.323 MB / 0.755 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.7302, allocations: 0.7733 MB / 0.7558 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.7307, allocations: 267.6 kB / 0.756 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.858e-05/0.7308, allocations: 36.58 kB / 0.756 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000842/0.7316, allocations: 401.8 kB / 0.7564 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.004e-06/0.7317, allocations: 4 kB / 0.7564 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002951/0.7346, allocations: 1.058 MB / 0.7575 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/0.7347, allocations: 188.5 kB / 0.7576 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.7354, allocations: 0.5827 MB / 0.7582 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.7355, allocations: 37.7 kB / 0.7583 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.7358, allocations: 372.2 kB / 0.7586 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.736, allocations: 236.6 kB / 0.7588 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.7363, allocations: 142.5 kB / 0.759 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.7365, allocations: 378.8 kB / 0.7593 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.737, allocations: 231.6 kB / 0.7596 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.7376, allocations: 330.3 kB / 0.7599 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/0.7386, allocations: 0.5274 MB / 0.7604 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7386, allocations: 0 / 0.7604 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001802/0.7404, allocations: 0.7548 MB / 0.7611 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7404, allocations: 8 kB / 0.7611 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7404, allocations: 0 / 0.7611 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.7411, allocations: 80.88 kB / 0.7612 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.7417, allocations: 143.8 kB / 0.7613 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.7437, allocations: 1.518 MB / 0.7628 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/0.7443, allocations: 83.3 kB / 0.7629 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.7444, allocations: 31.98 kB / 0.7629 GB, free: 416 kB / 0.5762 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 (81): * Single equations (assignments): 80 * 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.0004031/0.7448, allocations: 254.4 kB / 0.7632 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.7449, allocations: 71.16 kB / 0.7632 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.7472, allocations: 0.9516 MB / 0.7642 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.7472, allocations: 12 kB / 0.7642 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.7472, allocations: 0 / 0.7642 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.7472, allocations: 3.984 kB / 0.7642 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.7502, allocations: 1.784 MB / 0.7659 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.7502, allocations: 1.75 kB / 0.7659 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.7507, allocations: 139.8 kB / 0.7661 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005159/0.7513, allocations: 84.77 kB / 0.7661 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.7513, allocations: 19.98 kB / 0.7662 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.7532, allocations: 1.548 MB / 0.7677 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.7532, allocations: 5.906 kB / 0.7677 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.7551, allocations: 0.8904 MB / 0.7686 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.7554, allocations: 243.9 kB / 0.7688 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.7556, allocations: 19.91 kB / 0.7688 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/0.7561, allocations: 63.88 kB / 0.7689 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.7563, allocations: 56.92 kB / 0.7689 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.7563, allocations: 31.97 kB / 0.7689 GB, free: 10 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005627/0.7569, allocations: 415.1 kB / 0.7693 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7569, allocations: 4 kB / 0.7693 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008981/0.7578, allocations: 283.3 kB / 0.7696 GB, free: 9.324 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 (81): * Single equations (assignments): 78 * 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.001464/0.7593, allocations: 0.5947 MB / 0.7702 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.7608, allocations: 0.7357 MB / 0.7709 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7609, allocations: 0 / 0.7709 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008235/0.7617, allocations: 476.5 kB / 0.7714 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.7628, allocations: 275 kB / 0.7716 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.7666, allocations: 2.035 MB / 0.7736 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.7672, allocations: 0.9838 MB / 0.7746 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.7675, allocations: 107.3 kB / 0.7747 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.7675, allocations: 4 kB / 0.7747 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of Templates: time 0.02263/0.7902, allocations: 16.8 MB / 0.7911 GB, free: 3.539 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.o] Error 1