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.0008987/0.0008987, allocations: 92.16 kB / 16.02 MB, free: 80 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.001221/0.001221, allocations: 173.2 kB / 16.92 MB, free: 6.652 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.564/1.564, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002202/0.002201, allocations: 255.1 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004565, allocations: 18.73 kB / 0.5993 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.234, allocations: 88.54 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00191/0.236, allocations: 1.31 MB / 0.6871 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2371, allocations: 0.6429 MB / 0.6877 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.2372, allocations: 4 kB / 0.6877 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.2374, allocations: 78.53 kB / 0.6878 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.2376, allocations: 99.73 kB / 0.6879 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.2379, allocations: 73.41 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.2381, allocations: 123.7 kB / 0.688 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2382, allocations: 12.48 kB / 0.6881 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.2384, allocations: 65.89 kB / 0.6881 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.2385, allocations: 103.8 kB / 0.6882 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.2386, allocations: 0 / 0.6882 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.2387, allocations: 71.94 kB / 0.6883 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.2388, allocations: 40.52 kB / 0.6883 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.2389, allocations: 76.78 kB / 0.6884 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.239, allocations: 116 kB / 0.6885 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.2391, allocations: 0 / 0.6885 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.2391, allocations: 0 / 0.6885 GB, free: 12.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.2391, allocations: 3.938 kB / 0.6885 GB, free: 12.29 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.0007023/0.2398, allocations: 456.5 kB / 0.6889 GB, free: 11.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2398, allocations: 12.03 kB / 0.689 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.2399, allocations: 21.58 kB / 0.689 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.2401, allocations: 204.7 kB / 0.6892 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2401, allocations: 1.031 kB / 0.6892 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.2402, allocations: 12.3 kB / 0.6892 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.2404, allocations: 133 kB / 0.6893 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2404, allocations: 0 / 0.6893 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2404, allocations: 0.6562 kB / 0.6893 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.2404, allocations: 4.812 kB / 0.6893 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.2406, allocations: 67.97 kB / 0.6894 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.241, allocations: 415.5 kB / 0.6898 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.2412, allocations: 109.8 kB / 0.6899 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2414, allocations: 85.78 kB / 0.69 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.2414, allocations: 0 / 0.69 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.2417, allocations: 178.7 kB / 0.6901 GB, free: 10.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.2417, allocations: 0 / 0.6901 GB, free: 10.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.000535/0.2422, allocations: 335.2 kB / 0.6905 GB, free: 10.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.2423, allocations: 110.8 kB / 0.6906 GB, free: 9.953 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.2425, allocations: 222.2 kB / 0.6908 GB, free: 9.723 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.2426, allocations: 29.7 kB / 0.6908 GB, free: 9.688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.2426, allocations: 116 kB / 0.6909 GB, free: 9.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.2427, allocations: 31.55 kB / 0.6909 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.2427, allocations: 21.72 kB / 0.691 GB, free: 9.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2429, allocations: 330.8 kB / 0.6913 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.243, allocations: 59.98 kB / 0.6913 GB, free: 9.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.514e-05/0.2431, allocations: 83.78 kB / 0.6914 GB, free: 9.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.2433, allocations: 193 kB / 0.6916 GB, free: 8.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2433, allocations: 0 / 0.6916 GB, free: 8.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003326/0.2436, allocations: 271.4 kB / 0.6919 GB, free: 8.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.2437, allocations: 41.69 kB / 0.6919 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2437, allocations: 0 / 0.6919 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2437, allocations: 64 / 0.6919 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.2438, allocations: 16 kB / 0.6919 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2438, allocations: 0 / 0.6919 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.2439, allocations: 23.83 kB / 0.6919 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.244, allocations: 4 kB / 0.6919 GB, free: 8.461 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.0001633/0.2441, allocations: 180.9 kB / 0.6921 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.2442, allocations: 23.8 kB / 0.6921 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.2444, allocations: 95.06 kB / 0.6922 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2444, allocations: 4 kB / 0.6922 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2444, allocations: 0 / 0.6922 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.2444, allocations: 4 kB / 0.6922 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.2446, allocations: 229.5 kB / 0.6925 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2446, allocations: 0 / 0.6925 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.2447, allocations: 19.92 kB / 0.6925 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2447, allocations: 0 / 0.6925 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2447, allocations: 4 kB / 0.6925 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2447, allocations: 4 kB / 0.6925 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2447, allocations: 0 / 0.6925 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.2451, allocations: 346 kB / 0.6928 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.2453, allocations: 108.9 kB / 0.6929 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.2453, allocations: 4 kB / 0.6929 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.205e-05/0.2454, allocations: 8 kB / 0.6929 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.2454, allocations: 7.984 kB / 0.6929 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.2455, allocations: 11.98 kB / 0.6929 GB, free: 7.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.2456, allocations: 164.2 kB / 0.6931 GB, free: 7.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2456, allocations: 0 / 0.6931 GB, free: 7.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.2459, allocations: 47.98 kB / 0.6931 GB, free: 7.113 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.0001942/0.2461, allocations: 131.2 kB / 0.6933 GB, free: 6.977 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.2464, allocations: 247.2 kB / 0.6935 GB, free: 6.723 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2464, allocations: 0 / 0.6935 GB, free: 6.723 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.2466, allocations: 159.3 kB / 0.6937 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.2468, allocations: 15.98 kB / 0.6937 GB, free: 6.539 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.2475, allocations: 422.6 kB / 0.6941 GB, free: 6.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.2478, allocations: 0.7278 MB / 0.6948 GB, free: 5.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.2478, allocations: 15.38 kB / 0.6948 GB, free: 5.316 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2478, allocations: 0 / 0.6948 GB, free: 5.316 MB / 494.1 MB Notification: Performance of Templates: time 0.003851/0.2517, allocations: 1.846 MB / 0.6966 GB, free: 3.488 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