Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.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/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.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(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1051200,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") translateModel(PhotoVoltaics.ComponentTesting.TestIrradiance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1051200,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007745/0.0007746, allocations: 98.72 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.0008788/0.0008791, allocations: 184.9 kB / 16.92 MB, free: 6.895 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.534/1.534, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1602/0.1602, allocations: 5.372 MB / 297.5 MB, free: 4.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 8.234 kB / 359.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 51.6 MB / 411.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.002101/0.1257, allocations: 1.357 MB / 412.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1272, allocations: 0.7013 MB / 413.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1274, allocations: 0 / 413.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.1275, allocations: 3.938 kB / 413.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.1278, allocations: 55.73 kB / 413.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.1282, allocations: 111.8 kB / 413.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.1284, allocations: 167.5 kB / 413.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1286, allocations: 17.39 kB / 413.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.1288, allocations: 71.75 kB / 413.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.1291, allocations: 115.6 kB / 414 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.1291, allocations: 8 kB / 414 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.1293, allocations: 59.95 kB / 414.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.1293, allocations: 23.91 kB / 414.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1294, allocations: 89.41 kB / 414.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1296, allocations: 119.9 kB / 414.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1296, allocations: 0 / 414.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1297, allocations: 0 / 414.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1297, allocations: 0 / 414.3 MB, free: 10.71 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009414/0.1306, allocations: 440.8 kB / 414.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1307, allocations: 8.031 kB / 414.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.1307, allocations: 12.84 kB / 414.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.131, allocations: 214.6 kB / 415 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.1311, allocations: 8.375 kB / 415 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.1311, allocations: 16.31 kB / 415 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.1316, allocations: 184.4 kB / 415.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1316, allocations: 0 / 415.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.1317, allocations: 7.984 kB / 415.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1317, allocations: 0 / 415.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.132, allocations: 139.8 kB / 415.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/0.1329, allocations: 0.5945 MB / 415.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.1336, allocations: 198.7 kB / 416.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.1338, allocations: 84.77 kB / 416.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.1339, allocations: 85.09 kB / 416.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/0.1343, allocations: 206.7 kB / 416.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.1343, allocations: 0 / 416.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008459/0.1352, allocations: 337.2 kB / 416.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.1353, allocations: 144.5 kB / 416.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1354, allocations: 122.1 kB / 417.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.1355, allocations: 37.69 kB / 417.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.1355, allocations: 100.4 kB / 417.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/0.1356, allocations: 78.89 kB / 417.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.1357, allocations: 29.7 kB / 417.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.1358, allocations: 322.8 kB / 417.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.136, allocations: 71.95 kB / 417.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.1362, allocations: 120.2 kB / 417.8 MB, free: 6.895 MB / 350.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.005188/0.1414, allocations: 0.84 MB / 418.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1415, allocations: 4 kB / 418.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006452/0.1421, allocations: 283.1 kB / 418.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/0.1422, allocations: 41.62 kB / 419 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1422, allocations: 0 / 419 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.1422, allocations: 4.125 kB / 419 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.1426, allocations: 67.86 kB / 419 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1426, allocations: 4 kB / 419 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.1429, allocations: 15.81 kB / 419.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.1429, allocations: 15.98 kB / 419.1 MB, free: 5.547 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 (irradiance.year,$PRE.irradiance.year,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,$whenCondition2,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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.0002472/0.1432, allocations: 179.9 kB / 419.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1432, allocations: 15.84 kB / 419.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.1442, allocations: 449 kB / 419.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1443, allocations: 4 kB / 419.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1443, allocations: 0 / 419.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1443, allocations: 3.984 kB / 419.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.1446, allocations: 301.3 kB / 420 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1446, allocations: 0 / 420 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.1449, allocations: 59.89 kB / 420.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.145, allocations: 11.94 kB / 420.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.145, allocations: 15.98 kB / 420.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.145, allocations: 0 / 420.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.145, allocations: 0 / 420.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/0.146, allocations: 0.4963 MB / 420.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.1461, allocations: 100.8 kB / 420.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.1461, allocations: 8 kB / 420.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.1463, allocations: 16.05 kB / 420.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.1464, allocations: 35.89 kB / 420.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.1464, allocations: 12 kB / 420.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.275e-05/0.1465, allocations: 113.4 kB / 420.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1465, allocations: 0 / 420.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1469, allocations: 68 kB / 420.9 MB, free: 3.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays) * Number of discrete states: 6 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition2,irradiance.dayOfYear,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0001888/0.1471, allocations: 115.2 kB / 421 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006502/0.1478, allocations: 291.3 kB / 421.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1478, allocations: 0 / 421.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.1481, allocations: 231.2 kB / 421.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.1484, allocations: 39.09 kB / 421.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1495, allocations: 0.5705 MB / 422.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1498, allocations: 0.7368 MB / 422.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1499, allocations: 39.34 kB / 422.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1499, allocations: 3.938 kB / 422.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Templates: time 0.2261/0.376, allocations: 2.928 MB / 425.9 MB, free: 43.74 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.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 OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradianceCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradianceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradianceCalcHelperMain.o] Error 1