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.001526/0.001525, allocations: 96.14 kB / 15.87 MB, free: 16 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.001129/0.001129, allocations: 193.8 kB / 16.79 MB, free: 6.812 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.425/1.425, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1621/0.1621, allocations: 5.387 MB / 296 MB, free: 2.945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 55.91 kB / 360.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1173, allocations: 50.61 MB / 411.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.006771/0.1241, allocations: 5.171 MB / 416.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.1276, allocations: 1.866 MB / 418.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004879/0.1281, allocations: 12 kB / 418.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007358/0.1289, allocations: 254.5 kB / 418.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006724/0.1296, allocations: 242.4 kB / 418.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.1302, allocations: 283.7 kB / 419.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009192/0.1312, allocations: 1.036 MB / 420.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005848/0.1317, allocations: 394.4 kB / 420.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.1322, allocations: 398.4 kB / 421 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005584/0.1328, allocations: 0.4901 MB / 421.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.1329, allocations: 64 kB / 421.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.1332, allocations: 124 kB / 421.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.1333, allocations: 183.2 kB / 421.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.1337, allocations: 445.7 kB / 422.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007566/0.1345, allocations: 0.9002 MB / 423.2 MB, free: 136 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1345, allocations: 0 / 423.2 MB, free: 136 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1345, allocations: 0 / 423.2 MB, free: 136 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1345, allocations: 0 / 423.2 MB, free: 136 kB / 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.2347/0.3693, allocations: 1.303 MB / 424.5 MB, free: 48.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.3693, allocations: 9.062 kB / 424.5 MB, free: 48.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.3696, allocations: 90.59 kB / 424.6 MB, free: 47.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.371, allocations: 0.6443 MB / 425.3 MB, free: 47.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.371, allocations: 56.09 kB / 425.3 MB, free: 47.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.3711, allocations: 71.94 kB / 425.4 MB, free: 47.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.3724, allocations: 0.78 MB / 426.2 MB, free: 47.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3724, allocations: 8.609 kB / 426.2 MB, free: 47.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.915e-05/0.3725, allocations: 34.22 kB / 426.2 MB, free: 47.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.3725, allocations: 16.38 kB / 426.2 MB, free: 47.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3738, allocations: 0.5994 MB / 426.8 MB, free: 47.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.3773, allocations: 2.757 MB / 429.6 MB, free: 45.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.3787, allocations: 0.9026 MB / 430.5 MB, free: 45.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.3792, allocations: 244.6 kB / 430.7 MB, free: 45.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.3793, allocations: 94.64 kB / 430.8 MB, free: 44.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007011/0.38, allocations: 383.6 kB / 431.2 MB, free: 44.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.936e-06/0.38, allocations: 0 / 431.2 MB, free: 44.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002789/0.3828, allocations: 1.064 MB / 432.2 MB, free: 44.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.3829, allocations: 201.4 kB / 432.4 MB, free: 44.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/0.3834, allocations: 467.2 kB / 432.9 MB, free: 43.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.3834, allocations: 37.05 kB / 432.9 MB, free: 43.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3836, allocations: 368.2 kB / 433.3 MB, free: 43.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3838, allocations: 179 kB / 433.5 MB, free: 43.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.384, allocations: 144.3 kB / 433.6 MB, free: 43.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.3841, allocations: 369 kB / 434 MB, free: 42.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.3845, allocations: 221.7 kB / 434.2 MB, free: 42.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.3851, allocations: 363.8 kB / 434.5 MB, free: 42.66 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.0116/0.3967, allocations: 2.379 MB / 436.9 MB, free: 41.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.3968, allocations: 7.125 kB / 436.9 MB, free: 41.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001863/0.3986, allocations: 0.8107 MB / 437.7 MB, free: 41.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.3987, allocations: 65.42 kB / 437.8 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3987, allocations: 6.875 kB / 437.8 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004643/0.3992, allocations: 88.16 kB / 437.9 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007527/0.3999, allocations: 166.6 kB / 438.1 MB, free: 41.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.4012, allocations: 1.463 MB / 439.5 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/0.4019, allocations: 71.98 kB / 439.6 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.402, allocations: 33.06 kB / 439.6 MB, free: 39.92 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 system: $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.0004478/0.4024, allocations: 299.7 kB / 439.9 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.4025, allocations: 62.97 kB / 440 MB, free: 39.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.4043, allocations: 0.933 MB / 440.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.4043, allocations: 6.125 kB / 440.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4044, allocations: 2.719 kB / 440.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.4044, allocations: 3.422 kB / 440.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/0.4084, allocations: 1.841 MB / 442.8 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.4084, allocations: 6.375 kB / 442.8 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.4089, allocations: 103.6 kB / 442.9 MB, free: 38.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005248/0.4094, allocations: 251.8 kB / 443.1 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.4095, allocations: 20.77 kB / 443.1 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008602/0.4103, allocations: 0.8293 MB / 444 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4103, allocations: 2.734 kB / 444 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/0.4137, allocations: 1.383 MB / 445.4 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.414, allocations: 189.7 kB / 445.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.4141, allocations: 25.2 kB / 445.6 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.4146, allocations: 44.75 kB / 445.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4147, allocations: 44.44 kB / 445.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.4148, allocations: 26.31 kB / 445.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000345/0.4152, allocations: 329.2 kB / 446 MB, free: 36.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4152, allocations: 0 / 446 MB, free: 36.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007432/0.4159, allocations: 229.6 kB / 446.2 MB, free: 36.6 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.0002128/0.4161, allocations: 150.2 kB / 446.4 MB, free: 36.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.4176, allocations: 0.8136 MB / 447.2 MB, free: 36.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4176, allocations: 3.312 kB / 447.2 MB, free: 36.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006691/0.4183, allocations: 492.9 kB / 447.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.419, allocations: 109.3 kB / 447.8 MB, free: 35.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.4215, allocations: 1.768 MB / 449.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4218, allocations: 0.9273 MB / 450.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.422, allocations: 75.45 kB / 450.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.422, allocations: 0 / 450.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of Templates: time 0.01662/0.4387, allocations: 12.31 MB / 462.8 MB, free: 32.71 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