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-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.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.001944/0.001944, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001756/0.001755, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.512/1.512, allocations: 222.9 MB / 240.9 MB, free: 15.25 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.9137/0.9137, allocations: 143.3 MB / 434.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.89 kB / 0.5151 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4225, allocations: 82.03 MB / 0.5952 GB, free: 16.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00491/0.4274, allocations: 4.036 MB / 0.5991 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1902/0.6177, allocations: 150.5 MB / 0.7461 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008545/0.6186, allocations: 15.88 kB / 0.7461 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007958/0.6194, allocations: 162.5 kB / 0.7462 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.6222, allocations: 469.9 kB / 0.7467 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.6252, allocations: 0.7907 MB / 0.7475 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.627, allocations: 1.145 MB / 0.7486 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.6281, allocations: 0.5904 MB / 0.7491 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007182/0.6288, allocations: 418.5 kB / 0.7495 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005561/0.6294, allocations: 434 kB / 0.75 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.6296, allocations: 100 kB / 0.7501 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009156/0.6305, allocations: 443.7 kB / 0.7505 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.6308, allocations: 263.1 kB / 0.7507 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3435/0.9743, allocations: 487.6 kB / 0.7512 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.9766, allocations: 1.483 MB / 0.7526 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9766, allocations: 0 / 0.7526 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9766, allocations: 0.8125 kB / 0.7526 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.751e-05/0.9766, allocations: 0 / 0.7526 GB, free: 3.562 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.002117/0.9788, allocations: 1.298 MB / 0.7539 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.9788, allocations: 12.58 kB / 0.7539 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008591/0.9797, allocations: 173.6 kB / 0.7541 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008448/0.9805, allocations: 0.7003 MB / 0.7548 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.9806, allocations: 60 kB / 0.7548 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-05/0.9807, allocations: 76.25 kB / 0.7549 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.982, allocations: 0.8375 MB / 0.7557 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.982, allocations: 0.6875 kB / 0.7557 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.9821, allocations: 36.19 kB / 0.7558 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.9821, allocations: 23.06 kB / 0.7558 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.9838, allocations: 1.042 MB / 0.7568 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.9871, allocations: 2.329 MB / 0.7591 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.9885, allocations: 0.7767 MB / 0.7598 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.9891, allocations: 270.2 kB / 0.7601 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-05/0.9892, allocations: 30.77 kB / 0.7601 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008752/0.9901, allocations: 412.4 kB / 0.7605 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 3.226e-06/0.9901, allocations: 0.625 kB / 0.7605 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.003223/0.9934, allocations: 1.053 MB / 0.7615 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.9935, allocations: 188.3 kB / 0.7617 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008358/0.9944, allocations: 0.582 MB / 0.7623 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.9945, allocations: 39.83 kB / 0.7623 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.9948, allocations: 372.1 kB / 0.7627 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.995, allocations: 233.5 kB / 0.7629 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.9952, allocations: 149.3 kB / 0.763 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.9954, allocations: 377.1 kB / 0.7634 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.996, allocations: 232.3 kB / 0.7636 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.9966, allocations: 317.2 kB / 0.7639 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.9978, allocations: 0.5397 MB / 0.7645 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9978, allocations: 1.203 kB / 0.7645 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001611/0.9994, allocations: 0.7567 MB / 0.7652 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.9995, allocations: 6.688 kB / 0.7652 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9995, allocations: 0.8438 kB / 0.7652 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/1, allocations: 81.22 kB / 0.7653 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/1.001, allocations: 140.1 kB / 0.7654 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/1.003, allocations: 1.633 MB / 0.767 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/1.003, allocations: 75.06 kB / 0.7671 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/1.004, allocations: 31.55 kB / 0.7671 GB, free: 14.56 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 (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.0003543/1.004, allocations: 259.4 kB / 0.7674 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/1.004, allocations: 78.48 kB / 0.7674 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/1.006, allocations: 0.9549 MB / 0.7684 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/1.006, allocations: 8.125 kB / 0.7684 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.006, allocations: 1.438 kB / 0.7684 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.006, allocations: 4.875 kB / 0.7684 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/1.009, allocations: 1.786 MB / 0.7701 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.009, allocations: 2.031 kB / 0.7701 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/1.01, allocations: 136.6 kB / 0.7703 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/1.01, allocations: 73.25 kB / 0.7703 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/1.01, allocations: 21.38 kB / 0.7703 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/1.012, allocations: 1.662 MB / 0.772 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.012, allocations: 1 kB / 0.772 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/1.014, allocations: 0.8874 MB / 0.7728 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/1.014, allocations: 244.7 kB / 0.7731 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/1.014, allocations: 18.03 kB / 0.7731 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/1.015, allocations: 57.52 kB / 0.7731 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.015, allocations: 61 kB / 0.7732 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/1.015, allocations: 33.62 kB / 0.7732 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004689/1.015, allocations: 422.5 kB / 0.7736 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.015, allocations: 0.9688 kB / 0.7736 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008612/1.016, allocations: 281.2 kB / 0.7739 GB, free: 12.04 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.001939/1.018, allocations: 0.5924 MB / 0.7745 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001891/1.02, allocations: 0.9198 MB / 0.7754 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.02, allocations: 0 / 0.7754 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007713/1.021, allocations: 484.6 kB / 0.7758 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.022, allocations: 305.1 kB / 0.7761 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/1.025, allocations: 1.658 MB / 0.7778 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/1.026, allocations: 0.9876 MB / 0.7787 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/1.026, allocations: 107.5 kB / 0.7788 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/1.026, allocations: 1 kB / 0.7788 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.01968/1.046, allocations: 16.8 MB / 0.7952 GB, free: 7.078 MB / 0.5919 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++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.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