Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.0008764, allocations: 100.4 kB / 15.71 MB, free: 452 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.001012/0.001012, allocations: 174 kB / 16.58 MB, free: 6.422 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.526/1.526, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1792/0.1792, allocations: 5.378 MB / 297.1 MB, free: 3.973 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.0005032, allocations: 8 kB / 362.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1702, allocations: 51.6 MB / 414.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003764/0.174, allocations: 2.958 MB / 417.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1762, allocations: 1.185 MB / 418.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.1764, allocations: 4 kB / 418.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.1769, allocations: 206.8 kB / 418.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.1772, allocations: 127.1 kB / 418.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.1774, allocations: 75.88 kB / 418.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000501/0.1779, allocations: 0.5018 MB / 419.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1781, allocations: 97.95 kB / 419.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1783, allocations: 171.3 kB / 419.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.1786, allocations: 227 kB / 419.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.1787, allocations: 20 kB / 419.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-05/0.1788, allocations: 36 kB / 419.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.1789, allocations: 71.66 kB / 419.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-05/0.179, allocations: 97.52 kB / 419.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.1793, allocations: 398.9 kB / 420.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1794, allocations: 0 / 420.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1794, allocations: 0 / 420.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1794, allocations: 0 / 420.3 MB, free: 4.465 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001848/0.1812, allocations: 0.7752 MB / 421.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1813, allocations: 11.97 kB / 421.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.1814, allocations: 43.47 kB / 421.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.1825, allocations: 498.9 kB / 421.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1825, allocations: 16.56 kB / 421.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.1826, allocations: 24 kB / 421.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.1832, allocations: 333.3 kB / 422 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1832, allocations: 0 / 422 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.1832, allocations: 11.95 kB / 422 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.1832, allocations: 8 kB / 422 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.1839, allocations: 298 kB / 422.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.1861, allocations: 1.354 MB / 423.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.1868, allocations: 307.6 kB / 423.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.1871, allocations: 155.3 kB / 424.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.1872, allocations: 7.984 kB / 424.1 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1872, allocations: 34.56 kB / 424.1 MB, free: 416 kB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.163e-06/0.1872, allocations: 0 / 424.1 MB, free: 416 kB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.3034/0.4906, allocations: 0.8058 MB / 424.9 MB, free: 45.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.4907, allocations: 53.25 kB / 425 MB, free: 45.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/0.4916, allocations: 378.7 kB / 425.3 MB, free: 45.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.4916, allocations: 30.64 kB / 425.4 MB, free: 45.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.4919, allocations: 219 kB / 425.6 MB, free: 45.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.4919, allocations: 50.38 kB / 425.6 MB, free: 44.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.492, allocations: 5.312 kB / 425.6 MB, free: 44.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4921, allocations: 351.6 kB / 426 MB, free: 44.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/0.4927, allocations: 118 kB / 426.1 MB, free: 44.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.4932, allocations: 160.5 kB / 426.3 MB, free: 44.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.4937, allocations: 139.6 kB / 426.4 MB, free: 44.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4937, allocations: 0.5469 kB / 426.4 MB, free: 44.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003444/0.4971, allocations: 0.6671 MB / 427.1 MB, free: 44.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.4972, allocations: 7.109 kB / 427.1 MB, free: 44.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4972, allocations: 0 / 427.1 MB, free: 44.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.4984, allocations: 270.2 kB / 427.3 MB, free: 44.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.4988, allocations: 51.83 kB / 427.4 MB, free: 44.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007079/0.5059, allocations: 3.643 MB / 431 MB, free: 41.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.5064, allocations: 48.34 kB / 431.1 MB, free: 41.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.5065, allocations: 13.8 kB / 431.1 MB, free: 41.81 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 (26): * Single equations (assignments): 24 * 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.0002357/0.5067, allocations: 147 kB / 431.2 MB, free: 41.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.5068, allocations: 40.33 kB / 431.3 MB, free: 41.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.979e-05/0.5069, allocations: 37.09 kB / 431.3 MB, free: 41.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.5069, allocations: 3.219 kB / 431.3 MB, free: 41.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5069, allocations: 0 / 431.3 MB, free: 41.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5069, allocations: 0 / 431.3 MB, free: 41.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.51, allocations: 0.9692 MB / 432.3 MB, free: 41.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.51, allocations: 7.25 kB / 432.3 MB, free: 41.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.5102, allocations: 26.67 kB / 432.3 MB, free: 41.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/0.5107, allocations: 187.7 kB / 432.5 MB, free: 41.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.5107, allocations: 4.094 kB / 432.5 MB, free: 41.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004434/0.5152, allocations: 2.034 MB / 434.5 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5152, allocations: 3.953 kB / 434.5 MB, free: 39.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.5181, allocations: 0.6055 MB / 435.1 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.5183, allocations: 129.3 kB / 435.3 MB, free: 39.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.59e-05/0.5184, allocations: 8.547 kB / 435.3 MB, free: 39.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.5189, allocations: 29.81 kB / 435.3 MB, free: 39.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.5189, allocations: 14.88 kB / 435.3 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.519, allocations: 3.781 kB / 435.3 MB, free: 39.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004645/0.5195, allocations: 265.1 kB / 435.6 MB, free: 39.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5195, allocations: 0 / 435.6 MB, free: 39.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000816/0.5203, allocations: 96.41 kB / 435.7 MB, free: 39.59 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 (13): * Single equations (assignments): 12 * 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.0001663/0.5205, allocations: 101.2 kB / 435.8 MB, free: 39.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.522, allocations: 0.5353 MB / 436.3 MB, free: 39.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.522, allocations: 0 / 436.3 MB, free: 39.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.5225, allocations: 222.7 kB / 436.5 MB, free: 39.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/0.5233, allocations: 74.64 kB / 436.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.525, allocations: 0.7782 MB / 437.4 MB, free: 38.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.5253, allocations: 0.7818 MB / 438.2 MB, free: 38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5254, allocations: 27.25 kB / 438.2 MB, free: 38 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5254, allocations: 0 / 438.2 MB, free: 38 MB / 350.1 MB Notification: Performance of Templates: time 0.01349/0.5389, allocations: 7.147 MB / 445.3 MB, free: 37.49 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetricCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetricCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetricCalcHelperMain.o] Error 1