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.0008692/0.000869, allocations: 103 kB / 15.71 MB, free: 460 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.001331/0.001331, allocations: 180.5 kB / 16.59 MB, free: 6.148 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.498/1.498, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2384/0.2384, allocations: 5.38 MB / 297.1 MB, free: 3.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004864, allocations: 11.94 kB / 359.2 MB, free: 1.625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1438, allocations: 51.59 MB / 410.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.TestIrradiance): time 0.001874/0.1457, allocations: 1.327 MB / 412.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1469, allocations: 0.6549 MB / 412.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.147, allocations: 3.938 kB / 412.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1471, allocations: 11.94 kB / 412.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.1474, allocations: 51.73 kB / 412.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.1476, allocations: 99.81 kB / 412.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1479, allocations: 147.5 kB / 413.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.148, allocations: 17.44 kB / 413.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1481, allocations: 75.75 kB / 413.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.1483, allocations: 111.7 kB / 413.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.1484, allocations: 4 kB / 413.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1485, allocations: 55.95 kB / 413.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.1485, allocations: 23.91 kB / 413.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.1486, allocations: 53.62 kB / 413.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1488, allocations: 115.9 kB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1488, allocations: 0 / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1488, allocations: 0 / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.485e-06/0.1488, allocations: 0 / 413.5 MB, free: 11.22 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.0008191/0.1496, allocations: 436.7 kB / 414 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1497, allocations: 11.97 kB / 414 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.1497, allocations: 23.86 kB / 414 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.15, allocations: 198.9 kB / 414.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.15, allocations: 11.94 kB / 414.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1501, allocations: 12 kB / 414.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.1504, allocations: 172.4 kB / 414.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1505, allocations: 0 / 414.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1505, allocations: 4 kB / 414.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1505, allocations: 8 kB / 414.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.1508, allocations: 140.1 kB / 414.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007304/0.1516, allocations: 0.5834 MB / 415.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.1522, allocations: 202.9 kB / 415.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.1524, allocations: 84.95 kB / 415.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.1525, allocations: 81.11 kB / 415.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003699/0.1529, allocations: 216.8 kB / 415.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.1529, allocations: 0 / 415.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007456/0.1536, allocations: 329.5 kB / 416 MB, free: 8.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1538, allocations: 148.5 kB / 416.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1539, allocations: 124.8 kB / 416.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1539, allocations: 33.7 kB / 416.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.154, allocations: 100.4 kB / 416.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.1541, allocations: 78.94 kB / 416.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.1541, allocations: 8 kB / 416.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1543, allocations: 322.8 kB / 416.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.1544, allocations: 71.95 kB / 416.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.1547, allocations: 116.7 kB / 417 MB, free: 7.457 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.004072/0.1587, allocations: 0.6338 MB / 417.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1588, allocations: 0 / 417.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005827/0.1593, allocations: 294.9 kB / 417.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.1594, allocations: 37.69 kB / 417.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1594, allocations: 0 / 417.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1594, allocations: 8 kB / 418 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.1598, allocations: 67.88 kB / 418 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.1598, allocations: 7.938 kB / 418 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.16, allocations: 20.03 kB / 418 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.16, allocations: 15.92 kB / 418.1 MB, free: 6.328 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.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, 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 ($PRE.irradiance.year,irradiance.year,$whenCondition1,$whenCondition2,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.1602, allocations: 171.4 kB / 418.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.1603, allocations: 15.81 kB / 418.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009005/0.1612, allocations: 445 kB / 418.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1612, allocations: 8 kB / 418.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1612, allocations: 0 / 418.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.1612, allocations: 7.938 kB / 418.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.1615, allocations: 305.2 kB / 419 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1615, allocations: 0 / 419 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.1618, allocations: 59.91 kB / 419.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.1618, allocations: 3.984 kB / 419.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.1619, allocations: 12 kB / 419.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1619, allocations: 0 / 419.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1619, allocations: 3.938 kB / 419.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008615/0.1627, allocations: 0.4925 MB / 419.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.1628, allocations: 96.77 kB / 419.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.1629, allocations: 12 kB / 419.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.163, allocations: 15.92 kB / 419.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.1631, allocations: 27.91 kB / 419.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.1632, allocations: 19.98 kB / 419.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.205e-05/0.1633, allocations: 115.3 kB / 419.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1633, allocations: 0 / 419.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1636, allocations: 64 kB / 419.9 MB, free: 4.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001807/0.1638, allocations: 123.7 kB / 420 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.1644, allocations: 283.1 kB / 420.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1644, allocations: 0 / 420.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.1647, allocations: 231.4 kB / 420.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.165, allocations: 39.92 kB / 420.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.1659, allocations: 0.5547 MB / 421.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1662, allocations: 0.729 MB / 421.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1663, allocations: 39.41 kB / 421.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1663, allocations: 3.938 kB / 421.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Templates: time 0.2295/0.3958, allocations: 2.927 MB / 424.8 MB, free: 44.3 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.TestIrradiance.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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