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.006087/0.006087, allocations: 100.1 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.001247/0.001247, allocations: 196.5 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.365/1.365, 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.042/1.042, allocations: 143.1 MB / 433.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 55.91 kB / 0.5142 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1772, allocations: 82.03 MB / 0.5943 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006513/0.1838, allocations: 4.156 MB / 0.5983 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4985/0.6823, allocations: 148.2 MB / 0.743 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008026/0.6832, allocations: 20.25 kB / 0.743 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.6838, allocations: 133.9 kB / 0.7432 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.6852, allocations: 402.2 kB / 0.7435 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.6871, allocations: 0.6926 MB / 0.7442 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.6883, allocations: 1.113 MB / 0.7453 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008111/0.6891, allocations: 0.5901 MB / 0.7459 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.6896, allocations: 380.6 kB / 0.7462 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000423/0.6901, allocations: 421.2 kB / 0.7466 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.6902, allocations: 50.5 kB / 0.7467 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007615/0.691, allocations: 400.3 kB / 0.7471 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.6912, allocations: 219.2 kB / 0.7473 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004148/0.6916, allocations: 452.6 kB / 0.7477 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.6927, allocations: 1.156 MB / 0.7488 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6927, allocations: 1.594 kB / 0.7488 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6927, allocations: 0.5625 kB / 0.7488 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.6927, allocations: 0 / 0.7488 GB, free: 14.89 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002291/0.695, allocations: 1.341 MB / 0.7502 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.6951, allocations: 10.5 kB / 0.7502 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.696, allocations: 175 kB / 0.7503 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009645/0.697, allocations: 0.7037 MB / 0.751 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.697, allocations: 62.75 kB / 0.7511 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6972, allocations: 80 kB / 0.7512 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.6987, allocations: 0.8676 MB / 0.752 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.6987, allocations: 3.938 kB / 0.752 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/0.6988, allocations: 32 kB / 0.752 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.6988, allocations: 20 kB / 0.7521 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.7005, allocations: 1.069 MB / 0.7531 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.704, allocations: 2.376 MB / 0.7554 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.7053, allocations: 0.7971 MB / 0.7562 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.7058, allocations: 284 kB / 0.7565 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.182e-05/0.7059, allocations: 32.69 kB / 0.7565 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008142/0.7067, allocations: 431.3 kB / 0.7569 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.275e-06/0.7067, allocations: 0 / 0.7569 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002847/0.7096, allocations: 1.077 MB / 0.758 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.7097, allocations: 192.6 kB / 0.7581 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.7103, allocations: 0.5861 MB / 0.7587 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.7104, allocations: 41.7 kB / 0.7588 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.7107, allocations: 376.3 kB / 0.7591 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.7109, allocations: 236.5 kB / 0.7593 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.7111, allocations: 159.2 kB / 0.7595 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7112, allocations: 378.8 kB / 0.7599 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.7117, allocations: 233.9 kB / 0.7601 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.7122, allocations: 332.6 kB / 0.7604 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.7132, allocations: 0.5651 MB / 0.7609 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.7132, allocations: 0 / 0.7609 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001737/0.715, allocations: 0.7903 MB / 0.7617 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.715, allocations: 12.59 kB / 0.7617 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.715, allocations: 0.5625 kB / 0.7617 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.7156, allocations: 84.72 kB / 0.7618 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.7162, allocations: 151.8 kB / 0.762 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.7184, allocations: 1.52 MB / 0.7634 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/0.719, allocations: 83.48 kB / 0.7635 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.7191, allocations: 35.97 kB / 0.7636 GB, free: 15.66 MB / 0.5919 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.0003669/0.7195, allocations: 245.7 kB / 0.7638 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.7196, allocations: 71.16 kB / 0.7639 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.7218, allocations: 1.015 MB / 0.7648 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7218, allocations: 9.125 kB / 0.7649 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.7218, allocations: 4 kB / 0.7649 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.7218, allocations: 7.984 kB / 0.7649 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.7249, allocations: 1.86 MB / 0.7667 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7249, allocations: 0 / 0.7667 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.7254, allocations: 143.8 kB / 0.7668 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005155/0.726, allocations: 84.77 kB / 0.7669 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.726, allocations: 27.92 kB / 0.7669 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.7278, allocations: 1.542 MB / 0.7684 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7278, allocations: 0 / 0.7684 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.7296, allocations: 0.9187 MB / 0.7693 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.7299, allocations: 259.8 kB / 0.7696 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.7301, allocations: 16.66 kB / 0.7696 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.7306, allocations: 47.95 kB / 0.7696 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.7308, allocations: 68.91 kB / 0.7697 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.7308, allocations: 35.36 kB / 0.7697 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004987/0.7313, allocations: 427 kB / 0.7701 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7313, allocations: 0 / 0.7701 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009426/0.7323, allocations: 299.2 kB / 0.7704 GB, free: 8.371 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.001513/0.7338, allocations: 0.597 MB / 0.771 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.7353, allocations: 0.7651 MB / 0.7718 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7353, allocations: 0 / 0.7718 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008235/0.7362, allocations: 492.5 kB / 0.7722 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.7373, allocations: 277.3 kB / 0.7725 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.741, allocations: 2.104 MB / 0.7746 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.7416, allocations: 0.9996 MB / 0.7755 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.7419, allocations: 111.4 kB / 0.7756 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.7419, allocations: 0 / 0.7756 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of Templates: time 0.02076/0.7626, allocations: 17.15 MB / 0.7924 GB, free: 2.121 MB / 0.6075 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++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.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