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.0008437/0.0008442, allocations: 102.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.001145/0.001145, allocations: 173.4 kB / 16.58 MB, free: 6.402 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.539/1.539, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2449/0.2449, allocations: 5.377 MB / 297.1 MB, free: 3.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 12 kB / 362.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 51.6 MB / 414.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003441/0.138, allocations: 2.825 MB / 417 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1398, allocations: 1.138 MB / 418.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.14, allocations: 4 kB / 418.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.1405, allocations: 202.9 kB / 418.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.1408, allocations: 107.2 kB / 418.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.141, allocations: 75.89 kB / 418.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.1414, allocations: 466.1 kB / 418.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1417, allocations: 77.98 kB / 419 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1419, allocations: 167.3 kB / 419.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.1421, allocations: 195.2 kB / 419.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.1422, allocations: 24 kB / 419.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.953e-05/0.1423, allocations: 28 kB / 419.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.1423, allocations: 75.64 kB / 419.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.301e-05/0.1424, allocations: 89.52 kB / 419.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.1428, allocations: 375 kB / 419.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1428, allocations: 0 / 419.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1428, allocations: 0 / 419.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1428, allocations: 0 / 419.9 MB, free: 4.758 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.001628/0.1445, allocations: 0.7361 MB / 420.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1445, allocations: 12.03 kB / 420.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.1446, allocations: 43.52 kB / 420.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009015/0.1455, allocations: 447 kB / 421.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1455, allocations: 16.44 kB / 421.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.1456, allocations: 27.94 kB / 421.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.1461, allocations: 291.3 kB / 421.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1461, allocations: 0 / 421.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.1462, allocations: 11.95 kB / 421.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1462, allocations: 11.98 kB / 421.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.1467, allocations: 252.9 kB / 421.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.1487, allocations: 1.289 MB / 423.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.1491, allocations: 166.5 kB / 423.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.1493, allocations: 112.8 kB / 423.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1494, allocations: 0 / 423.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1494, allocations: 34.52 kB / 423.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1494, allocations: 0 / 423.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006775/0.1501, allocations: 281.1 kB / 423.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.1501, allocations: 55.41 kB / 423.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.1505, allocations: 373.5 kB / 424.1 MB, free: 408 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1506, allocations: 29.7 kB / 424.1 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.1507, allocations: 215.9 kB / 424.3 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1507, allocations: 27.64 kB / 424.3 MB, free: 124 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.1508, allocations: 8 kB / 424.3 MB, free: 116 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2823/0.4331, allocations: 338.8 kB / 424.7 MB, free: 44.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.4335, allocations: 98.86 kB / 424.8 MB, free: 44.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.4338, allocations: 140.6 kB / 424.9 MB, free: 44.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.4341, allocations: 114.4 kB / 425 MB, free: 44.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4342, allocations: 0 / 425 MB, free: 44.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001099/0.4353, allocations: 375.5 kB / 425.4 MB, free: 44.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.4353, allocations: 9.516 kB / 425.4 MB, free: 44.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4353, allocations: 1.062 kB / 425.4 MB, free: 44.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/0.4358, allocations: 75.08 kB / 425.5 MB, free: 44.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.4362, allocations: 68.31 kB / 425.5 MB, free: 44.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.4375, allocations: 1.456 MB / 427 MB, free: 43.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.4379, allocations: 40.91 kB / 427 MB, free: 43.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.4379, allocations: 6.312 kB / 427 MB, free: 43.57 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000193/0.4381, allocations: 142.6 kB / 427.2 MB, free: 43.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.4382, allocations: 35.11 kB / 427.2 MB, free: 43.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.4382, allocations: 30.86 kB / 427.2 MB, free: 43.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4382, allocations: 4.469 kB / 427.2 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4383, allocations: 4.547 kB / 427.2 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.4383, allocations: 0 / 427.2 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008663/0.4391, allocations: 0.6188 MB / 427.9 MB, free: 43.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4391, allocations: 3.281 kB / 427.9 MB, free: 43.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.4393, allocations: 36.83 kB / 427.9 MB, free: 43.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4393, allocations: 3.953 kB / 427.9 MB, free: 43.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.4393, allocations: 3.5 kB / 427.9 MB, free: 43.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.4394, allocations: 3.156 kB / 427.9 MB, free: 43.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4394, allocations: 5.219 kB / 427.9 MB, free: 43.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.4398, allocations: 310.9 kB / 428.2 MB, free: 43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.4399, allocations: 121.4 kB / 428.3 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.44, allocations: 4.953 kB / 428.3 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.4402, allocations: 28.47 kB / 428.4 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.4402, allocations: 10.94 kB / 428.4 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.4402, allocations: 4.078 kB / 428.4 MB, free: 42.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.4405, allocations: 254.4 kB / 428.6 MB, free: 42.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4405, allocations: 4.594 kB / 428.6 MB, free: 42.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.4409, allocations: 70.23 kB / 428.7 MB, free: 42.8 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 (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.0001201/0.441, allocations: 97.03 kB / 428.8 MB, free: 42.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006914/0.4417, allocations: 359.3 kB / 429.2 MB, free: 42.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4417, allocations: 0 / 429.2 MB, free: 42.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.4419, allocations: 83.08 kB / 429.2 MB, free: 42.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.4424, allocations: 72.23 kB / 429.3 MB, free: 42.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/0.4434, allocations: 0.6703 MB / 430 MB, free: 42.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.4436, allocations: 0.7717 MB / 430.7 MB, free: 41.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.19e-05/0.4437, allocations: 30.86 kB / 430.8 MB, free: 41.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4437, allocations: 0 / 430.8 MB, free: 41.48 MB / 350.1 MB Notification: Performance of Templates: time 0.009287/0.453, allocations: 4.891 MB / 435.7 MB, free: 41.16 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.SimpleCellVoltageSourceCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSourceCalcHelperMain.o] Error 1