Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001045, allocations: 92.16 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.001108/0.001108, allocations: 182 kB / 16.92 MB, free: 6.922 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.474/1.474, allocations: 223.2 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1758/0.1758, allocations: 5.376 MB / 297.5 MB, free: 3.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003785, allocations: 8 kB / 363.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1227, allocations: 51.6 MB / 414.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.00393/0.1267, allocations: 3.053 MB / 417.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1289, allocations: 1.215 MB / 419.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1292, allocations: 8 kB / 419.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.1298, allocations: 210.9 kB / 419.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.1302, allocations: 123.1 kB / 419.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.1304, allocations: 107.9 kB / 419.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.131, allocations: 0.5253 MB / 420.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.1312, allocations: 104 kB / 420.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.1315, allocations: 191.1 kB / 420.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.1318, allocations: 215 kB / 420.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/0.1319, allocations: 24 kB / 420.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.132, allocations: 31.98 kB / 420.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1321, allocations: 79.58 kB / 420.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.1323, allocations: 216.6 kB / 420.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.1328, allocations: 390.9 kB / 421.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1328, allocations: 0 / 421.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1328, allocations: 4 kB / 421.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1328, allocations: 0 / 421.3 MB, free: 3.66 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001907/0.1347, allocations: 0.758 MB / 422.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1348, allocations: 12.03 kB / 422.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.1349, allocations: 40.47 kB / 422.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.1359, allocations: 0.4922 MB / 422.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.136, allocations: 16.69 kB / 422.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.136, allocations: 24 kB / 422.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.1367, allocations: 309.1 kB / 423 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1367, allocations: 0 / 423 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.1368, allocations: 12 kB / 423 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1368, allocations: 8 kB / 423 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.1374, allocations: 269.5 kB / 423.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.1396, allocations: 1.29 MB / 424.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2521/0.3918, allocations: 287.5 kB / 424.8 MB, free: 45.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.3923, allocations: 121.7 kB / 424.9 MB, free: 45.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.3924, allocations: 1.594 kB / 424.9 MB, free: 45.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3924, allocations: 35.44 kB / 425 MB, free: 45.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/0.3924, allocations: 6.125 kB / 425 MB, free: 45.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003743/0.3962, allocations: 0.837 MB / 425.8 MB, free: 45.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.3962, allocations: 55.81 kB / 425.9 MB, free: 45.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.3967, allocations: 394.1 kB / 426.2 MB, free: 45.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3967, allocations: 28.27 kB / 426.3 MB, free: 45.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3969, allocations: 224.7 kB / 426.5 MB, free: 44.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.3969, allocations: 35.81 kB / 426.5 MB, free: 44.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.397, allocations: 29.03 kB / 426.6 MB, free: 44.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.3971, allocations: 340.3 kB / 426.9 MB, free: 44.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.3973, allocations: 112.3 kB / 427 MB, free: 44.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.3976, allocations: 145.9 kB / 427.1 MB, free: 44.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.3981, allocations: 241.4 kB / 427.4 MB, free: 44.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3981, allocations: 0 / 427.4 MB, free: 44.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002107/0.4002, allocations: 0.6147 MB / 428 MB, free: 44.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4003, allocations: 11.62 kB / 428 MB, free: 44.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4003, allocations: 0 / 428 MB, free: 44.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008409/0.4011, allocations: 252.3 kB / 428.2 MB, free: 44.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.4013, allocations: 45.89 kB / 428.3 MB, free: 44.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004576/0.4059, allocations: 3.563 MB / 431.9 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.4064, allocations: 49.14 kB / 431.9 MB, free: 41.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.4064, allocations: 5.844 kB / 431.9 MB, free: 41.7 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.4066, allocations: 158.5 kB / 432.1 MB, free: 41.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.4067, allocations: 32.94 kB / 432.1 MB, free: 41.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.4068, allocations: 32.25 kB / 432.1 MB, free: 41.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.4068, allocations: 4.25 kB / 432.1 MB, free: 41.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4068, allocations: 0 / 432.1 MB, free: 41.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4068, allocations: 0.6562 kB / 432.1 MB, free: 41.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.4089, allocations: 0.9162 MB / 433 MB, free: 41.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.409, allocations: 0 / 433 MB, free: 41.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.4091, allocations: 19.17 kB / 433.1 MB, free: 41.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/0.4094, allocations: 176.9 kB / 433.2 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.4094, allocations: 11 kB / 433.2 MB, free: 41.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.4124, allocations: 1.944 MB / 435.2 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4124, allocations: 7.188 kB / 435.2 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.4142, allocations: 0.5637 MB / 435.8 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4144, allocations: 121 kB / 435.9 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.4144, allocations: 6.375 kB / 435.9 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.4147, allocations: 27.09 kB / 435.9 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.4147, allocations: 17.22 kB / 435.9 MB, free: 39.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4147, allocations: 3.188 kB / 435.9 MB, free: 39.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.415, allocations: 269.6 kB / 436.2 MB, free: 39.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.415, allocations: 0 / 436.2 MB, free: 39.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000479/0.4155, allocations: 95.94 kB / 436.3 MB, free: 39.5 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 (9): * Single equations (assignments): 8 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.4156, allocations: 97.78 kB / 436.4 MB, free: 39.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009484/0.4166, allocations: 0.5006 MB / 436.9 MB, free: 39.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4166, allocations: 0.6875 kB / 436.9 MB, free: 39.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.4169, allocations: 209.7 kB / 437.1 MB, free: 39.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.4175, allocations: 72.56 kB / 437.2 MB, free: 39.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.4185, allocations: 0.7729 MB / 437.9 MB, free: 38.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.4188, allocations: 0.7784 MB / 438.7 MB, free: 37.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.4188, allocations: 27.16 kB / 438.7 MB, free: 37.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4188, allocations: 0 / 438.7 MB, free: 37.89 MB / 350.1 MB Notification: Performance of Templates: time 0.008754/0.4276, allocations: 6.842 MB / 445.6 MB, free: 37.43 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCellCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellCalcHelperMain.o] Error 1