Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005738/0.005738, allocations: 100.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.001242/0.001242, allocations: 192 kB / 16.79 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1547/0.1547, allocations: 5.388 MB / 296 MB, free: 2.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 55.92 kB / 360.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1129, allocations: 50.61 MB / 411.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.0057/0.1186, allocations: 4.423 MB / 415.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.1214, allocations: 1.574 MB / 417.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.1217, allocations: 8 kB / 417.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1228, allocations: 335.3 kB / 417.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.1234, allocations: 206.7 kB / 417.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1238, allocations: 187.8 kB / 418.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2265/0.3503, allocations: 23.58 MB / 441.7 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00848/0.3588, allocations: 7.27 MB / 449 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01079/0.3697, allocations: 6.596 MB / 455.6 MB, free: 28.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0168/0.3865, allocations: 8.528 MB / 464.1 MB, free: 24.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006647/0.3932, allocations: 0.9596 MB / 465 MB, free: 24.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009537/0.4028, allocations: 0.961 MB / 466 MB, free: 24.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007898/0.4107, allocations: 3.051 MB / 469.1 MB, free: 23.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03316/0.4439, allocations: 7.462 MB / 476.5 MB, free: 18.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03398/0.4779, allocations: 23.46 MB / 500 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.478, allocations: 0 / 500 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.478, allocations: 0 / 500 MB, free: 1.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001664/0.4797, allocations: 8 kB / 500 MB, free: 1.625 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.1247/0.6045, allocations: 30.79 MB / 0.5183 GB, free: 2.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.6045, allocations: 8.031 kB / 0.5184 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.6152, allocations: 1.448 MB / 0.5198 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05798/0.6732, allocations: 18.8 MB / 0.5381 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008122/0.6741, allocations: 0.6256 MB / 0.5387 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005303/0.6794, allocations: 0.8203 MB / 0.5395 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04482/0.7242, allocations: 15.68 MB / 0.5548 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002851/0.7246, allocations: 23.8 kB / 0.5549 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004197/0.7288, allocations: 348 kB / 0.5552 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.729, allocations: 212 kB / 0.5554 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0466/0.7756, allocations: 17.59 MB / 0.5726 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5938/1.369, allocations: 57.52 MB / 0.6288 GB, free: 73.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03814/1.408, allocations: 21.38 MB / 0.6496 GB, free: 63.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01256/1.42, allocations: 7.44 MB / 0.6569 GB, free: 60.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003508/1.421, allocations: 69.72 kB / 0.657 GB, free: 60.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.694e-05/1.421, allocations: 81.2 kB / 0.657 GB, free: 60.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 6.412e-06/1.421, allocations: 1.312 kB / 0.657 GB, free: 60.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1091/1.53, allocations: 36.3 MB / 0.6925 GB, free: 33.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/1.53, allocations: 102.9 kB / 0.6926 GB, free: 33.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03272/1.563, allocations: 15.19 MB / 0.7074 GB, free: 18.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0021/1.565, allocations: 113.7 kB / 0.7075 GB, free: 18.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.01016/1.575, allocations: 6.088 MB / 0.7135 GB, free: 12.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00378/1.579, allocations: 1.579 MB / 0.715 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008175/1.587, allocations: 2.093 MB / 0.7171 GB, free: 9.184 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/1.587, allocations: 309.1 kB / 0.7174 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0216/1.609, allocations: 7.644 MB / 0.7248 GB, free: 1.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02551/1.634, allocations: 8.829 MB / 0.7334 GB, free: 8.055 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0339/1.668, allocations: 14.4 MB / 0.7475 GB, free: 9.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.305e-05/1.668, allocations: 6.188 kB / 0.7475 GB, free: 9.234 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.4607/2.129, allocations: 39.94 MB / 0.7865 GB, free: 130.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/2.129, allocations: 16.72 kB / 0.7865 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/2.129, allocations: 25.19 kB / 0.7866 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0577/2.187, allocations: 25.7 MB / 0.8117 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008771/2.196, allocations: 1.491 MB / 0.8131 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6933/2.889, allocations: 190.4 MB / 0.9991 GB, free: 104.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02303/2.912, allocations: 2.558 MB / 1.002 GB, free: 104.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00407/2.916, allocations: 379.9 kB / 1.002 GB, free: 104.6 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 (not torn): 48 * 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): 48 systems {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 (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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.01473/2.931, allocations: 4.513 MB / 1.006 GB, free: 102.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004906/2.936, allocations: 1.156 MB / 1.007 GB, free: 102.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0957/3.032, allocations: 31.81 MB / 1.039 GB, free: 90.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6e-05/3.032, allocations: 46.22 kB / 1.039 GB, free: 90.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/3.032, allocations: 3.984 kB / 1.039 GB, free: 90.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001638/3.032, allocations: 23.77 kB / 1.039 GB, free: 90.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1361/3.168, allocations: 46.64 MB / 1.084 GB, free: 46.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.775e-05/3.168, allocations: 0 / 1.084 GB, free: 46.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/3.17, allocations: 455.4 kB / 1.085 GB, free: 45.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02527/3.196, allocations: 15.48 MB / 1.1 GB, free: 30.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002357/3.198, allocations: 107.9 kB / 1.1 GB, free: 30.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6052/3.803, allocations: 108.3 MB / 1.206 GB, free: 118 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/3.803, allocations: 0 / 1.206 GB, free: 118 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1076/3.911, allocations: 30.87 MB / 1.236 GB, free: 95.07 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01244/3.923, allocations: 2.648 MB / 1.238 GB, free: 92.45 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00861/3.932, allocations: 76.44 kB / 1.238 GB, free: 92.38 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01434/3.947, allocations: 1.404 MB / 1.24 GB, free: 90.97 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001398/3.948, allocations: 276.1 kB / 1.24 GB, free: 90.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001543/3.949, allocations: 139.9 kB / 1.24 GB, free: 90.56 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02925/3.979, allocations: 10.49 MB / 1.25 GB, free: 80.14 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.848e-06/3.979, allocations: 0 / 1.25 GB, free: 80.14 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02584/4.005, allocations: 3.714 MB / 1.254 GB, free: 76.54 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 (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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/4.006, allocations: 190.5 kB / 1.254 GB, free: 76.36 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.08138/4.088, allocations: 32.81 MB / 1.286 GB, free: 42.88 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/4.088, allocations: 0 / 1.286 GB, free: 42.88 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05604/4.144, allocations: 17.17 MB / 1.303 GB, free: 25.72 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02036/4.164, allocations: 2.98 MB / 1.306 GB, free: 22.86 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3445/4.509, allocations: 34.03 MB / 1.339 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01475/4.523, allocations: 8.663 MB / 1.348 GB, free: 118.5 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003299/4.527, allocations: 0.6621 MB / 1.348 GB, free: 118.5 MB / 0.4982 GB Notification: Performance of SimCode: time 1.312e-06/4.527, allocations: 0 / 1.348 GB, free: 118.5 MB / 0.4982 GB Notification: Performance of Templates: time 5.394/9.921, allocations: 2.014 GB / 3.363 GB, free: 65.73 MB / 0.5294 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.SimpleModuleShadowCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadowCalcHelperMain.o] Error 1