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.001473/0.001473, allocations: 110.2 kB / 16.41 MB, free: 6.492 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.001699/0.001699, allocations: 187 kB / 17.34 MB, free: 5.766 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.15 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.8851/0.8851, allocations: 143 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 71.31 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1684, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006952/0.1754, allocations: 4.915 MB / 0.6811 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.499/0.6745, allocations: 150.8 MB / 0.8283 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009321/0.6754, allocations: 22.66 kB / 0.8284 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007609/0.6762, allocations: 187.1 kB / 0.8285 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.6783, allocations: 0.5642 MB / 0.8291 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.6807, allocations: 0.9305 MB / 0.83 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002058/0.6827, allocations: 1.556 MB / 0.8315 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.6844, allocations: 1.16 MB / 0.8327 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.6855, allocations: 0.6886 MB / 0.8333 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.6868, allocations: 0.7361 MB / 0.8341 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004458/0.6872, allocations: 191.2 kB / 0.8342 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.6885, allocations: 0.5447 MB / 0.8348 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005607/0.6891, allocations: 442.4 kB / 0.8352 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.6903, allocations: 0.8078 MB / 0.836 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003129/0.6934, allocations: 2.449 MB / 0.8384 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6934, allocations: 2.75 kB / 0.8384 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6935, allocations: 4.875 kB / 0.8384 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.528e-05/0.6935, allocations: 0 / 0.8384 GB, free: 4.742 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.00413/0.6977, allocations: 1.814 MB / 0.8401 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6977, allocations: 7.875 kB / 0.8402 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.699, allocations: 246.3 kB / 0.8404 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.7006, allocations: 0.9216 MB / 0.8413 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.7008, allocations: 133.1 kB / 0.8414 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.701, allocations: 147.6 kB / 0.8416 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.7038, allocations: 1.465 MB / 0.843 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.7038, allocations: 6.703 kB / 0.843 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.704, allocations: 69.56 kB / 0.8431 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.704, allocations: 35.06 kB / 0.8431 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.7065, allocations: 1.489 MB / 0.8445 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006896/0.7134, allocations: 3.876 MB / 0.8483 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.7151, allocations: 0.9055 MB / 0.8492 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.7157, allocations: 367.7 kB / 0.8496 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-05/0.7158, allocations: 46.95 kB / 0.8496 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.7169, allocations: 0.5436 MB / 0.8501 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=93): time 2.575e-06/0.7169, allocations: 0 / 0.8501 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93): time 0.003563/0.7205, allocations: 1.372 MB / 0.8515 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.7206, allocations: 192.9 kB / 0.8517 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.7218, allocations: 0.759 MB / 0.8524 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.7219, allocations: 41.7 kB / 0.8524 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.7224, allocations: 0.5813 MB / 0.853 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.7227, allocations: 307.5 kB / 0.8533 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/0.723, allocations: 198.4 kB / 0.8535 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7232, allocations: 345.8 kB / 0.8538 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/0.7238, allocations: 329.8 kB / 0.8541 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/0.7246, allocations: 435.9 kB / 0.8546 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.726, allocations: 0.7617 MB / 0.8553 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.726, allocations: 0 / 0.8553 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002432/0.7285, allocations: 1.029 MB / 0.8563 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.7285, allocations: 8 kB / 0.8563 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.7285, allocations: 4.125 kB / 0.8563 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.7291, allocations: 80.72 kB / 0.8564 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/0.73, allocations: 203.7 kB / 0.8566 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.7323, allocations: 1.648 MB / 0.8582 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/0.7332, allocations: 99.14 kB / 0.8583 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.7334, allocations: 47.95 kB / 0.8583 GB, free: 2.727 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 (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.0007064/0.7341, allocations: 326.4 kB / 0.8586 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.7344, allocations: 94.78 kB / 0.8587 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/0.7374, allocations: 1.29 MB / 0.86 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.7374, allocations: 8 kB / 0.86 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7374, allocations: 3.938 kB / 0.86 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.7374, allocations: 3.984 kB / 0.86 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.7418, allocations: 2.489 MB / 0.8624 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.7419, allocations: 0 / 0.8624 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.7427, allocations: 179.7 kB / 0.8626 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.7431, allocations: 72.78 kB / 0.8627 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/0.7432, allocations: 27.98 kB / 0.8627 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.7453, allocations: 1.674 MB / 0.8643 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7453, allocations: 0 / 0.8643 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.7478, allocations: 1.119 MB / 0.8654 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/0.7484, allocations: 315.5 kB / 0.8657 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.7486, allocations: 35.97 kB / 0.8658 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/0.7494, allocations: 58.75 kB / 0.8658 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.7496, allocations: 72.89 kB / 0.8659 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/0.7497, allocations: 39.92 kB / 0.8659 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000924/0.7506, allocations: 0.5615 MB / 0.8665 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7507, allocations: 0 / 0.8665 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001171/0.7518, allocations: 398.6 kB / 0.8669 GB, free: 9.727 MB / 0.6387 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.001459/0.7533, allocations: 0.6071 MB / 0.8675 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.7555, allocations: 0.9762 MB / 0.8684 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7555, allocations: 0 / 0.8684 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.7566, allocations: 0.5821 MB / 0.869 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.7581, allocations: 326.8 kB / 0.8693 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005227/0.7633, allocations: 2.35 MB / 0.8716 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009056/0.7643, allocations: 1.165 MB / 0.8727 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.7648, allocations: 139.4 kB / 0.8729 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.7648, allocations: 3.938 kB / 0.8729 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of Templates: time 0.03314/0.7979, allocations: 24.12 MB / 0.8964 GB, free: 11.61 MB / 0.67 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++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.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