Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006034/0.006034, allocations: 100.1 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 187 kB / 16.79 MB, free: 5.805 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1879/0.1879, allocations: 5.384 MB / 296 MB, free: 2.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 360.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1239, allocations: 50.61 MB / 411.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.005264/0.1292, allocations: 3.329 MB / 414.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.1318, allocations: 1.215 MB / 415.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005263/0.1323, allocations: 4 kB / 416 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009066/0.1333, allocations: 195 kB / 416.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006649/0.134, allocations: 123.1 kB / 416.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1343, allocations: 99.91 kB / 416.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.1349, allocations: 498 kB / 416.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.1352, allocations: 108 kB / 417 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.1354, allocations: 179.2 kB / 417.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.1356, allocations: 211 kB / 417.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.1357, allocations: 28 kB / 417.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1358, allocations: 35.98 kB / 417.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.019e-05/0.1359, allocations: 79.59 kB / 417.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.1361, allocations: 187 kB / 417.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.1365, allocations: 387.1 kB / 418 MB, free: 5.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1365, allocations: 0 / 418 MB, free: 5.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1365, allocations: 0 / 418 MB, free: 5.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1365, allocations: 0 / 418 MB, free: 5.293 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001966/0.1385, allocations: 0.7829 MB / 418.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1385, allocations: 8.031 kB / 418.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.035e-05/0.1386, allocations: 40.47 kB / 418.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009528/0.1396, allocations: 456.1 kB / 419.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.1396, allocations: 24.55 kB / 419.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.1397, allocations: 20 kB / 419.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.1402, allocations: 283.3 kB / 419.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1403, allocations: 0 / 419.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.1403, allocations: 8 kB / 419.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1403, allocations: 8 kB / 419.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.1408, allocations: 228.9 kB / 419.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.1429, allocations: 1.269 MB / 421.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.1433, allocations: 150.5 kB / 421.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.1436, allocations: 104.8 kB / 421.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1437, allocations: 4 kB / 421.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1437, allocations: 34.55 kB / 421.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.1437, allocations: 0 / 421.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007085/0.1444, allocations: 245.1 kB / 421.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1445, allocations: 55.41 kB / 421.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.1449, allocations: 373.6 kB / 422.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1449, allocations: 25.7 kB / 422.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1451, allocations: 211.7 kB / 422.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.1451, allocations: 31.78 kB / 422.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1452, allocations: 53.59 kB / 422.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1454, allocations: 346.8 kB / 422.7 MB, free: 324 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.1456, allocations: 91.94 kB / 422.8 MB, free: 232 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.1458, allocations: 130 kB / 423 MB, free: 92 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2126/0.3584, allocations: 199.4 kB / 423.1 MB, free: 47.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.3585, allocations: 1.5 kB / 423.1 MB, free: 47.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001031/0.3595, allocations: 344.8 kB / 423.5 MB, free: 47.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3595, allocations: 6.625 kB / 423.5 MB, free: 47.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.3596, allocations: 0 / 423.5 MB, free: 47.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004805/0.36, allocations: 74.61 kB / 423.6 MB, free: 47.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.3604, allocations: 61.22 kB / 423.6 MB, free: 47.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.3617, allocations: 1.457 MB / 425.1 MB, free: 46.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.3621, allocations: 38.36 kB / 425.1 MB, free: 46.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.3621, allocations: 8.156 kB / 425.1 MB, free: 46.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.3623, allocations: 143 kB / 425.3 MB, free: 46.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.3624, allocations: 32.34 kB / 425.3 MB, free: 46.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.3624, allocations: 34.89 kB / 425.3 MB, free: 46.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3625, allocations: 2.984 kB / 425.3 MB, free: 46.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.3625, allocations: 0 / 425.3 MB, free: 46.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3625, allocations: 0.75 kB / 425.3 MB, free: 46.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008304/0.3633, allocations: 0.5913 MB / 425.9 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3633, allocations: 2.906 kB / 425.9 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.3635, allocations: 33.39 kB / 426 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3635, allocations: 0.7031 kB / 426 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3635, allocations: 8.016 kB / 426 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.3635, allocations: 3.188 kB / 426 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3635, allocations: 0 / 426 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.3639, allocations: 295.2 kB / 426.3 MB, free: 45.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.364, allocations: 124 kB / 426.4 MB, free: 45.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.3641, allocations: 3.219 kB / 426.4 MB, free: 45.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3643, allocations: 16.03 kB / 426.4 MB, free: 45.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.3644, allocations: 6.359 kB / 426.4 MB, free: 45.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3644, allocations: 6.453 kB / 426.4 MB, free: 45.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.3646, allocations: 262.5 kB / 426.7 MB, free: 45.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3646, allocations: 2.656 kB / 426.7 MB, free: 45.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003364/0.365, allocations: 68.03 kB / 426.7 MB, free: 45.73 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001331/0.3651, allocations: 101.9 kB / 426.8 MB, free: 45.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000689/0.3658, allocations: 332.9 kB / 427.2 MB, free: 45.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3658, allocations: 3.062 kB / 427.2 MB, free: 45.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.366, allocations: 73.41 kB / 427.2 MB, free: 45.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.3666, allocations: 71.11 kB / 427.3 MB, free: 45.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.3676, allocations: 0.6779 MB / 428 MB, free: 45.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3678, allocations: 0.7715 MB / 428.8 MB, free: 44.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.674e-05/0.3679, allocations: 26.83 kB / 428.8 MB, free: 44.43 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.368, allocations: 0 / 428.8 MB, free: 44.43 MB / 350.1 MB Notification: Performance of Templates: time 0.006213/0.3742, allocations: 4.927 MB / 433.7 MB, free: 44.08 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.Examples.SimpleCellVoltageSourceCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSourceCalcHelperMain.o] Error 1