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.00102/0.00102, allocations: 91.53 kB / 16.02 MB, free: 80 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.001445/0.001445, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.698/1.698, allocations: 223.2 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.174/0.174, allocations: 5.381 MB / 297.5 MB, free: 3.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 8 kB / 363.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 51.59 MB / 414.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005349/0.1222, allocations: 4.018 MB / 418.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.1255, allocations: 1.554 MB / 420.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006841/0.1262, allocations: 8 kB / 420.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.1274, allocations: 335.3 kB / 420.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000732/0.1281, allocations: 214.7 kB / 421 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.1286, allocations: 179.8 kB / 421.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2766/0.4052, allocations: 23.56 MB / 444.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009362/0.4146, allocations: 7.224 MB / 451.9 MB, free: 29.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01451/0.4292, allocations: 6.266 MB / 458.2 MB, free: 26.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01967/0.4489, allocations: 8.133 MB / 466.3 MB, free: 23.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007348/0.4563, allocations: 0.8138 MB / 467.1 MB, free: 23.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.4675, allocations: 0.8239 MB / 468 MB, free: 23.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008738/0.4763, allocations: 2.835 MB / 470.8 MB, free: 22.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02854/0.5049, allocations: 7.208 MB / 478 MB, free: 17.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03009/0.535, allocations: 22.76 MB / 0.489 GB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.535, allocations: 0 / 0.489 GB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.5351, allocations: 0 / 0.489 GB, free: 1.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001131/0.5362, allocations: 0 / 0.489 GB, free: 1.352 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.1043/0.6405, allocations: 28.01 MB / 0.5164 GB, free: 5.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.6406, allocations: 8.031 kB / 0.5164 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/0.6526, allocations: 1.448 MB / 0.5178 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06515/0.7178, allocations: 19.11 MB / 0.5365 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/0.719, allocations: 0.6256 MB / 0.5371 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006317/0.7253, allocations: 0.8242 MB / 0.5379 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05577/0.7811, allocations: 15.87 MB / 0.5534 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003856/0.7815, allocations: 27.75 kB / 0.5534 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005127/0.7867, allocations: 348.6 kB / 0.5537 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/0.7869, allocations: 216 kB / 0.5539 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05126/0.8382, allocations: 18 MB / 0.5715 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.683/1.521, allocations: 57.88 MB / 0.628 GB, free: 72.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06125/1.583, allocations: 21.98 MB / 0.6495 GB, free: 62.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02335/1.606, allocations: 7.653 MB / 0.657 GB, free: 60.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/1.606, allocations: 76.59 kB / 0.6571 GB, free: 60.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.182e-05/1.607, allocations: 73.77 kB / 0.6571 GB, free: 59.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 9.167e-06/1.607, allocations: 0 / 0.6571 GB, free: 59.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.184/1.791, allocations: 37.92 MB / 0.6942 GB, free: 31.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/1.791, allocations: 94.92 kB / 0.6943 GB, free: 31.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03702/1.828, allocations: 15.18 MB / 0.7091 GB, free: 16.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002381/1.83, allocations: 109.7 kB / 0.7092 GB, free: 16.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008909/1.839, allocations: 6.096 MB / 0.7151 GB, free: 10.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003512/1.843, allocations: 1.579 MB / 0.7167 GB, free: 8.867 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003666/1.846, allocations: 0.7893 MB / 0.7174 GB, free: 8.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.841e-05/1.846, allocations: 305.1 kB / 0.7177 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01748/1.864, allocations: 7.843 MB / 0.7254 GB, free: 15.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02216/1.886, allocations: 9.04 MB / 0.7342 GB, free: 6.535 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03853/1.925, allocations: 14.81 MB / 0.7487 GB, free: 7.324 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.015e-05/1.925, allocations: 8 kB / 0.7487 GB, free: 7.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.4808/2.406, allocations: 41.35 MB / 0.7891 GB, free: 128.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/2.406, allocations: 12.28 kB / 0.7891 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.275e-05/2.406, allocations: 25.09 kB / 0.7891 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06107/2.467, allocations: 26.1 MB / 0.8146 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008975/2.476, allocations: 1.499 MB / 0.8161 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7092/3.185, allocations: 194.9 MB / 1.006 GB, free: 103.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02268/3.208, allocations: 2.668 MB / 1.009 GB, free: 102.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004329/3.212, allocations: 376.5 kB / 1.009 GB, free: 102.9 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.01536/3.228, allocations: 4.52 MB / 1.014 GB, free: 101.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00532/3.233, allocations: 1.16 MB / 1.015 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1072/3.34, allocations: 33.21 MB / 1.047 GB, free: 83.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.08e-05/3.34, allocations: 43.98 kB / 1.047 GB, free: 83.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/3.34, allocations: 0 / 1.047 GB, free: 83.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001793/3.341, allocations: 19.92 kB / 1.047 GB, free: 83.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1465/3.487, allocations: 48.24 MB / 1.095 GB, free: 35.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.294e-05/3.487, allocations: 0 / 1.095 GB, free: 35.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/3.489, allocations: 455.4 kB / 1.095 GB, free: 34.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02611/3.515, allocations: 15.88 MB / 1.11 GB, free: 19.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001821/3.517, allocations: 118 kB / 1.111 GB, free: 18.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7497/4.267, allocations: 112.8 MB / 1.221 GB, free: 108.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/4.267, allocations: 7.734 kB / 1.221 GB, free: 108.3 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1065/4.374, allocations: 32.27 MB / 1.252 GB, free: 76.3 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01054/4.384, allocations: 2.709 MB / 1.255 GB, free: 73.62 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006085/4.39, allocations: 75.75 kB / 1.255 GB, free: 73.55 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.013/4.403, allocations: 1.498 MB / 1.256 GB, free: 72.05 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/4.404, allocations: 276.1 kB / 1.257 GB, free: 71.79 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001253/4.406, allocations: 139.9 kB / 1.257 GB, free: 71.65 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02011/4.426, allocations: 10.49 MB / 1.267 GB, free: 61.23 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.81e-07/4.426, allocations: 0 / 1.267 GB, free: 61.23 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02069/4.447, allocations: 3.707 MB / 1.271 GB, free: 57.62 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.001451/4.448, allocations: 190.3 kB / 1.271 GB, free: 57.45 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.08124/4.529, allocations: 34.06 MB / 1.304 GB, free: 22.66 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/4.529, allocations: 448 / 1.304 GB, free: 22.66 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.3892/4.919, allocations: 18.27 MB / 1.322 GB, free: 128.4 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02634/4.945, allocations: 2.981 MB / 1.325 GB, free: 128.3 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09316/5.038, allocations: 34.33 MB / 1.358 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02689/5.065, allocations: 8.66 MB / 1.367 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004146/5.069, allocations: 0.6638 MB / 1.368 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of SimCode: time 1.954e-06/5.069, allocations: 3.969 kB / 1.368 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of Templates: time 6.145/11.21, allocations: 2.013 GB / 3.38 GB, free: 81.23 MB / 0.5607 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