Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 100.1 kB / 15.71 MB, free: 448 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.001111/0.001112, allocations: 184.3 kB / 16.59 MB, free: 6.859 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.514/1.514, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2301/0.2301, allocations: 5.382 MB / 297.1 MB, free: 3.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005142, allocations: 8 kB / 362.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1703, allocations: 51.6 MB / 414.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.007359/0.1778, allocations: 3.811 MB / 418 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004464/0.1823, allocations: 1.493 MB / 419.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.1834, allocations: 11.94 kB / 419.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.1852, allocations: 438.7 kB / 419.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.1865, allocations: 210.7 kB / 420.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007716/0.1873, allocations: 127.8 kB / 420.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.3036/0.4909, allocations: 26.61 MB / 446.8 MB, free: 32.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009001/0.5, allocations: 5.624 MB / 452.4 MB, free: 30.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01362/0.5137, allocations: 6.339 MB / 458.8 MB, free: 27.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02108/0.5348, allocations: 8.02 MB / 466.8 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007037/0.5419, allocations: 0.9031 MB / 467.7 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.5528, allocations: 0.9102 MB / 468.6 MB, free: 24.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008415/0.5612, allocations: 2.916 MB / 471.5 MB, free: 22.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01115/0.5724, allocations: 2.735 MB / 474.3 MB, free: 21.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03102/0.6035, allocations: 23.21 MB / 497.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.6035, allocations: 4 kB / 497.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.468e-06/0.6035, allocations: 0 / 497.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0009091/0.6045, allocations: 6.297 kB / 497.5 MB, free: 5.398 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: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.09659/0.7011, allocations: 28.25 MB / 0.5134 GB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.7011, allocations: 8.031 kB / 0.5134 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01426/0.7154, allocations: 1.451 MB / 0.5148 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06515/0.7806, allocations: 20.66 MB / 0.535 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009331/0.7816, allocations: 0.6217 MB / 0.5356 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006371/0.788, allocations: 0.8203 MB / 0.5364 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05492/0.8429, allocations: 16.89 MB / 0.5529 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003517/0.8433, allocations: 23.75 kB / 0.5529 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006022/0.8493, allocations: 347.6 kB / 0.5533 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002823/0.8497, allocations: 212 kB / 0.5535 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05406/0.9037, allocations: 20.21 MB / 0.5732 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7394/1.643, allocations: 61.69 MB / 0.6335 GB, free: 72.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04426/1.688, allocations: 24.99 MB / 0.6579 GB, free: 61.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01573/1.703, allocations: 8.692 MB / 0.6664 GB, free: 56.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/1.704, allocations: 67.48 kB / 0.6664 GB, free: 56.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.257e-05/1.704, allocations: 80.91 kB / 0.6665 GB, free: 56.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 6.683e-06/1.704, allocations: 0 / 0.6665 GB, free: 56.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1469/1.851, allocations: 51.5 MB / 0.7168 GB, free: 9.281 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/1.851, allocations: 106.9 kB / 0.7169 GB, free: 9.164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04719/1.898, allocations: 16.19 MB / 0.7327 GB, free: 9.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002702/1.901, allocations: 109.7 kB / 0.7328 GB, free: 9.043 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.01128/1.912, allocations: 6.09 MB / 0.7388 GB, free: 3.383 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003879/1.916, allocations: 1.587 MB / 0.7403 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003284/1.919, allocations: 172 kB / 0.7405 GB, free: 1.719 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0008244/1.92, allocations: 0.666 MB / 0.7411 GB, free: 1.043 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01971/1.94, allocations: 9.188 MB / 0.7501 GB, free: 7.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02164/1.962, allocations: 10.37 MB / 0.7602 GB, free: 13.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02081/1.982, allocations: 9.861 MB / 0.7699 GB, free: 3.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.916e-05/1.982, allocations: 8 kB / 0.7699 GB, free: 3.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.5006/2.483, allocations: 54.53 MB / 0.8231 GB, free: 131 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/2.483, allocations: 15.38 kB / 0.8231 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.262e-05/2.483, allocations: 23.72 kB / 0.8231 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05472/2.538, allocations: 30.5 MB / 0.8529 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008227/2.546, allocations: 1.572 MB / 0.8545 GB, free: 107.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8568/3.403, allocations: 225.3 MB / 1.075 GB, free: 57.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0302/3.433, allocations: 3.361 MB / 1.078 GB, free: 54.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005412/3.439, allocations: 387.7 kB / 1.078 GB, free: 53.76 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 48 * 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: 48 {2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {47 200} Notification: Performance of prepare postOptimizeDAE: time 0.01861/3.458, allocations: 4.523 MB / 1.083 GB, free: 49.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008242/3.466, allocations: 1.157 MB / 1.084 GB, free: 48.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1596/3.625, allocations: 45.81 MB / 1.128 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.735e-05/3.626, allocations: 44 kB / 1.128 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/3.626, allocations: 0 / 1.128 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001335/3.626, allocations: 23.77 kB / 1.128 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4959/4.122, allocations: 62.99 MB / 1.19 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.285e-05/4.122, allocations: 2.406 kB / 1.19 GB, free: 123.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/4.124, allocations: 453 kB / 1.19 GB, free: 123.4 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03199/4.156, allocations: 20.32 MB / 1.21 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002401/4.159, allocations: 118.6 kB / 1.21 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.742/4.901, allocations: 143.5 MB / 1.351 GB, free: 119.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/4.901, allocations: 0 / 1.351 GB, free: 119.8 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1302/5.031, allocations: 44.86 MB / 1.394 GB, free: 111.9 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01313/5.044, allocations: 3.019 MB / 1.397 GB, free: 110.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008273/5.052, allocations: 69.03 kB / 1.397 GB, free: 110.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01611/5.068, allocations: 2.071 MB / 1.399 GB, free: 109.9 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/5.07, allocations: 278 kB / 1.4 GB, free: 109.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002227/5.072, allocations: 148 kB / 1.4 GB, free: 109.8 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.03037/5.103, allocations: 11.17 MB / 1.411 GB, free: 101.1 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.094e-06/5.103, allocations: 0 / 1.411 GB, free: 101.1 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.03121/5.134, allocations: 4.077 MB / 1.415 GB, free: 97.15 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * 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 {48 154} Notification: Performance of Backend phase and start with SimCode phase: time 0.002524/5.136, allocations: 190.6 kB / 1.415 GB, free: 96.98 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.09707/5.234, allocations: 40.65 MB / 1.455 GB, free: 55.6 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/5.234, allocations: 0 / 1.455 GB, free: 55.6 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.06646/5.3, allocations: 23.71 MB / 1.478 GB, free: 31.86 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02949/5.33, allocations: 3.033 MB / 1.481 GB, free: 28.93 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4397/5.769, allocations: 34.4 MB / 1.514 GB, free: 113.9 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01864/5.788, allocations: 8.665 MB / 1.523 GB, free: 112.8 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005087/5.793, allocations: 0.6682 MB / 1.523 GB, free: 112.8 MB / 0.4982 GB Notification: Performance of SimCode: time 1.593e-06/5.793, allocations: 0 / 1.523 GB, free: 112.8 MB / 0.4982 GB Notification: Performance of Templates: time 6.227/12.02, allocations: 2.02 GB / 3.543 GB, free: 41.97 MB / 0.5294 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModuleCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleCalcHelperMain.o] Error 1