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.001014/0.001014, allocations: 92.39 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.001428/0.001428, allocations: 178.6 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.494/1.494, allocations: 223.2 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2004/0.2004, allocations: 5.377 MB / 297.4 MB, free: 3.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 8 kB / 363.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 51.6 MB / 414.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003738/0.1333, allocations: 2.948 MB / 417.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1353, allocations: 1.204 MB / 419 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.1355, allocations: 4 kB / 419 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005319/0.1361, allocations: 199 kB / 419.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.1364, allocations: 127.1 kB / 419.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.1365, allocations: 95.91 kB / 419.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004862/0.137, allocations: 498.1 kB / 419.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.1373, allocations: 104 kB / 420 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.1375, allocations: 171.2 kB / 420.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1377, allocations: 203 kB / 420.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.1378, allocations: 24 kB / 420.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.705e-05/0.1379, allocations: 31.98 kB / 420.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.138, allocations: 75.66 kB / 420.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.1382, allocations: 208.6 kB / 420.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.1386, allocations: 374.9 kB / 421.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1386, allocations: 0 / 421.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1386, allocations: 4 kB / 421.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1386, allocations: 0 / 421.1 MB, free: 3.848 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.001744/0.1403, allocations: 0.7208 MB / 421.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1404, allocations: 16.02 kB / 421.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.557e-05/0.1405, allocations: 44.41 kB / 421.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.1414, allocations: 464.1 kB / 422.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.1415, allocations: 24.56 kB / 422.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.1415, allocations: 16 kB / 422.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.1421, allocations: 299.3 kB / 422.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1421, allocations: 0 / 422.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.1422, allocations: 4 kB / 422.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.1422, allocations: 8 kB / 422.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.1428, allocations: 256.9 kB / 422.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.145, allocations: 1.296 MB / 424.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.1454, allocations: 166.5 kB / 424.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.1457, allocations: 112.8 kB / 424.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1457, allocations: 0 / 424.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1458, allocations: 38.56 kB / 424.5 MB, free: 200 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1458, allocations: 0 / 424.5 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.2205/0.3663, allocations: 279 kB / 424.8 MB, free: 45.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.3663, allocations: 63.83 kB / 424.8 MB, free: 45.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.3668, allocations: 358.7 kB / 425.2 MB, free: 45.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3668, allocations: 31.05 kB / 425.2 MB, free: 45.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.367, allocations: 211.5 kB / 425.4 MB, free: 45.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.367, allocations: 30.06 kB / 425.5 MB, free: 45.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3671, allocations: 25.44 kB / 425.5 MB, free: 45.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.3671, allocations: 341.9 kB / 425.8 MB, free: 44.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.3674, allocations: 105.5 kB / 425.9 MB, free: 44.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.3677, allocations: 140.4 kB / 426.1 MB, free: 44.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005359/0.3682, allocations: 224.1 kB / 426.3 MB, free: 44.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3683, allocations: 0 / 426.3 MB, free: 44.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009683/0.3692, allocations: 376.1 kB / 426.6 MB, free: 44.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3693, allocations: 7.438 kB / 426.7 MB, free: 44.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3693, allocations: 0 / 426.7 MB, free: 44.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.3697, allocations: 75.12 kB / 426.7 MB, free: 44.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.3701, allocations: 66.61 kB / 426.8 MB, free: 44.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.3712, allocations: 1.45 MB / 428.2 MB, free: 43.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.3715, allocations: 47.14 kB / 428.3 MB, free: 43.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.3715, allocations: 8.625 kB / 428.3 MB, free: 43.45 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.0001246/0.3717, allocations: 150.3 kB / 428.4 MB, free: 43.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.3717, allocations: 32.38 kB / 428.5 MB, free: 43.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.3718, allocations: 30.86 kB / 428.5 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3718, allocations: 0.6094 kB / 428.5 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.3718, allocations: 3.469 kB / 428.5 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3718, allocations: 0 / 428.5 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.3726, allocations: 0.6186 MB / 429.1 MB, free: 42.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3726, allocations: 1.5 kB / 429.1 MB, free: 42.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.3728, allocations: 37.83 kB / 429.2 MB, free: 42.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3728, allocations: 4.578 kB / 429.2 MB, free: 42.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3728, allocations: 3.312 kB / 429.2 MB, free: 42.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3728, allocations: 0 / 429.2 MB, free: 42.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3728, allocations: 5.344 kB / 429.2 MB, free: 42.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.3733, allocations: 318.5 kB / 429.5 MB, free: 42.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.473e-05/0.3734, allocations: 125.1 kB / 429.6 MB, free: 42.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.3734, allocations: 5.016 kB / 429.6 MB, free: 42.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3736, allocations: 19.17 kB / 429.6 MB, free: 42.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3737, allocations: 15.8 kB / 429.6 MB, free: 42.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3737, allocations: 5.141 kB / 429.7 MB, free: 42.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.3739, allocations: 264 kB / 429.9 MB, free: 42.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.374, allocations: 0 / 429.9 MB, free: 42.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.3743, allocations: 66.61 kB / 430 MB, free: 42.61 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.0001105/0.3744, allocations: 98.19 kB / 430.1 MB, free: 42.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006901/0.3751, allocations: 360 kB / 430.4 MB, free: 42.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3751, allocations: 0 / 430.4 MB, free: 42.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.3753, allocations: 83.58 kB / 430.5 MB, free: 42.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.3759, allocations: 70.09 kB / 430.6 MB, free: 42.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/0.3768, allocations: 0.7056 MB / 431.3 MB, free: 41.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.377, allocations: 0.7722 MB / 432.1 MB, free: 41.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.331e-05/0.3771, allocations: 27.66 kB / 432.1 MB, free: 41.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3771, allocations: 4 kB / 432.1 MB, free: 41.25 MB / 350.1 MB Notification: Performance of Templates: time 0.006577/0.3837, allocations: 4.875 MB / 437 MB, free: 40.94 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