Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 100.1 kB / 15.88 MB, free: 12 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.002625/0.002625, allocations: 194.9 kB / 16.79 MB, free: 6.863 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.58/1.58, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002376/0.002376, allocations: 302.4 kB / 290.9 MB, free: 2.051 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.2 MB / 0.4983 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 95.09 kB / 0.5951 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2416, allocations: 86.98 MB / 0.6801 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003961/0.2457, allocations: 1.648 MB / 0.6817 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2471, allocations: 0.6611 MB / 0.6823 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.2472, allocations: 0 / 0.6823 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.2474, allocations: 76.42 kB / 0.6824 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.2478, allocations: 97.94 kB / 0.6825 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.2482, allocations: 77.77 kB / 0.6826 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.2484, allocations: 123.7 kB / 0.6827 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.2485, allocations: 16.61 kB / 0.6827 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.2488, allocations: 63.81 kB / 0.6828 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.249, allocations: 103.8 kB / 0.6829 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.249, allocations: 4 kB / 0.6829 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.2492, allocations: 71.94 kB / 0.6829 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.2493, allocations: 31.84 kB / 0.683 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.734e-05/0.2494, allocations: 59.59 kB / 0.683 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.2496, allocations: 116 kB / 0.6831 GB, free: 14.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.2496, allocations: 0 / 0.6831 GB, free: 14.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.738e-06/0.2496, allocations: 4 kB / 0.6831 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2496, allocations: 3.938 kB / 0.6831 GB, free: 14.02 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00106/0.2507, allocations: 484.3 kB / 0.6836 GB, free: 13.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.2508, allocations: 8.031 kB / 0.6836 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/0.2509, allocations: 16.75 kB / 0.6836 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.2512, allocations: 208.6 kB / 0.6838 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2512, allocations: 4.375 kB / 0.6838 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.2512, allocations: 4.375 kB / 0.6838 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.2515, allocations: 130.2 kB / 0.684 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2515, allocations: 7.984 kB / 0.684 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2515, allocations: 0 / 0.684 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2515, allocations: 0 / 0.684 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.2517, allocations: 67.97 kB / 0.684 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.2522, allocations: 424.8 kB / 0.6844 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.2524, allocations: 109.2 kB / 0.6845 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.2525, allocations: 81.78 kB / 0.6846 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2525, allocations: 4 kB / 0.6846 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.2528, allocations: 170.7 kB / 0.6848 GB, free: 12.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2528, allocations: 0 / 0.6848 GB, free: 12.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005373/0.2533, allocations: 335 kB / 0.6851 GB, free: 11.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.2534, allocations: 114.7 kB / 0.6852 GB, free: 11.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.2536, allocations: 214.3 kB / 0.6854 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.2537, allocations: 33.7 kB / 0.6855 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.2538, allocations: 108.1 kB / 0.6856 GB, free: 11.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.2538, allocations: 43.69 kB / 0.6856 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.2539, allocations: 25.72 kB / 0.6856 GB, free: 11.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.254, allocations: 334.8 kB / 0.6859 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.2541, allocations: 59.98 kB / 0.686 GB, free: 10.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.2542, allocations: 81.61 kB / 0.6861 GB, free: 10.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.2544, allocations: 197.3 kB / 0.6863 GB, free: 10.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2544, allocations: 0 / 0.6863 GB, free: 10.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003313/0.2548, allocations: 275.1 kB / 0.6865 GB, free: 10.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.2548, allocations: 39.73 kB / 0.6866 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2548, allocations: 3.984 kB / 0.6866 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2548, allocations: 0 / 0.6866 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.2549, allocations: 12 kB / 0.6866 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.255, allocations: 4.172 kB / 0.6866 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.2551, allocations: 7.984 kB / 0.6866 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2551, allocations: 4 kB / 0.6866 GB, free: 10.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.2553, allocations: 184.8 kB / 0.6868 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.2553, allocations: 19.81 kB / 0.6868 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.2555, allocations: 103 kB / 0.6869 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2556, allocations: 4 kB / 0.6869 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2556, allocations: 0 / 0.6869 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2556, allocations: 0 / 0.6869 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.2558, allocations: 233.5 kB / 0.6871 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2558, allocations: 0 / 0.6871 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.2559, allocations: 19.92 kB / 0.6871 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2559, allocations: 4 kB / 0.6871 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.2559, allocations: 4 kB / 0.6871 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2559, allocations: 0 / 0.6871 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2559, allocations: 3.984 kB / 0.6872 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.2563, allocations: 339.2 kB / 0.6875 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.2564, allocations: 104.9 kB / 0.6876 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.2565, allocations: 4 kB / 0.6876 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.2566, allocations: 12 kB / 0.6876 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.2566, allocations: 7.984 kB / 0.6876 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.2566, allocations: 8 kB / 0.6876 GB, free: 9.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.2568, allocations: 164.2 kB / 0.6878 GB, free: 8.859 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2568, allocations: 0 / 0.6878 GB, free: 8.859 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.2571, allocations: 48 kB / 0.6878 GB, free: 8.812 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002072/0.2573, allocations: 129.4 kB / 0.6879 GB, free: 8.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.2576, allocations: 259.4 kB / 0.6882 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2576, allocations: 0 / 0.6882 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.2578, allocations: 163.3 kB / 0.6883 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.258, allocations: 13.3 kB / 0.6883 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.2587, allocations: 419.8 kB / 0.6887 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.259, allocations: 0.7277 MB / 0.6895 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.2591, allocations: 15.42 kB / 0.6895 GB, free: 7.012 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2591, allocations: 0 / 0.6895 GB, free: 7.012 MB / 494.1 MB Notification: Performance of Templates: time 0.003963/0.263, allocations: 1.859 MB / 0.6913 GB, free: 5.164 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile clang++ -std=c++14 NOTFOUND -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.DeclinationCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.DeclinationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.DeclinationCalcHelperMain.o] Error 1