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.001376/0.001376, allocations: 107.3 kB / 16.41 MB, free: 6.477 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.001312/0.001312, allocations: 183 kB / 17.34 MB, free: 5.754 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.14 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.8778/0.8778, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 56.02 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1979, allocations: 82.04 MB / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006813/0.2048, allocations: 4.046 MB / 0.6802 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6413/0.8461, allocations: 150.5 MB / 0.8272 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.8469, allocations: 25.34 kB / 0.8272 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.8475, allocations: 160.3 kB / 0.8273 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.8492, allocations: 477.5 kB / 0.8278 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.8511, allocations: 0.7822 MB / 0.8286 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00128/0.8524, allocations: 1.157 MB / 0.8297 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008997/0.8533, allocations: 0.5977 MB / 0.8303 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000575/0.8539, allocations: 426.1 kB / 0.8307 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004908/0.8544, allocations: 436.4 kB / 0.8311 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.8546, allocations: 100.1 kB / 0.8312 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.8556, allocations: 473.3 kB / 0.8316 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.8559, allocations: 255.4 kB / 0.8319 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.8563, allocations: 491.8 kB / 0.8324 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.8582, allocations: 1.523 MB / 0.8338 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.8582, allocations: 4 kB / 0.8338 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.339e-06/0.8582, allocations: 0 / 0.8338 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.8582, allocations: 3.938 kB / 0.8339 GB, free: 8.277 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.002263/0.8605, allocations: 1.299 MB / 0.8351 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.8606, allocations: 14.27 kB / 0.8351 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009157/0.8615, allocations: 177.8 kB / 0.8353 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.8626, allocations: 0.7146 MB / 0.836 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.8626, allocations: 56.22 kB / 0.8361 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.733e-05/0.8627, allocations: 77.81 kB / 0.8361 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.8642, allocations: 0.8396 MB / 0.8369 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.8642, allocations: 2.125 kB / 0.837 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.8643, allocations: 31.75 kB / 0.837 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.8643, allocations: 17.88 kB / 0.837 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.8659, allocations: 1.045 MB / 0.838 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.8695, allocations: 2.312 MB / 0.8403 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.871, allocations: 0.7729 MB / 0.841 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.8715, allocations: 266.5 kB / 0.8413 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.909e-05/0.8716, allocations: 32.94 kB / 0.8413 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007967/0.8724, allocations: 414.4 kB / 0.8417 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.865e-06/0.8724, allocations: 0 / 0.8417 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.002979/0.8754, allocations: 1.055 MB / 0.8427 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.8755, allocations: 188.4 kB / 0.8429 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.8762, allocations: 0.5831 MB / 0.8435 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.8763, allocations: 35.8 kB / 0.8435 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.8766, allocations: 377.5 kB / 0.8439 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.8768, allocations: 228.8 kB / 0.8441 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.8771, allocations: 145.1 kB / 0.8442 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.8772, allocations: 377.4 kB / 0.8446 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.8777, allocations: 230.2 kB / 0.8448 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.8782, allocations: 323.5 kB / 0.8451 GB, free: 332 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/0.8792, allocations: 0.5303 MB / 0.8456 GB, free: 40 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8792, allocations: 4 kB / 0.8457 GB, free: 36 kB / 0.6075 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001782/0.881, allocations: 0.7513 MB / 0.8464 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.881, allocations: 6.656 kB / 0.8464 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.881, allocations: 0 / 0.8464 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.8816, allocations: 88.8 kB / 0.8465 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.8822, allocations: 143.4 kB / 0.8466 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.8844, allocations: 1.632 MB / 0.8482 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/0.885, allocations: 75.47 kB / 0.8483 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.8851, allocations: 35.91 kB / 0.8483 GB, free: 13.16 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.0003999/0.8855, allocations: 252.8 kB / 0.8486 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.8856, allocations: 75.12 kB / 0.8486 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.8878, allocations: 0.9537 MB / 0.8496 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.8878, allocations: 8 kB / 0.8496 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.8878, allocations: 0 / 0.8496 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.8878, allocations: 3.984 kB / 0.8496 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.8908, allocations: 1.794 MB / 0.8513 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.8908, allocations: 0 / 0.8513 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.8913, allocations: 135.8 kB / 0.8514 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/0.8917, allocations: 68.8 kB / 0.8515 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/0.8918, allocations: 27.92 kB / 0.8515 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.8937, allocations: 1.658 MB / 0.8532 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8937, allocations: 0 / 0.8532 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.8955, allocations: 0.8874 MB / 0.854 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.8959, allocations: 243.9 kB / 0.8543 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.8961, allocations: 16 kB / 0.8543 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.8967, allocations: 59.81 kB / 0.8543 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.8968, allocations: 60.92 kB / 0.8544 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.8969, allocations: 31.97 kB / 0.8544 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000673/0.8976, allocations: 423.1 kB / 0.8548 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8976, allocations: 0 / 0.8548 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001102/0.8987, allocations: 287.2 kB / 0.8551 GB, free: 5.957 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.00188/0.9006, allocations: 0.6027 MB / 0.8557 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.9023, allocations: 0.7321 MB / 0.8564 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.9023, allocations: 4 kB / 0.8564 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009008/0.9032, allocations: 480.5 kB / 0.8569 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.9046, allocations: 295.4 kB / 0.8571 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.9085, allocations: 1.643 MB / 0.8587 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.9092, allocations: 0.9874 MB / 0.8597 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.9095, allocations: 111.4 kB / 0.8598 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.9096, allocations: 0 / 0.8598 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of Templates: time 0.028/0.9376, allocations: 16.9 MB / 0.8763 GB, free: 380 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