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.0008617/0.0008617, allocations: 99.59 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.000992/0.0009917, allocations: 175.6 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.569/1.569, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1681/0.1681, allocations: 5.39 MB / 297.1 MB, free: 3.945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 4 kB / 362.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 51.6 MB / 414.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005092/0.1407, allocations: 3.811 MB / 417.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.1443, allocations: 1.501 MB / 419.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008827/0.1452, allocations: 11.94 kB / 419.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.1468, allocations: 442.7 kB / 419.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000936/0.1478, allocations: 210.6 kB / 420.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.1483, allocations: 127.8 kB / 420.2 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.3302/0.4785, allocations: 26.62 MB / 446.8 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008724/0.4873, allocations: 5.618 MB / 452.5 MB, free: 30.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01296/0.5003, allocations: 6.339 MB / 458.8 MB, free: 27.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01888/0.5192, allocations: 8.022 MB / 466.8 MB, free: 24.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007021/0.5263, allocations: 0.9063 MB / 467.7 MB, free: 24.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/0.5375, allocations: 0.9113 MB / 468.6 MB, free: 24.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009157/0.5467, allocations: 2.917 MB / 471.6 MB, free: 22.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01225/0.559, allocations: 2.736 MB / 474.3 MB, free: 21.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02962/0.5887, allocations: 23.21 MB / 497.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5887, allocations: 0 / 497.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.5887, allocations: 0 / 497.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0009963/0.5897, allocations: 0 / 497.5 MB, free: 5.441 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.1022/0.6919, allocations: 28.26 MB / 0.5134 GB, free: 9.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.692, allocations: 8.031 kB / 0.5135 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/0.7046, allocations: 1.451 MB / 0.5149 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06695/0.7716, allocations: 20.66 MB / 0.535 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009498/0.7726, allocations: 0.6256 MB / 0.5357 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006805/0.7795, allocations: 0.8125 MB / 0.5364 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06139/0.8409, allocations: 16.89 MB / 0.5529 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003672/0.8413, allocations: 27.75 kB / 0.553 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00573/0.847, allocations: 349.2 kB / 0.5533 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002435/0.8473, allocations: 212 kB / 0.5535 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05627/0.9036, allocations: 20.21 MB / 0.5732 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6482/1.552, allocations: 61.68 MB / 0.6335 GB, free: 72.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04209/1.594, allocations: 24.99 MB / 0.6579 GB, free: 61.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01577/1.61, allocations: 8.679 MB / 0.6664 GB, free: 57.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/1.61, allocations: 72.42 kB / 0.6664 GB, free: 57.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/1.61, allocations: 80.72 kB / 0.6665 GB, free: 56.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 1.196e-05/1.611, allocations: 0 / 0.6665 GB, free: 56.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1557/1.766, allocations: 51.5 MB / 0.7168 GB, free: 9.355 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.766, allocations: 102.9 kB / 0.7169 GB, free: 9.242 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05034/1.817, allocations: 16.19 MB / 0.7327 GB, free: 9.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00268/1.819, allocations: 109.7 kB / 0.7328 GB, free: 9.117 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.01027/1.83, allocations: 6.093 MB / 0.7388 GB, free: 3.453 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004072/1.834, allocations: 1.584 MB / 0.7403 GB, free: 1.961 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002661/1.837, allocations: 176 kB / 0.7405 GB, free: 1.789 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006727/1.837, allocations: 0.666 MB / 0.7411 GB, free: 1.113 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02144/1.859, allocations: 9.188 MB / 0.7501 GB, free: 7.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02688/1.886, allocations: 10.37 MB / 0.7602 GB, free: 13.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02596/1.912, allocations: 9.861 MB / 0.7699 GB, free: 3.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.455e-05/1.912, allocations: 9.531 kB / 0.7699 GB, free: 3.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.5527/2.464, allocations: 54.53 MB / 0.8231 GB, free: 131.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/2.465, allocations: 15.72 kB / 0.8231 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-05/2.465, allocations: 23.69 kB / 0.8231 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05679/2.521, allocations: 30.53 MB / 0.853 GB, free: 109.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008717/2.53, allocations: 1.572 MB / 0.8545 GB, free: 107.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7645/3.295, allocations: 225.3 MB / 1.075 GB, free: 57.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02661/3.321, allocations: 3.367 MB / 1.078 GB, free: 54.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005038/3.326, allocations: 387.7 kB / 1.078 GB, free: 53.87 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.01931/3.346, allocations: 4.513 MB / 1.083 GB, free: 49.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008959/3.355, allocations: 1.161 MB / 1.084 GB, free: 48.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1336/3.488, allocations: 45.82 MB / 1.128 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-05/3.488, allocations: 40 kB / 1.129 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/3.489, allocations: 0 / 1.129 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001907/3.489, allocations: 20.47 kB / 1.129 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5719/4.061, allocations: 62.99 MB / 1.19 GB, free: 123.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.989e-05/4.061, allocations: 0 / 1.19 GB, free: 123.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/4.063, allocations: 455.4 kB / 1.19 GB, free: 123.6 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03141/4.094, allocations: 20.31 MB / 1.21 GB, free: 118.4 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002168/4.096, allocations: 124.1 kB / 1.21 GB, free: 118.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7305/4.827, allocations: 143.5 MB / 1.351 GB, free: 121.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/4.827, allocations: 3.75 kB / 1.351 GB, free: 121.1 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1359/4.963, allocations: 44.86 MB / 1.394 GB, free: 113.2 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01617/4.979, allocations: 3.016 MB / 1.397 GB, free: 111.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0085/4.988, allocations: 71.88 kB / 1.397 GB, free: 111.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01632/5.004, allocations: 2.07 MB / 1.399 GB, free: 111.2 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001571/5.006, allocations: 275 kB / 1.4 GB, free: 111.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002247/5.008, allocations: 148.9 kB / 1.4 GB, free: 111.1 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02954/5.037, allocations: 11.16 MB / 1.411 GB, free: 101.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.152e-06/5.038, allocations: 0 / 1.411 GB, free: 101.2 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.03241/5.07, allocations: 4.066 MB / 1.415 GB, free: 97.27 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.002558/5.073, allocations: 197.5 kB / 1.415 GB, free: 97.1 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.09779/5.17, allocations: 40.65 MB / 1.455 GB, free: 55.74 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/5.17, allocations: 4 kB / 1.455 GB, free: 55.74 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.06675/5.237, allocations: 23.71 MB / 1.478 GB, free: 32 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03023/5.267, allocations: 3.035 MB / 1.481 GB, free: 29.07 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4463/5.714, allocations: 34.41 MB / 1.514 GB, free: 111.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01581/5.73, allocations: 8.661 MB / 1.523 GB, free: 110.2 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004008/5.734, allocations: 0.6668 MB / 1.523 GB, free: 110.2 MB / 0.4982 GB Notification: Performance of SimCode: time 1.573e-06/5.734, allocations: 0 / 1.523 GB, free: 110.2 MB / 0.4982 GB Notification: Performance of Templates: time 6.072/11.81, allocations: 2.02 GB / 3.543 GB, free: 46.67 MB / 0.5294 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.SimpleModuleShadowCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadowCalcHelperMain.o] Error 1