Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007912/0.007912, allocations: 98.67 kB / 15.88 MB, free: 6.316 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.001972/0.001972, allocations: 194.5 kB / 16.79 MB, free: 6.242 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.594 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 0.9793/0.9793, allocations: 143 MB / 433.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 67.91 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2027, allocations: 82.04 MB / 0.5943 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006421/0.2092, allocations: 4.075 MB / 0.5982 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5642/0.7735, allocations: 148.1 MB / 0.7429 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009993/0.7745, allocations: 18.88 kB / 0.7429 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008384/0.7754, allocations: 130.9 kB / 0.7431 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.7773, allocations: 404.8 kB / 0.7434 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.7797, allocations: 0.6872 MB / 0.7441 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.7814, allocations: 1.088 MB / 0.7452 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.7825, allocations: 0.5929 MB / 0.7458 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008248/0.7834, allocations: 371.1 kB / 0.7461 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007561/0.7841, allocations: 416 kB / 0.7465 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.7844, allocations: 50.81 kB / 0.7466 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.7856, allocations: 398.1 kB / 0.7469 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.7859, allocations: 221.1 kB / 0.7471 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007273/0.7867, allocations: 447.5 kB / 0.7476 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.7883, allocations: 1.168 MB / 0.7487 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7883, allocations: 0 / 0.7487 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7883, allocations: 4 kB / 0.7487 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.439e-05/0.7884, allocations: 0 / 0.7487 GB, free: 15.07 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003518/0.7919, allocations: 1.314 MB / 0.75 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.792, allocations: 9.625 kB / 0.75 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.7932, allocations: 176.6 kB / 0.7502 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.7945, allocations: 0.7076 MB / 0.7509 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.7946, allocations: 61.94 kB / 0.7509 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.48e-05/0.7947, allocations: 76 kB / 0.751 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.7962, allocations: 0.8528 MB / 0.7518 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.7962, allocations: 4.5 kB / 0.7518 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.167e-05/0.7963, allocations: 32 kB / 0.7519 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.7963, allocations: 16 kB / 0.7519 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.7979, allocations: 1.061 MB / 0.7529 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.8016, allocations: 2.378 MB / 0.7552 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.8029, allocations: 0.8045 MB / 0.756 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.8034, allocations: 271.8 kB / 0.7563 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.822e-05/0.8035, allocations: 36.52 kB / 0.7563 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008013/0.8043, allocations: 417.8 kB / 0.7567 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.214e-06/0.8043, allocations: 4 kB / 0.7567 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.00296/0.8073, allocations: 1.07 MB / 0.7578 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.8074, allocations: 188.5 kB / 0.7579 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007703/0.8082, allocations: 0.5822 MB / 0.7585 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.8082, allocations: 37.7 kB / 0.7586 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.8085, allocations: 364.3 kB / 0.7589 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.8088, allocations: 236.6 kB / 0.7591 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.809, allocations: 146.5 kB / 0.7593 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8091, allocations: 374.8 kB / 0.7596 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.8096, allocations: 241.9 kB / 0.7599 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.8102, allocations: 324.2 kB / 0.7602 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009821/0.8112, allocations: 0.5468 MB / 0.7607 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8112, allocations: 0 / 0.7607 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001896/0.8131, allocations: 0.7587 MB / 0.7614 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.8132, allocations: 8 kB / 0.7614 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.8132, allocations: 0 / 0.7614 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006641/0.8138, allocations: 85.42 kB / 0.7615 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.8145, allocations: 143.8 kB / 0.7617 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.8166, allocations: 1.531 MB / 0.7632 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/0.8174, allocations: 71.62 kB / 0.7632 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.701e-05/0.8175, allocations: 36.67 kB / 0.7633 GB, free: 56 kB / 0.5762 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.0004979/0.818, allocations: 261.6 kB / 0.7635 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.8182, allocations: 71.16 kB / 0.7636 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.8206, allocations: 0.9652 MB / 0.7645 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.8206, allocations: 8 kB / 0.7645 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.8206, allocations: 3.984 kB / 0.7645 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.8206, allocations: 7.922 kB / 0.7645 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/0.824, allocations: 1.828 MB / 0.7663 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.8241, allocations: 7.922 kB / 0.7663 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.8246, allocations: 127.9 kB / 0.7665 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005614/0.8252, allocations: 92.7 kB / 0.7665 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/0.8253, allocations: 19.98 kB / 0.7666 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.8274, allocations: 1.563 MB / 0.7681 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8274, allocations: 0 / 0.7681 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.8294, allocations: 0.8985 MB / 0.769 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/0.8299, allocations: 251.8 kB / 0.7692 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.8301, allocations: 21.31 kB / 0.7692 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006377/0.8307, allocations: 52.8 kB / 0.7693 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.8309, allocations: 56.91 kB / 0.7693 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/0.831, allocations: 31.98 kB / 0.7694 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000666/0.8316, allocations: 423 kB / 0.7698 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8317, allocations: 0 / 0.7698 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001067/0.8327, allocations: 283.4 kB / 0.77 GB, free: 8.879 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 (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.001577/0.8343, allocations: 0.5973 MB / 0.7706 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.836, allocations: 0.7474 MB / 0.7714 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.836, allocations: 0 / 0.7714 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.8371, allocations: 0.4886 MB / 0.7718 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.8383, allocations: 267.8 kB / 0.7721 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/0.8429, allocations: 2.044 MB / 0.7741 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.8436, allocations: 0.9916 MB / 0.775 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.8439, allocations: 107.4 kB / 0.7752 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of SimCode: time 3.086e-06/0.8439, allocations: 0 / 0.7752 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of Templates: time 0.02682/0.8708, allocations: 17.05 MB / 0.7918 GB, free: 2.773 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o] Error 1