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.005381/0.005381, allocations: 99.89 kB / 15.87 MB, free: 5.863 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.001396/0.001396, allocations: 189.1 kB / 16.79 MB, free: 5.805 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1688/0.1688, allocations: 5.385 MB / 296 MB, free: 2.977 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 360.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.113, allocations: 50.6 MB / 411.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.006385/0.1194, allocations: 4.419 MB / 415.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.1224, allocations: 1.566 MB / 417.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006679/0.1231, allocations: 11.94 kB / 417.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.1246, allocations: 327.3 kB / 417.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008837/0.1255, allocations: 202.7 kB / 417.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.1261, allocations: 195.7 kB / 418.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2594/0.3855, allocations: 23.57 MB / 441.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009466/0.3951, allocations: 7.268 MB / 448.9 MB, free: 30.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/0.407, allocations: 6.587 MB / 455.5 MB, free: 28.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01623/0.4232, allocations: 8.524 MB / 464.1 MB, free: 24.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005804/0.4291, allocations: 0.9534 MB / 465 MB, free: 24.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009658/0.4387, allocations: 0.9656 MB / 466 MB, free: 24.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007687/0.4465, allocations: 3.053 MB / 469 MB, free: 22.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02815/0.4746, allocations: 7.467 MB / 476.5 MB, free: 18.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02814/0.5028, allocations: 23.45 MB / 499.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5029, allocations: 0 / 499.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5029, allocations: 4 kB / 500 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0009055/0.5038, allocations: 0 / 500 MB, free: 1.469 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.12/0.6238, allocations: 30.8 MB / 0.5183 GB, free: 2.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.6238, allocations: 8.031 kB / 0.5183 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.6342, allocations: 1.448 MB / 0.5197 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06168/0.6959, allocations: 18.8 MB / 0.5381 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000988/0.697, allocations: 0.6295 MB / 0.5387 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005577/0.7026, allocations: 0.8203 MB / 0.5395 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04651/0.7491, allocations: 15.68 MB / 0.5548 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004277/0.7496, allocations: 27.75 kB / 0.5548 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00418/0.7538, allocations: 348 kB / 0.5552 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002204/0.754, allocations: 212 kB / 0.5554 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04732/0.8013, allocations: 17.6 MB / 0.5726 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5786/1.38, allocations: 57.52 MB / 0.6287 GB, free: 70.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03829/1.418, allocations: 21.37 MB / 0.6496 GB, free: 60.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0136/1.432, allocations: 7.456 MB / 0.6569 GB, free: 57.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/1.432, allocations: 65.7 kB / 0.6569 GB, free: 57.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.687e-05/1.432, allocations: 81.7 kB / 0.657 GB, free: 57.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 6.993e-06/1.432, allocations: 0 / 0.657 GB, free: 57.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1124/1.545, allocations: 36.3 MB / 0.6925 GB, free: 30.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/1.545, allocations: 94.92 kB / 0.6926 GB, free: 30.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03447/1.579, allocations: 15.19 MB / 0.7074 GB, free: 15.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002198/1.582, allocations: 110.5 kB / 0.7075 GB, free: 14.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007285/1.589, allocations: 6.087 MB / 0.7135 GB, free: 9.328 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003118/1.592, allocations: 1.573 MB / 0.715 GB, free: 7.805 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01092/1.603, allocations: 2.105 MB / 0.717 GB, free: 5.684 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/1.603, allocations: 305.1 kB / 0.7173 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01536/1.619, allocations: 7.644 MB / 0.7248 GB, free: 13.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01787/1.636, allocations: 8.835 MB / 0.7334 GB, free: 4.562 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03203/1.668, allocations: 14.39 MB / 0.7475 GB, free: 5.859 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.914e-05/1.669, allocations: 12.03 kB / 0.7475 GB, free: 5.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.4215/2.09, allocations: 39.95 MB / 0.7865 GB, free: 129.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/2.09, allocations: 14.97 kB / 0.7865 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.445e-05/2.09, allocations: 24.53 kB / 0.7865 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0563/2.146, allocations: 26 MB / 0.8119 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007471/2.154, allocations: 1.489 MB / 0.8134 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.668/2.822, allocations: 190.5 MB / 0.9995 GB, free: 102.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02173/2.844, allocations: 2.561 MB / 1.002 GB, free: 102.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003717/2.848, allocations: 372.9 kB / 1.002 GB, free: 102.3 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.01421/2.862, allocations: 4.518 MB / 1.007 GB, free: 100.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006151/2.868, allocations: 1.161 MB / 1.008 GB, free: 100 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1026/2.971, allocations: 31.81 MB / 1.039 GB, free: 87.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.315e-05/2.971, allocations: 46.19 kB / 1.039 GB, free: 87.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/2.971, allocations: 0.625 kB / 1.039 GB, free: 87.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001227/2.971, allocations: 19.92 kB / 1.039 GB, free: 87.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1504/3.121, allocations: 46.64 MB / 1.085 GB, free: 41.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.074e-05/3.121, allocations: 0 / 1.085 GB, free: 41.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/3.123, allocations: 463.1 kB / 1.085 GB, free: 41.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02508/3.148, allocations: 15.47 MB / 1.1 GB, free: 26.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002081/3.151, allocations: 119.9 kB / 1.1 GB, free: 25.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6374/3.788, allocations: 108.3 MB / 1.206 GB, free: 114.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/3.788, allocations: 0 / 1.206 GB, free: 114.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1011/3.889, allocations: 30.87 MB / 1.236 GB, free: 90.86 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01051/3.9, allocations: 2.653 MB / 1.239 GB, free: 88.24 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008025/3.908, allocations: 75.75 kB / 1.239 GB, free: 88.17 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01567/3.923, allocations: 1.4 MB / 1.24 GB, free: 86.77 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/3.925, allocations: 277.1 kB / 1.24 GB, free: 86.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001824/3.927, allocations: 139.9 kB / 1.241 GB, free: 86.36 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02486/3.951, allocations: 10.49 MB / 1.251 GB, free: 75.94 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.81e-07/3.952, allocations: 0 / 1.251 GB, free: 75.94 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02438/3.976, allocations: 3.709 MB / 1.254 GB, free: 72.34 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.001914/3.978, allocations: 193.6 kB / 1.255 GB, free: 72.16 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0832/4.061, allocations: 32.81 MB / 1.287 GB, free: 38.68 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/4.061, allocations: 8.062 kB / 1.287 GB, free: 38.67 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05706/4.118, allocations: 17.16 MB / 1.303 GB, free: 21.52 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02335/4.142, allocations: 2.979 MB / 1.306 GB, free: 18.67 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3511/4.493, allocations: 34.03 MB / 1.34 GB, free: 117.4 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01986/4.513, allocations: 8.658 MB / 1.348 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004431/4.517, allocations: 0.6648 MB / 1.349 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of SimCode: time 1.603e-06/4.517, allocations: 0 / 1.349 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of Templates: time 5.404/9.922, allocations: 2.014 GB / 3.363 GB, free: 61.31 MB / 0.5294 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModuleCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleCalcHelperMain.o] Error 1