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.001281/0.001281, allocations: 106.8 kB / 16.41 MB, free: 5.98 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.001291/0.001291, allocations: 193.6 kB / 17.35 MB, free: 5.574 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.7813/0.7813, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64.61 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 82.02 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005252/0.1468, allocations: 4.042 MB / 0.6802 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4629/0.6097, allocations: 150.5 MB / 0.8272 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.6103, allocations: 16.88 kB / 0.8272 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.6108, allocations: 164.2 kB / 0.8273 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.6121, allocations: 474.4 kB / 0.8278 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.6136, allocations: 0.7912 MB / 0.8286 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009312/0.6146, allocations: 1.157 MB / 0.8297 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006996/0.6153, allocations: 0.6001 MB / 0.8303 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.6157, allocations: 416 kB / 0.8307 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.6162, allocations: 442 kB / 0.8311 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.6163, allocations: 100.8 kB / 0.8312 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006987/0.617, allocations: 471.9 kB / 0.8316 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.6172, allocations: 262.3 kB / 0.8319 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.6176, allocations: 491.7 kB / 0.8324 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.6189, allocations: 1.519 MB / 0.8338 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6189, allocations: 0 / 0.8338 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6189, allocations: 0 / 0.8338 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.6189, allocations: 0.6562 kB / 0.8338 GB, free: 8.223 MB / 0.6075 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.001787/0.6207, allocations: 1.306 MB / 0.8351 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.6208, allocations: 10.12 kB / 0.8351 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007881/0.6216, allocations: 172.2 kB / 0.8353 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.6225, allocations: 0.7224 MB / 0.836 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.6226, allocations: 58.41 kB / 0.8361 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.6226, allocations: 72.03 kB / 0.8361 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.6239, allocations: 0.8392 MB / 0.8369 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.6239, allocations: 0 / 0.8369 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.624, allocations: 35.38 kB / 0.837 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.624, allocations: 24.44 kB / 0.837 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.6254, allocations: 1.045 MB / 0.838 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.6284, allocations: 2.307 MB / 0.8403 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.6295, allocations: 0.7777 MB / 0.841 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.6299, allocations: 269 kB / 0.8413 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.744e-05/0.63, allocations: 32.89 kB / 0.8413 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006295/0.6307, allocations: 404.5 kB / 0.8417 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.194e-06/0.6307, allocations: 6.281 kB / 0.8417 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.00254/0.6332, allocations: 1.056 MB / 0.8427 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.6333, allocations: 188.2 kB / 0.8429 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/0.6339, allocations: 0.5786 MB / 0.8435 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.634, allocations: 43.39 kB / 0.8435 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.6342, allocations: 368.7 kB / 0.8439 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.6344, allocations: 228.4 kB / 0.8441 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.6346, allocations: 145 kB / 0.8442 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6347, allocations: 378.1 kB / 0.8446 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.6351, allocations: 229.2 kB / 0.8448 GB, free: 464 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.6356, allocations: 322.5 kB / 0.8451 GB, free: 272 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008837/0.6365, allocations: 0.5367 MB / 0.8457 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6365, allocations: 0 / 0.8457 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001587/0.6381, allocations: 0.7548 MB / 0.8464 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6381, allocations: 9.719 kB / 0.8464 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6381, allocations: 3.75 kB / 0.8464 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005315/0.6387, allocations: 84.86 kB / 0.8465 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.6392, allocations: 135.8 kB / 0.8466 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.6411, allocations: 1.631 MB / 0.8482 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.6416, allocations: 71.62 kB / 0.8483 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.6417, allocations: 32.47 kB / 0.8483 GB, free: 13.09 MB / 0.6231 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.0003254/0.642, allocations: 258.5 kB / 0.8485 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.6422, allocations: 79.05 kB / 0.8486 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.6441, allocations: 0.9487 MB / 0.8496 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.6442, allocations: 11.98 kB / 0.8496 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.6442, allocations: 0 / 0.8496 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6442, allocations: 3.984 kB / 0.8496 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.6469, allocations: 1.786 MB / 0.8513 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6469, allocations: 0 / 0.8513 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.6474, allocations: 139.8 kB / 0.8514 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.6478, allocations: 72.8 kB / 0.8515 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.6478, allocations: 27.92 kB / 0.8515 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.6496, allocations: 1.65 MB / 0.8532 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6496, allocations: 0 / 0.8532 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.6512, allocations: 0.8873 MB / 0.854 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.6515, allocations: 243.9 kB / 0.8543 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/0.6516, allocations: 23.98 kB / 0.8543 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/0.6521, allocations: 55.89 kB / 0.8543 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.6522, allocations: 56.91 kB / 0.8544 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.6523, allocations: 31.98 kB / 0.8544 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004504/0.6527, allocations: 419.1 kB / 0.8548 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6527, allocations: 0 / 0.8548 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007393/0.6535, allocations: 287.2 kB / 0.8551 GB, free: 5.879 MB / 0.6231 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.001217/0.6547, allocations: 0.6078 MB / 0.8557 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.6561, allocations: 0.7362 MB / 0.8564 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6561, allocations: 0 / 0.8564 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.6569, allocations: 480.3 kB / 0.8569 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.658, allocations: 297.7 kB / 0.8571 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.6612, allocations: 1.646 MB / 0.8587 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.6617, allocations: 0.9913 MB / 0.8597 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.662, allocations: 107.4 kB / 0.8598 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.662, allocations: 0 / 0.8598 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of Templates: time 0.01911/0.6811, allocations: 17.03 MB / 0.8764 GB, free: 176 kB / 0.6387 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