Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 185.6 kB / 16.92 MB, free: 6.684 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.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.348 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.9906/0.9906, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 12 kB / 0.5171 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1718, allocations: 83.41 MB / 0.5985 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005452/0.1773, allocations: 3.713 MB / 0.6021 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5637/0.741, allocations: 146.6 MB / 0.7453 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009049/0.742, allocations: 15.28 kB / 0.7453 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006956/0.7427, allocations: 126.3 kB / 0.7454 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.7446, allocations: 400.5 kB / 0.7458 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.747, allocations: 0.6931 MB / 0.7465 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001664/0.7486, allocations: 1.105 MB / 0.7475 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.7497, allocations: 0.5791 MB / 0.7481 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006554/0.7504, allocations: 302.7 kB / 0.7484 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.751, allocations: 328.4 kB / 0.7487 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.7511, allocations: 20 kB / 0.7487 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009332/0.752, allocations: 373.4 kB / 0.7491 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.7523, allocations: 167.8 kB / 0.7492 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005094/0.7528, allocations: 417 kB / 0.7496 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.7543, allocations: 1.124 MB / 0.7507 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.7543, allocations: 7.984 kB / 0.7507 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7543, allocations: 3.938 kB / 0.7508 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.816e-05/0.7544, allocations: 0 / 0.7508 GB, free: 15.21 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002584/0.757, allocations: 1.119 MB / 0.7518 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.757, allocations: 16.23 kB / 0.7519 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.7581, allocations: 185.2 kB / 0.752 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.7593, allocations: 0.7134 MB / 0.7527 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.7593, allocations: 57.62 kB / 0.7528 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.7595, allocations: 74.88 kB / 0.7529 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.7611, allocations: 0.8668 MB / 0.7537 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.7611, allocations: 3.938 kB / 0.7537 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/0.7612, allocations: 32 kB / 0.7537 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.7612, allocations: 20 kB / 0.7538 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.7629, allocations: 1.077 MB / 0.7548 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.7668, allocations: 2.393 MB / 0.7571 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.7681, allocations: 0.8013 MB / 0.7579 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/0.7687, allocations: 283 kB / 0.7582 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/0.7688, allocations: 28.59 kB / 0.7582 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008049/0.7696, allocations: 439.1 kB / 0.7586 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 2.084e-06/0.7696, allocations: 0 / 0.7586 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.002939/0.7725, allocations: 1.088 MB / 0.7597 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.7727, allocations: 200.4 kB / 0.7599 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007829/0.7734, allocations: 0.5823 MB / 0.7605 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.7735, allocations: 37.7 kB / 0.7605 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.7738, allocations: 372.3 kB / 0.7609 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.774, allocations: 244.5 kB / 0.7611 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/0.7741, allocations: 57.69 kB / 0.7611 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7743, allocations: 382.8 kB / 0.7615 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.7748, allocations: 237.9 kB / 0.7617 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.7754, allocations: 326.8 kB / 0.7621 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.7764, allocations: 0.5628 MB / 0.7626 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7764, allocations: 0 / 0.7626 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001797/0.7782, allocations: 0.7782 MB / 0.7634 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.7782, allocations: 4 kB / 0.7634 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7783, allocations: 0 / 0.7634 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.7789, allocations: 84.88 kB / 0.7634 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.7795, allocations: 143.8 kB / 0.7636 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.7816, allocations: 1.525 MB / 0.7651 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/0.7823, allocations: 91.39 kB / 0.7652 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.7824, allocations: 34.72 kB / 0.7652 GB, free: 0.5938 MB / 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 (83): * Single equations (assignments): 82 * 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.0004609/0.7828, allocations: 249.7 kB / 0.7654 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.783, allocations: 79.19 kB / 0.7655 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.7853, allocations: 1.014 MB / 0.7665 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.7854, allocations: 8 kB / 0.7665 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7854, allocations: 0 / 0.7665 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.7854, allocations: 3.984 kB / 0.7665 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.7887, allocations: 1.86 MB / 0.7683 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7887, allocations: 4 kB / 0.7683 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.7893, allocations: 147.8 kB / 0.7685 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000536/0.7898, allocations: 84.77 kB / 0.7686 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/0.7899, allocations: 27.92 kB / 0.7686 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.7918, allocations: 1.546 MB / 0.7701 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7918, allocations: 0 / 0.7701 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.7938, allocations: 0.922 MB / 0.771 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.7942, allocations: 275.7 kB / 0.7713 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.7943, allocations: 12 kB / 0.7713 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/0.7949, allocations: 73.47 kB / 0.7713 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.7951, allocations: 60.86 kB / 0.7714 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.7952, allocations: 31.98 kB / 0.7714 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005654/0.7957, allocations: 431 kB / 0.7718 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7957, allocations: 0 / 0.7718 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000908/0.7967, allocations: 287.3 kB / 0.7721 GB, free: 9.27 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 (86): * Single equations (assignments): 83 * 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.001389/0.7981, allocations: 0.6119 MB / 0.7727 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.7997, allocations: 0.7666 MB / 0.7735 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7997, allocations: 0 / 0.7735 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008715/0.8006, allocations: 0.4885 MB / 0.7739 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.8019, allocations: 267.2 kB / 0.7742 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.8062, allocations: 2.153 MB / 0.7763 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.8068, allocations: 0.9957 MB / 0.7773 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.8071, allocations: 111.4 kB / 0.7774 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of SimCode: time 2.395e-06/0.8071, allocations: 0 / 0.7774 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of Templates: time 0.02366/0.8308, allocations: 17 MB / 0.794 GB, free: 3.062 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.o] Error 1