Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001251/0.001251, 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.001377/0.001377, allocations: 220.3 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8866/0.8866, allocations: 145 MB / 458.2 MB, free: 15.28 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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [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.00207/0.00207, allocations: 69.69 kB / 0.6343 GB, free: 6.227 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1694, allocations: 87.89 MB / 0.7201 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005852/0.1753, allocations: 3.736 MB / 0.7238 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5196/0.6949, allocations: 132.5 MB / 0.8532 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007153/0.6956, allocations: 23.81 kB / 0.8532 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.6963, allocations: 172.7 kB / 0.8534 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.6982, allocations: 495.7 kB / 0.8539 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.7004, allocations: 0.8233 MB / 0.8547 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.702, allocations: 1.172 MB / 0.8558 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008916/0.7029, allocations: 420.3 kB / 0.8562 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007666/0.7036, allocations: 446.5 kB / 0.8566 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.7043, allocations: 398 kB / 0.857 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.7046, allocations: 104 kB / 0.8571 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.7057, allocations: 477.6 kB / 0.8576 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.7061, allocations: 271.1 kB / 0.8578 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.7066, allocations: 398 kB / 0.8582 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.7087, allocations: 1.587 MB / 0.8598 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7087, allocations: 0 / 0.8598 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7087, allocations: 4 kB / 0.8598 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.7087, allocations: 0 / 0.8598 GB, free: 11.93 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002152/0.7109, allocations: 1.288 MB / 0.861 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.7109, allocations: 8.031 kB / 0.861 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.7123, allocations: 220.1 kB / 0.8612 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.7135, allocations: 0.6711 MB / 0.8619 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.7135, allocations: 57.94 kB / 0.862 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-05/0.7136, allocations: 76 kB / 0.862 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.7153, allocations: 1.091 MB / 0.8631 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.7153, allocations: 1.594 kB / 0.8631 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.7154, allocations: 32 kB / 0.8631 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.7154, allocations: 20 kB / 0.8631 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.7171, allocations: 1.003 MB / 0.8641 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/0.7206, allocations: 1.939 MB / 0.866 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.7219, allocations: 0.6644 MB / 0.8667 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004662/0.7224, allocations: 243.2 kB / 0.8669 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.7224, allocations: 24.62 kB / 0.8669 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008298/0.7233, allocations: 0.502 MB / 0.8674 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.785e-06/0.7233, allocations: 4 kB / 0.8674 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.00294/0.7262, allocations: 0.991 MB / 0.8684 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.7263, allocations: 188.6 kB / 0.8686 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007631/0.7271, allocations: 0.546 MB / 0.8691 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.7272, allocations: 37.7 kB / 0.8691 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.7275, allocations: 384.6 kB / 0.8695 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.7277, allocations: 250 kB / 0.8697 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.728, allocations: 150.5 kB / 0.8699 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.7281, allocations: 374.8 kB / 0.8702 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.7286, allocations: 229.9 kB / 0.8705 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.7292, allocations: 443.3 kB / 0.8709 GB, free: 160 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.7302, allocations: 0.5434 MB / 0.8714 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7302, allocations: 0 / 0.8714 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00179/0.732, allocations: 0.7552 MB / 0.8722 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.732, allocations: 4 kB / 0.8722 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.732, allocations: 0 / 0.8722 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/0.7326, allocations: 84.86 kB / 0.8722 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.7332, allocations: 143.8 kB / 0.8724 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.7353, allocations: 1.486 MB / 0.8738 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.7359, allocations: 75.59 kB / 0.8739 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.7359, allocations: 39.72 kB / 0.8739 GB, free: 12.9 MB / 0.6544 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.0004227/0.7363, allocations: 252.3 kB / 0.8742 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.7365, allocations: 71.53 kB / 0.8742 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.7387, allocations: 0.9562 MB / 0.8752 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.7387, allocations: 8 kB / 0.8752 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.7387, allocations: 0 / 0.8752 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.7387, allocations: 7.969 kB / 0.8752 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.7417, allocations: 1.559 MB / 0.8767 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7417, allocations: 0 / 0.8767 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.7422, allocations: 139.8 kB / 0.8768 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.7426, allocations: 76.78 kB / 0.8769 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.7427, allocations: 19.98 kB / 0.8769 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.7447, allocations: 1.536 MB / 0.8784 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7447, allocations: 0 / 0.8784 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.7465, allocations: 0.8878 MB / 0.8793 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.7469, allocations: 175.2 kB / 0.8795 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/0.747, allocations: 12 kB / 0.8795 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.7475, allocations: 51.94 kB / 0.8795 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.7476, allocations: 64.89 kB / 0.8796 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.18e-05/0.7477, allocations: 28.98 kB / 0.8796 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005376/0.7482, allocations: 402.8 kB / 0.88 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7482, allocations: 0 / 0.88 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008674/0.7491, allocations: 291.1 kB / 0.8803 GB, free: 6.215 MB / 0.6544 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.002119/0.7512, allocations: 0.6427 MB / 0.8809 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.7528, allocations: 0.7159 MB / 0.8816 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7528, allocations: 0 / 0.8816 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008408/0.7536, allocations: 456.5 kB / 0.8821 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.7548, allocations: 289.5 kB / 0.8823 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.7588, allocations: 1.685 MB / 0.884 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.7594, allocations: 406 kB / 0.8844 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.7597, allocations: 107.4 kB / 0.8845 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of SimCode: time 1.984e-06/0.7597, allocations: 4 kB / 0.8845 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of Templates: time 0.02818/0.7879, allocations: 17.33 MB / 0.9014 GB, free: 0.7969 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.331401268951595] Failed to read output from testmodel.py, exit status != 0: 0.7975725186988711 0.813507641 0.10159792999999995 Calling exit ...