Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.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.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") translateModel(PhotoVoltaics.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 98.88 kB / 16.02 MB, free: 76 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.001186/0.001186, allocations: 188.4 kB / 16.93 MB, free: 6.766 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.647/1.647, allocations: 223.3 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.1725/0.1725, allocations: 5.384 MB / 297.5 MB, free: 3.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 8 kB / 363.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 51.6 MB / 414.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.00489/0.1229, allocations: 4.739 MB / 419.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.1257, allocations: 1.835 MB / 421.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.126, allocations: 12 kB / 421.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.1266, allocations: 250.5 kB / 421.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005638/0.1271, allocations: 254.4 kB / 421.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.1277, allocations: 275.7 kB / 422.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008809/0.1286, allocations: 1.036 MB / 423.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005755/0.1291, allocations: 390.4 kB / 423.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.1296, allocations: 362.4 kB / 424 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.1301, allocations: 469.9 kB / 424.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.1302, allocations: 44 kB / 424.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.1304, allocations: 104 kB / 424.6 MB, free: 388 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.1306, allocations: 155.3 kB / 424.7 MB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.255/0.3856, allocations: 441.5 kB / 425.2 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.3869, allocations: 0.8736 MB / 426 MB, free: 38.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3869, allocations: 0.875 kB / 426 MB, free: 38.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3869, allocations: 0 / 426 MB, free: 38.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.3869, allocations: 0 / 426 MB, free: 38.6 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002739/0.3897, allocations: 1.149 MB / 427.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3897, allocations: 20.34 kB / 427.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.3899, allocations: 94.09 kB / 427.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.3911, allocations: 0.6432 MB / 427.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.3912, allocations: 60.06 kB / 428 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.3913, allocations: 75.62 kB / 428.1 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.3926, allocations: 0.7794 MB / 428.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.3926, allocations: 3.906 kB / 428.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.3927, allocations: 32.25 kB / 428.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.3927, allocations: 18.81 kB / 428.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.394, allocations: 0.6096 MB / 429.5 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004086/0.3981, allocations: 2.769 MB / 432.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.3996, allocations: 0.9132 MB / 433.2 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.4001, allocations: 252.9 kB / 433.4 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.4002, allocations: 87.31 kB / 433.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007252/0.4009, allocations: 392.5 kB / 433.9 MB, free: 35.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 3.286e-06/0.401, allocations: 0 / 433.9 MB, free: 35.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002889/0.4038, allocations: 1.093 MB / 435 MB, free: 35.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.4039, allocations: 204.3 kB / 435.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.4044, allocations: 457.1 kB / 435.6 MB, free: 35.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.4045, allocations: 40.86 kB / 435.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.4048, allocations: 364.7 kB / 436 MB, free: 34.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.4049, allocations: 184.9 kB / 436.2 MB, free: 34.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.235e-05/0.405, allocations: 69.41 kB / 436.3 MB, free: 34.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4051, allocations: 362.8 kB / 436.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/0.4056, allocations: 219.6 kB / 436.9 MB, free: 34.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.4062, allocations: 370.2 kB / 437.2 MB, free: 34.18 MB / 350.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/0.4178, allocations: 2.438 MB / 439.7 MB, free: 33.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.4179, allocations: 4 kB / 439.7 MB, free: 33.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001837/0.4197, allocations: 0.8283 MB / 440.5 MB, free: 33.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.4198, allocations: 67.73 kB / 440.6 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4198, allocations: 3.219 kB / 440.6 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/0.4202, allocations: 73.92 kB / 440.6 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.421, allocations: 179.3 kB / 440.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.4222, allocations: 1.467 MB / 442.3 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007011/0.4229, allocations: 78.92 kB / 442.3 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.423, allocations: 35.75 kB / 442.4 MB, free: 32.05 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 22 (irradiance.year,$PRE.irradiance.year,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,mpTracker.vRef,$PRE.mpTracker.vRef,$whenCondition3,$whenCondition2,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0004849/0.4235, allocations: 293.8 kB / 442.7 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.4236, allocations: 59.97 kB / 442.7 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.4255, allocations: 0.9362 MB / 443.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4255, allocations: 6.344 kB / 443.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4255, allocations: 3.5 kB / 443.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.4255, allocations: 8.344 kB / 443.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/0.4295, allocations: 1.877 MB / 445.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4295, allocations: 2.938 kB / 445.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.4299, allocations: 101.3 kB / 445.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005396/0.4305, allocations: 267.8 kB / 445.9 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.4305, allocations: 20.95 kB / 445.9 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009389/0.4315, allocations: 0.8339 MB / 446.8 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.918e-05/0.4315, allocations: 3.062 kB / 446.8 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/0.4349, allocations: 1.408 MB / 448.2 MB, free: 29.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.4353, allocations: 200.2 kB / 448.4 MB, free: 29.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.4354, allocations: 28.38 kB / 448.4 MB, free: 29.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.436, allocations: 48.39 kB / 448.5 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.4361, allocations: 40.67 kB / 448.5 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.4362, allocations: 27.33 kB / 448.5 MB, free: 29.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004913/0.4367, allocations: 331.7 kB / 448.9 MB, free: 29.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.4367, allocations: 0 / 448.9 MB, free: 29.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009769/0.4377, allocations: 227.6 kB / 449.1 MB, free: 29.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.integrator.y,battery.energy,battery.capacitor.v) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays) * Number of discrete states: 13 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003228/0.438, allocations: 142.1 kB / 449.2 MB, free: 28.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.4397, allocations: 0.8232 MB / 450 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4398, allocations: 0 / 450 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007313/0.4405, allocations: 498.5 kB / 450.5 MB, free: 28.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008344/0.4413, allocations: 118 kB / 450.6 MB, free: 28.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.4441, allocations: 1.843 MB / 452.5 MB, free: 27.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.4445, allocations: 0.9342 MB / 453.4 MB, free: 26.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.4447, allocations: 72.86 kB / 453.5 MB, free: 26.32 MB / 350.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4447, allocations: 0 / 453.5 MB, free: 26.32 MB / 350.1 MB Notification: Performance of Templates: time 0.02021/0.4649, allocations: 12.21 MB / 465.7 MB, free: 25.26 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.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.SimpleModuleMPDCCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDCCalcHelperMain.o] Error 1