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.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008793/0.008794, allocations: 100.8 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.002072/0.002073, allocations: 195.7 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.082/1.082, allocations: 143 MB / 433.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1699, allocations: 82.03 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00671/0.1767, allocations: 4.91 MB / 0.5991 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4532/0.6299, allocations: 148.5 MB / 0.744 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008188/0.6308, allocations: 22.47 kB / 0.7441 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.6313, allocations: 159.5 kB / 0.7442 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.633, allocations: 482.1 kB / 0.7447 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.635, allocations: 0.8193 MB / 0.7455 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.6365, allocations: 1.435 MB / 0.7469 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.6377, allocations: 1.117 MB / 0.748 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.6385, allocations: 0.5948 MB / 0.7485 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.6392, allocations: 0.6864 MB / 0.7492 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.6393, allocations: 105 kB / 0.7493 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009634/0.6403, allocations: 447.8 kB / 0.7497 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.6406, allocations: 354.5 kB / 0.7501 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000624/0.6413, allocations: 0.7303 MB / 0.7508 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.6429, allocations: 1.867 MB / 0.7526 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6429, allocations: 4 kB / 0.7526 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6429, allocations: 4 kB / 0.7526 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.146e-05/0.6429, allocations: 0.8438 kB / 0.7526 GB, free: 11.44 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002957/0.6459, allocations: 1.822 MB / 0.7544 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6459, allocations: 12.03 kB / 0.7544 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009708/0.6469, allocations: 242.8 kB / 0.7546 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.6481, allocations: 0.8997 MB / 0.7555 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.6482, allocations: 140.7 kB / 0.7557 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.6484, allocations: 136 kB / 0.7558 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.6507, allocations: 1.469 MB / 0.7572 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.6508, allocations: 0 / 0.7572 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.6509, allocations: 61.31 kB / 0.7573 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.6509, allocations: 40 kB / 0.7573 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.6532, allocations: 1.494 MB / 0.7588 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.659, allocations: 3.936 MB / 0.7626 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.6605, allocations: 0.9053 MB / 0.7635 GB, free: 60 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/0.6611, allocations: 376.5 kB / 0.7639 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.324e-05/0.6612, allocations: 40.84 kB / 0.7639 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009304/0.6621, allocations: 0.5442 MB / 0.7644 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=93): time 2.485e-06/0.6622, allocations: 0 / 0.7644 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93): time 0.003259/0.6654, allocations: 1.37 MB / 0.7658 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.6655, allocations: 188.9 kB / 0.766 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008988/0.6664, allocations: 0.7745 MB / 0.7667 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.6665, allocations: 45.7 kB / 0.7668 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.6669, allocations: 0.5736 MB / 0.7673 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.6671, allocations: 303.5 kB / 0.7676 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.6674, allocations: 198.4 kB / 0.7678 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6675, allocations: 341.9 kB / 0.7681 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.6681, allocations: 325.8 kB / 0.7684 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.6689, allocations: 438.2 kB / 0.7688 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.6702, allocations: 0.7695 MB / 0.7696 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.6702, allocations: 0 / 0.7696 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002147/0.6723, allocations: 1.028 MB / 0.7706 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.6724, allocations: 4 kB / 0.7706 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6724, allocations: 0 / 0.7706 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/0.673, allocations: 88.77 kB / 0.7707 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.6738, allocations: 195.7 kB / 0.7709 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.6759, allocations: 1.532 MB / 0.7724 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008467/0.6768, allocations: 106.7 kB / 0.7725 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/0.6769, allocations: 43.97 kB / 0.7725 GB, free: 6.523 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 (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.000568/0.6774, allocations: 321.7 kB / 0.7728 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.6776, allocations: 105.9 kB / 0.7729 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.6804, allocations: 1.289 MB / 0.7742 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.6804, allocations: 12 kB / 0.7742 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.6804, allocations: 3.938 kB / 0.7742 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.6805, allocations: 3.984 kB / 0.7742 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.6844, allocations: 2.496 MB / 0.7766 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.6844, allocations: 0 / 0.7766 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007276/0.6851, allocations: 179.7 kB / 0.7768 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005132/0.6857, allocations: 84.77 kB / 0.7769 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/0.6857, allocations: 31.98 kB / 0.7769 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.6877, allocations: 1.558 MB / 0.7784 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6877, allocations: 4.031 kB / 0.7784 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.6902, allocations: 1.109 MB / 0.7795 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.6907, allocations: 319.4 kB / 0.7798 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.6909, allocations: 31.94 kB / 0.7799 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/0.6916, allocations: 55.94 kB / 0.7799 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.6917, allocations: 76.95 kB / 0.78 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.504e-05/0.6918, allocations: 39.98 kB / 0.78 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008392/0.6927, allocations: 0.5615 MB / 0.7806 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.81e-07/0.6927, allocations: 0 / 0.7806 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00116/0.6938, allocations: 402.5 kB / 0.781 GB, free: 13.62 MB / 0.6075 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.001478/0.6953, allocations: 0.5991 MB / 0.7815 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.6973, allocations: 0.9667 MB / 0.7825 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6973, allocations: 0 / 0.7825 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009884/0.6983, allocations: 0.5783 MB / 0.7831 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.6996, allocations: 291.7 kB / 0.7833 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.7047, allocations: 3.029 MB / 0.7863 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/0.7054, allocations: 1.173 MB / 0.7874 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/0.7059, allocations: 139.4 kB / 0.7876 GB, free: 7 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.7059, allocations: 0 / 0.7876 GB, free: 7 MB / 0.6075 GB Notification: Performance of Templates: time 0.0304/0.7363, allocations: 23.98 MB / 0.811 GB, free: 15.07 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.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