Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.002193/0.002193, allocations: 187 kB / 17.34 MB, free: 5.73 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.16 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.8688/0.8688, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.52 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1783, allocations: 82.04 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007068/0.1854, allocations: 4.139 MB / 0.6803 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6033/0.7888, allocations: 150.5 MB / 0.8273 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000821/0.7896, allocations: 17.5 kB / 0.8273 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.7904, allocations: 167.8 kB / 0.8275 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.7923, allocations: 479 kB / 0.8279 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.7943, allocations: 0.7981 MB / 0.8287 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.7958, allocations: 1.193 MB / 0.8299 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008986/0.7967, allocations: 0.6123 MB / 0.8305 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.7973, allocations: 437.6 kB / 0.8309 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.7979, allocations: 458.7 kB / 0.8313 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.7981, allocations: 103 kB / 0.8314 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009054/0.799, allocations: 470.7 kB / 0.8319 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.7992, allocations: 276.6 kB / 0.8321 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004188/0.7997, allocations: 0.4927 MB / 0.8326 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.8014, allocations: 1.554 MB / 0.8341 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.8014, allocations: 0 / 0.8341 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8015, allocations: 0 / 0.8341 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.116e-05/0.8015, allocations: 0 / 0.8341 GB, free: 8.02 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002628/0.8041, allocations: 1.333 MB / 0.8354 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8042, allocations: 14.22 kB / 0.8355 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009476/0.8051, allocations: 180.3 kB / 0.8356 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.8064, allocations: 0.7227 MB / 0.8363 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.8064, allocations: 58.84 kB / 0.8364 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.8066, allocations: 76.59 kB / 0.8365 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.8081, allocations: 0.871 MB / 0.8373 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.8081, allocations: 0 / 0.8373 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.8082, allocations: 36.25 kB / 0.8373 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.8082, allocations: 21.66 kB / 0.8374 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.8098, allocations: 1.065 MB / 0.8384 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.8136, allocations: 2.361 MB / 0.8407 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.8148, allocations: 0.7922 MB / 0.8415 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004651/0.8153, allocations: 283.3 kB / 0.8418 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.631e-05/0.8154, allocations: 37.19 kB / 0.8418 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007695/0.8162, allocations: 424.8 kB / 0.8422 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 4.529e-06/0.8162, allocations: 0 / 0.8422 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003022/0.8192, allocations: 1.086 MB / 0.8433 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.8194, allocations: 188.3 kB / 0.8434 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000786/0.8202, allocations: 0.5836 MB / 0.844 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.8202, allocations: 36.61 kB / 0.844 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.8206, allocations: 381.6 kB / 0.8444 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.8208, allocations: 239.5 kB / 0.8446 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.821, allocations: 152.2 kB / 0.8448 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.8212, allocations: 385.7 kB / 0.8451 GB, free: 208 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.8217, allocations: 238.2 kB / 0.8454 GB, free: 92 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.8223, allocations: 328.5 kB / 0.8457 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.8233, allocations: 0.5714 MB / 0.8462 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.8233, allocations: 0 / 0.8462 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001871/0.8252, allocations: 0.7862 MB / 0.847 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8252, allocations: 5.844 kB / 0.847 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.8252, allocations: 8 kB / 0.847 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/0.8259, allocations: 84.33 kB / 0.8471 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.8265, allocations: 151.8 kB / 0.8473 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.8288, allocations: 1.62 MB / 0.8488 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.8296, allocations: 85.53 kB / 0.8489 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.527e-05/0.8297, allocations: 36.98 kB / 0.849 GB, free: 12.43 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0004775/0.8302, allocations: 256.5 kB / 0.8492 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.8304, allocations: 79 kB / 0.8493 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.8327, allocations: 0.9996 MB / 0.8502 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.8328, allocations: 8 kB / 0.8503 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.8328, allocations: 4 kB / 0.8503 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.8328, allocations: 11.97 kB / 0.8503 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/0.8361, allocations: 1.858 MB / 0.8521 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.8362, allocations: 7.875 kB / 0.8521 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/0.8367, allocations: 143.8 kB / 0.8522 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.8372, allocations: 72.78 kB / 0.8523 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/0.8373, allocations: 23.98 kB / 0.8523 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.8394, allocations: 1.65 MB / 0.8539 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.8394, allocations: 3.938 kB / 0.8539 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.8415, allocations: 0.92 MB / 0.8548 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/0.8421, allocations: 263.7 kB / 0.8551 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.8423, allocations: 16 kB / 0.8551 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/0.8429, allocations: 59.94 kB / 0.8552 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.8431, allocations: 60.86 kB / 0.8552 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.8432, allocations: 31.97 kB / 0.8552 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006748/0.8438, allocations: 427.1 kB / 0.8557 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8438, allocations: 0 / 0.8557 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001036/0.8449, allocations: 291.3 kB / 0.8559 GB, free: 5.027 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 (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.001562/0.8465, allocations: 0.5835 MB / 0.8565 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.8483, allocations: 0.773 MB / 0.8573 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.8483, allocations: 0 / 0.8573 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.8493, allocations: 496.5 kB / 0.8577 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.8509, allocations: 308 kB / 0.858 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.8551, allocations: 1.697 MB / 0.8597 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.8558, allocations: 0.9993 MB / 0.8607 GB, free: 316 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.8562, allocations: 111.4 kB / 0.8608 GB, free: 204 kB / 0.6231 GB Notification: Performance of SimCode: time 1.263e-06/0.8562, allocations: 0 / 0.8608 GB, free: 204 kB / 0.6231 GB Notification: Performance of Templates: time 0.0283/0.8845, allocations: 17.28 MB / 0.8776 GB, free: 14.97 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o] Error 1