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.007356/0.007356, allocations: 99.8 kB / 15.87 MB, free: 5.867 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.001709/0.001709, allocations: 189.9 kB / 16.78 MB, free: 5.809 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.532/1.532, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1501/0.1501, allocations: 5.39 MB / 296 MB, free: 2.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.91 kB / 360.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.13, allocations: 50.61 MB / 411.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.006017/0.1361, allocations: 3.415 MB / 414.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1387, allocations: 1.25 MB / 416.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.1393, allocations: 4 kB / 416.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008317/0.1401, allocations: 206.9 kB / 416.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006413/0.1408, allocations: 123.1 kB / 416.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.1411, allocations: 111.9 kB / 416.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008534/0.142, allocations: 0.5252 MB / 417 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.1423, allocations: 116 kB / 417.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.1427, allocations: 179.2 kB / 417.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.1432, allocations: 231 kB / 417.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1433, allocations: 32 kB / 417.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.1435, allocations: 31.98 kB / 417.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.1436, allocations: 79.66 kB / 417.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.1439, allocations: 198.9 kB / 417.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.1444, allocations: 403 kB / 418.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1444, allocations: 0 / 418.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1444, allocations: 0 / 418.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.1444, allocations: 0 / 418.3 MB, free: 5.055 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.002365/0.1468, allocations: 0.8158 MB / 419.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1468, allocations: 11.97 kB / 419.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.147, allocations: 48.38 kB / 419.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.1481, allocations: 476.2 kB / 419.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1481, allocations: 20.69 kB / 419.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.1482, allocations: 24 kB / 419.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/0.1488, allocations: 297.1 kB / 419.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1488, allocations: 3.984 kB / 419.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.1489, allocations: 12 kB / 420 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1489, allocations: 7.938 kB / 420 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005896/0.1495, allocations: 253.5 kB / 420.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.1517, allocations: 1.27 MB / 421.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.1523, allocations: 267.5 kB / 421.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.1526, allocations: 108.8 kB / 421.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1526, allocations: 4 kB / 421.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.1527, allocations: 34.56 kB / 421.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.1527, allocations: 0 / 421.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003456/0.1561, allocations: 0.7291 MB / 422.6 MB, free: 464 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1562, allocations: 55.41 kB / 422.7 MB, free: 396 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2254/0.3816, allocations: 386.7 kB / 423.1 MB, free: 48.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.3817, allocations: 26.77 kB / 423.1 MB, free: 48.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.3819, allocations: 215.6 kB / 423.3 MB, free: 47.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.3819, allocations: 39 kB / 423.3 MB, free: 47.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3821, allocations: 57 kB / 423.4 MB, free: 47.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.3821, allocations: 339.7 kB / 423.7 MB, free: 47.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.3824, allocations: 103.4 kB / 423.8 MB, free: 47.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3827, allocations: 132.6 kB / 423.9 MB, free: 47.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.3831, allocations: 213.2 kB / 424.2 MB, free: 47.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3831, allocations: 1.5 kB / 424.2 MB, free: 47.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002349/0.3855, allocations: 0.5603 MB / 424.7 MB, free: 47.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3855, allocations: 3.219 kB / 424.7 MB, free: 47.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3855, allocations: 3.219 kB / 424.7 MB, free: 47.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008173/0.3863, allocations: 247.1 kB / 425 MB, free: 47.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.3865, allocations: 44.86 kB / 425 MB, free: 47.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.3909, allocations: 3.457 MB / 428.5 MB, free: 44.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.3913, allocations: 43.48 kB / 428.5 MB, free: 44.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.3913, allocations: 9.594 kB / 428.5 MB, free: 44.83 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 (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.3915, allocations: 158.3 kB / 428.7 MB, free: 44.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.3915, allocations: 34.97 kB / 428.7 MB, free: 44.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.3916, allocations: 34.81 kB / 428.7 MB, free: 44.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3916, allocations: 0 / 428.7 MB, free: 44.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.3916, allocations: 2 kB / 428.7 MB, free: 44.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3916, allocations: 3.422 kB / 428.7 MB, free: 44.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.3936, allocations: 0.844 MB / 429.6 MB, free: 44.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3936, allocations: 1.641 kB / 429.6 MB, free: 44.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.264e-05/0.3937, allocations: 20.75 kB / 429.6 MB, free: 44.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/0.394, allocations: 172.3 kB / 429.8 MB, free: 44.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.394, allocations: 0 / 429.8 MB, free: 44.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.3967, allocations: 1.866 MB / 431.6 MB, free: 42.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3967, allocations: 3.125 kB / 431.6 MB, free: 42.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.3983, allocations: 0.4989 MB / 432.1 MB, free: 42.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.3984, allocations: 124.5 kB / 432.3 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.3984, allocations: 7.281 kB / 432.3 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.3987, allocations: 23.48 kB / 432.3 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.3988, allocations: 17.92 kB / 432.3 MB, free: 42.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3988, allocations: 2.938 kB / 432.3 MB, free: 42.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.399, allocations: 267.2 kB / 432.6 MB, free: 42.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.399, allocations: 0 / 432.6 MB, free: 42.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004291/0.3994, allocations: 92.83 kB / 432.7 MB, free: 42.25 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001088/0.3996, allocations: 101.9 kB / 432.8 MB, free: 42.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008378/0.4004, allocations: 485.1 kB / 433.2 MB, free: 41.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4004, allocations: 4.188 kB / 433.2 MB, free: 41.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.4007, allocations: 197.7 kB / 433.4 MB, free: 41.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.4012, allocations: 78.06 kB / 433.5 MB, free: 41.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4022, allocations: 0.7294 MB / 434.2 MB, free: 41.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.4024, allocations: 0.7793 MB / 435 MB, free: 40.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.4025, allocations: 23.5 kB / 435 MB, free: 40.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4025, allocations: 0 / 435 MB, free: 40.52 MB / 350.1 MB Notification: Performance of Templates: time 0.007233/0.4097, allocations: 6.889 MB / 441.9 MB, free: 39.96 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCellCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellCalcHelperMain.o] Error 1