Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 222.6 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8839/0.8839, allocations: 145 MB / 458.2 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 65.14 kB / 0.6343 GB, free: 6.277 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1641, allocations: 87.89 MB / 0.7201 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007099/0.1712, allocations: 4.475 MB / 0.7245 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5085/0.6796, allocations: 132.9 MB / 0.8543 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008612/0.6805, allocations: 23.81 kB / 0.8543 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007781/0.6813, allocations: 205.1 kB / 0.8545 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.6833, allocations: 0.5818 MB / 0.855 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.6857, allocations: 0.9659 MB / 0.856 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.6878, allocations: 1.576 MB / 0.8575 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.6891, allocations: 0.8009 MB / 0.8583 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.6902, allocations: 0.7318 MB / 0.859 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007684/0.691, allocations: 0.6412 MB / 0.8597 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.6912, allocations: 192 kB / 0.8598 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.6923, allocations: 0.5542 MB / 0.8604 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003907/0.6927, allocations: 438.7 kB / 0.8608 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006009/0.6933, allocations: 0.653 MB / 0.8614 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.696, allocations: 2.521 MB / 0.8639 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.696, allocations: 0 / 0.8639 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.696, allocations: 4 kB / 0.8639 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.198e-05/0.696, allocations: 0 / 0.8639 GB, free: 7.746 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002962/0.699, allocations: 1.822 MB / 0.8657 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.699, allocations: 8.031 kB / 0.8657 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/0.7018, allocations: 389.5 kB / 0.8661 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.7034, allocations: 0.875 MB / 0.8669 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.7035, allocations: 162.4 kB / 0.8671 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.7037, allocations: 143.9 kB / 0.8672 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.7063, allocations: 1.743 MB / 0.8689 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.7063, allocations: 0 / 0.8689 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.7064, allocations: 64 kB / 0.869 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.7065, allocations: 36 kB / 0.869 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.7089, allocations: 1.447 MB / 0.8704 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005663/0.7145, allocations: 3.218 MB / 0.8736 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.7161, allocations: 0.8471 MB / 0.8744 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/0.7166, allocations: 343.7 kB / 0.8747 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.203e-05/0.7167, allocations: 32.91 kB / 0.8747 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.7178, allocations: 0.6662 MB / 0.8754 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=93): time 3.296e-06/0.7178, allocations: 4 kB / 0.8754 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93): time 0.00338/0.7212, allocations: 1.293 MB / 0.8767 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.7213, allocations: 196.5 kB / 0.8768 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009372/0.7223, allocations: 0.6568 MB / 0.8775 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.7223, allocations: 41.7 kB / 0.8775 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/0.7229, allocations: 0.6179 MB / 0.8781 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.7231, allocations: 313.3 kB / 0.8784 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.7234, allocations: 206.5 kB / 0.8786 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.7236, allocations: 390.7 kB / 0.879 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.7242, allocations: 325.8 kB / 0.8793 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008095/0.725, allocations: 0.5558 MB / 0.8799 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.7264, allocations: 0.7617 MB / 0.8806 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.7264, allocations: 4 kB / 0.8806 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002322/0.7288, allocations: 1.017 MB / 0.8816 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.7288, allocations: 4 kB / 0.8816 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.7288, allocations: 4 kB / 0.8816 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.7294, allocations: 85.95 kB / 0.8817 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.7302, allocations: 199.7 kB / 0.8819 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.7324, allocations: 1.52 MB / 0.8834 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000838/0.7332, allocations: 89.53 kB / 0.8834 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.7333, allocations: 48.03 kB / 0.8835 GB, free: 3.09 MB / 0.6544 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 (111): * Single equations (assignments): 110 * 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.0006483/0.7339, allocations: 326.3 kB / 0.8838 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.7341, allocations: 91.38 kB / 0.8839 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.737, allocations: 1.279 MB / 0.8851 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.737, allocations: 12 kB / 0.8851 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.737, allocations: 0 / 0.8851 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.737, allocations: 11.97 kB / 0.8852 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004053/0.7411, allocations: 2.133 MB / 0.8872 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/0.7411, allocations: 4 kB / 0.8872 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.7418, allocations: 183.7 kB / 0.8874 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.7422, allocations: 68.78 kB / 0.8875 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.7423, allocations: 27.98 kB / 0.8875 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.7442, allocations: 1.544 MB / 0.889 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7442, allocations: 0 / 0.889 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.7465, allocations: 1.113 MB / 0.8901 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/0.747, allocations: 234.9 kB / 0.8903 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.7472, allocations: 24.05 kB / 0.8904 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/0.7478, allocations: 59.94 kB / 0.8904 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.748, allocations: 72.86 kB / 0.8905 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.7481, allocations: 43.97 kB / 0.8905 GB, free: 11.69 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006743/0.7487, allocations: 499 kB / 0.891 GB, free: 11.21 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7487, allocations: 0 / 0.891 GB, free: 11.21 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001092/0.7498, allocations: 434.4 kB / 0.8914 GB, free: 10.79 MB / 0.67 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 (107): * Single equations (assignments): 104 * 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.002012/0.7518, allocations: 0.6373 MB / 0.892 GB, free: 10.36 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.7538, allocations: 0.925 MB / 0.8929 GB, free: 9.422 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7538, allocations: 0 / 0.8929 GB, free: 9.422 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.7548, allocations: 0.547 MB / 0.8935 GB, free: 8.863 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.756, allocations: 316.6 kB / 0.8938 GB, free: 8.586 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.7609, allocations: 2.433 MB / 0.8962 GB, free: 6.113 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.7615, allocations: 0.5729 MB / 0.8967 GB, free: 5.508 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.7619, allocations: 147.3 kB / 0.8969 GB, free: 5.363 MB / 0.67 GB Notification: Performance of SimCode: time 1.162e-06/0.7619, allocations: 0 / 0.8969 GB, free: 5.363 MB / 0.67 GB Notification: Performance of Templates: time 0.0323/0.7942, allocations: 24.44 MB / 0.9207 GB, free: 12.95 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -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.1.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.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.350094337947667] Failed to read output from testmodel.py, exit status != 0: 0.8029438438825309 0.816084544 0.117142119 Calling exit ...