Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009004/0.0009005, allocations: 101.4 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.001294/0.001294, allocations: 176.4 kB / 16.58 MB, free: 6.043 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 / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2433/0.2433, allocations: 5.381 MB / 297.1 MB, free: 3.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.000373, allocations: 8 kB / 362.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 51.59 MB / 414.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004485/0.1351, allocations: 2.907 MB / 417 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.138, allocations: 1.177 MB / 418.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005074/0.1385, allocations: 4 kB / 418.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.1393, allocations: 198.9 kB / 418.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006677/0.14, allocations: 127.1 kB / 418.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1403, allocations: 67.91 kB / 418.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.1412, allocations: 497.9 kB / 419.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.1415, allocations: 94.02 kB / 419.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.142, allocations: 171.3 kB / 419.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004364/0.1424, allocations: 207.1 kB / 419.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/0.1425, allocations: 24 kB / 419.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.1427, allocations: 39.92 kB / 419.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1428, allocations: 71.67 kB / 419.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.143, allocations: 97.45 kB / 419.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.1435, allocations: 386.9 kB / 420.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1435, allocations: 4 kB / 420.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1435, allocations: 8 kB / 420.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.1435, allocations: 0 / 420.2 MB, free: 4.551 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001952/0.1455, allocations: 0.7634 MB / 420.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1455, allocations: 8.031 kB / 420.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1457, allocations: 43.53 kB / 421 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.1468, allocations: 475 kB / 421.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.1469, allocations: 20.56 kB / 421.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.1469, allocations: 24 kB / 421.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.1475, allocations: 309.1 kB / 421.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1476, allocations: 3.984 kB / 421.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.1476, allocations: 11.95 kB / 421.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1476, allocations: 4 kB / 421.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.1482, allocations: 273.5 kB / 422.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.1506, allocations: 1.29 MB / 423.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.1512, allocations: 283.5 kB / 423.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.1515, allocations: 125 kB / 423.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.1515, allocations: 7.938 kB / 423.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.1515, allocations: 38.52 kB / 423.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.1516, allocations: 0 / 423.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.2826/0.4341, allocations: 0.8341 MB / 424.6 MB, free: 46.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.4342, allocations: 53.41 kB / 424.7 MB, free: 46.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.4348, allocations: 382.1 kB / 425.1 MB, free: 46.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.4349, allocations: 27.58 kB / 425.1 MB, free: 46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.4351, allocations: 219.2 kB / 425.3 MB, free: 45.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.4351, allocations: 37.97 kB / 425.3 MB, free: 45.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.4352, allocations: 6.875 kB / 425.4 MB, free: 45.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4353, allocations: 347.7 kB / 425.7 MB, free: 45.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.4356, allocations: 112.2 kB / 425.8 MB, free: 45.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.4359, allocations: 142.6 kB / 425.9 MB, free: 45.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.4363, allocations: 123.6 kB / 426.1 MB, free: 45.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4363, allocations: 0 / 426.1 MB, free: 45.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001947/0.4382, allocations: 0.6155 MB / 426.7 MB, free: 45.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.4383, allocations: 8.844 kB / 426.7 MB, free: 45.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.4383, allocations: 2.531 kB / 426.7 MB, free: 45.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007906/0.4391, allocations: 253.2 kB / 426.9 MB, free: 45.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.4393, allocations: 48.06 kB / 427 MB, free: 45.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0045/0.4438, allocations: 3.568 MB / 430.6 MB, free: 42.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.4442, allocations: 42.97 kB / 430.6 MB, free: 42.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.4442, allocations: 6.062 kB / 430.6 MB, free: 42.79 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): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.4444, allocations: 149.5 kB / 430.7 MB, free: 42.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.4445, allocations: 47.17 kB / 430.8 MB, free: 42.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.4445, allocations: 35.06 kB / 430.8 MB, free: 42.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4446, allocations: 0 / 430.8 MB, free: 42.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4446, allocations: 0.75 kB / 430.8 MB, free: 42.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4446, allocations: 2.297 kB / 430.8 MB, free: 42.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.4466, allocations: 0.9027 MB / 431.7 MB, free: 42.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4466, allocations: 3.25 kB / 431.7 MB, free: 42.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.4467, allocations: 20.5 kB / 431.8 MB, free: 42.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003202/0.447, allocations: 178.4 kB / 431.9 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.447, allocations: 6.922 kB / 431.9 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.4497, allocations: 1.95 MB / 433.9 MB, free: 41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4497, allocations: 3.156 kB / 433.9 MB, free: 41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.4513, allocations: 0.5576 MB / 434.4 MB, free: 40.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.4514, allocations: 131.9 kB / 434.6 MB, free: 40.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.4515, allocations: 3.094 kB / 434.6 MB, free: 40.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.4517, allocations: 28.45 kB / 434.6 MB, free: 40.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.4518, allocations: 15.69 kB / 434.6 MB, free: 40.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4518, allocations: 4.25 kB / 434.6 MB, free: 40.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003407/0.4522, allocations: 267.5 kB / 434.9 MB, free: 40.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4522, allocations: 0 / 434.9 MB, free: 40.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005215/0.4527, allocations: 89.25 kB / 435 MB, free: 40.6 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001528/0.4529, allocations: 98.47 kB / 435.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009694/0.4538, allocations: 0.493 MB / 435.6 MB, free: 40.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4538, allocations: 1.969 kB / 435.6 MB, free: 40.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.4542, allocations: 214.4 kB / 435.8 MB, free: 40.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.4547, allocations: 72.23 kB / 435.8 MB, free: 40.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.4559, allocations: 0.7351 MB / 436.6 MB, free: 39.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.4562, allocations: 0.7805 MB / 437.4 MB, free: 39.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.4563, allocations: 27.97 kB / 437.4 MB, free: 39.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4563, allocations: 0 / 437.4 MB, free: 39.02 MB / 350.1 MB Notification: Performance of Templates: time 0.009181/0.4655, allocations: 6.854 MB / 444.2 MB, free: 38.55 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.Examples.SimpleCellCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellCalcHelperMain.o] Error 1