Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.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.SimpleCellIrradianceCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic") translateModel(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008078/0.0008077, allocations: 92.31 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.0008986/0.0008987, allocations: 180.1 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.551/1.551, allocations: 223.3 MB / 241 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1764/0.1764, allocations: 5.385 MB / 297.5 MB, free: 3.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003631, allocations: 4 kB / 363.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1188, allocations: 51.6 MB / 414.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic): time 0.00464/0.1235, allocations: 3.497 MB / 418.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.1264, allocations: 1.465 MB / 419.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005412/0.127, allocations: 15.94 kB / 419.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008011/0.1278, allocations: 210.8 kB / 420 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007018/0.1285, allocations: 150.9 kB / 420.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.1291, allocations: 207.7 kB / 420.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009821/0.1301, allocations: 0.7045 MB / 421.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.1304, allocations: 157.9 kB / 421.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.1308, allocations: 238.9 kB / 421.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.1312, allocations: 294.6 kB / 421.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.487e-05/0.1313, allocations: 28 kB / 421.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1314, allocations: 32 kB / 421.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1315, allocations: 111.5 kB / 421.9 MB, free: 3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.1319, allocations: 276.2 kB / 422.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.1324, allocations: 0.5259 MB / 422.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1324, allocations: 0 / 422.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1324, allocations: 4 kB / 422.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1324, allocations: 4 kB / 422.7 MB, free: 2.188 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002366/0.1348, allocations: 0.9522 MB / 423.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1348, allocations: 8.031 kB / 423.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.135, allocations: 60.19 kB / 423.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.1362, allocations: 0.5764 MB / 424.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.1363, allocations: 48.77 kB / 424.4 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.1364, allocations: 32 kB / 424.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2287/0.3651, allocations: 467.7 kB / 424.9 MB, free: 45.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.3652, allocations: 0 / 424.9 MB, free: 45.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.3652, allocations: 12.09 kB / 424.9 MB, free: 45.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.3653, allocations: 9.219 kB / 424.9 MB, free: 45.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.3667, allocations: 455.4 kB / 425.3 MB, free: 45.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.3697, allocations: 1.594 MB / 426.9 MB, free: 44.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.3711, allocations: 0.6247 MB / 427.5 MB, free: 44.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.3717, allocations: 213.9 kB / 427.8 MB, free: 44.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.3717, allocations: 8.141 kB / 427.8 MB, free: 44.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007072/0.3724, allocations: 286.5 kB / 428 MB, free: 44.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.394e-06/0.3725, allocations: 0 / 428 MB, free: 44.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003937/0.3764, allocations: 1.055 MB / 429.1 MB, free: 44.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3765, allocations: 83.84 kB / 429.2 MB, free: 43.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.3771, allocations: 458 kB / 429.6 MB, free: 43.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.3771, allocations: 28.95 kB / 429.7 MB, free: 43.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.3773, allocations: 261.9 kB / 429.9 MB, free: 43.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.3774, allocations: 85.03 kB / 430 MB, free: 43.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.3774, allocations: 33.3 kB / 430 MB, free: 43.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.3775, allocations: 360.3 kB / 430.4 MB, free: 43.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.3781, allocations: 208 kB / 430.6 MB, free: 43.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.3787, allocations: 246.2 kB / 430.8 MB, free: 43.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.3797, allocations: 451.1 kB / 431.3 MB, free: 43.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3797, allocations: 0 / 431.3 MB, free: 43.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002999/0.3827, allocations: 0.8491 MB / 432.1 MB, free: 43.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.854e-05/0.3829, allocations: 147.1 kB / 432.3 MB, free: 42.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3829, allocations: 3.094 kB / 432.3 MB, free: 42.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008638/0.3838, allocations: 250.5 kB / 432.5 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.3842, allocations: 85.86 kB / 432.6 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/0.389, allocations: 3.521 MB / 436.1 MB, free: 40.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.3898, allocations: 81.19 kB / 436.2 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.3898, allocations: 20.52 kB / 436.2 MB, free: 40.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3898, allocations: 5.969 kB / 436.2 MB, free: 40.13 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002737/0.3926, allocations: 0.7861 MB / 437 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3926, allocations: 0 / 437 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007413/0.3933, allocations: 252.5 kB / 437.2 MB, free: 40.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.3937, allocations: 86.11 kB / 437.3 MB, free: 40.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/0.3981, allocations: 3.493 MB / 440.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.3988, allocations: 82.95 kB / 440.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.3988, allocations: 9.641 kB / 440.9 MB, free: 37.11 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: 6 (triangleAndStep.trapezoid.count,$PRE.triangleAndStep.trapezoid.count,triangleAndStep.trapezoid.T_start,$PRE.triangleAndStep.trapezoid.T_start,triangleAndStep.realToInteger.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003116/0.3991, allocations: 246.2 kB / 441.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.3992, allocations: 43.22 kB / 441.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.3993, allocations: 51.33 kB / 441.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3993, allocations: 3.25 kB / 441.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3993, allocations: 4.797 kB / 441.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3993, allocations: 0 / 441.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.4022, allocations: 1.21 MB / 442.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4022, allocations: 0 / 442.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.4025, allocations: 65.84 kB / 442.5 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/0.4029, allocations: 177.8 kB / 442.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.4029, allocations: 11.44 kB / 442.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/0.4058, allocations: 1.953 MB / 444.7 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4059, allocations: 0 / 444.7 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.4083, allocations: 0.7774 MB / 445.4 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.4085, allocations: 151.6 kB / 445.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.4086, allocations: 7.031 kB / 445.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.4091, allocations: 58.42 kB / 445.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.4092, allocations: 33.77 kB / 445.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.4092, allocations: 6.438 kB / 445.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003618/0.4096, allocations: 321 kB / 446 MB, free: 34.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4096, allocations: 0 / 446 MB, free: 34.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008582/0.4105, allocations: 211.9 kB / 446.2 MB, free: 34.04 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: 4 ($whenCondition1,triangleAndStep.realToInteger.y,triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.count) * Number of discrete states: 1 (triangleAndStep.trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001692/0.4107, allocations: 106.6 kB / 446.3 MB, free: 33.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.4131, allocations: 1.317 MB / 447.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4132, allocations: 0 / 447.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.4138, allocations: 323.9 kB / 447.9 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.4145, allocations: 102.2 kB / 448 MB, free: 32.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.4162, allocations: 1.037 MB / 449.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.4166, allocations: 0.8217 MB / 449.9 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.4167, allocations: 36.83 kB / 449.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4167, allocations: 0 / 449.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01241/0.4291, allocations: 9.731 MB / 459.7 MB, free: 30.79 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.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.SimpleCellIrradianceCharacteristicCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristicCalcHelperMain.o] Error 1