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.0007531/0.0007531, allocations: 99.05 kB / 15.71 MB, free: 452 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.0009714/0.0009718, allocations: 171 kB / 16.58 MB, free: 6.422 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.579/1.579, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2044/0.2044, allocations: 5.387 MB / 297.1 MB, free: 3.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 8 kB / 362.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1463, allocations: 51.6 MB / 414.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.006772/0.1531, allocations: 4.486 MB / 418.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004198/0.1573, allocations: 1.746 MB / 420.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009431/0.1583, allocations: 11.94 kB / 420.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1594, allocations: 246.5 kB / 420.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1608, allocations: 234.4 kB / 420.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1619, allocations: 219.7 kB / 421.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.164, allocations: 0.9736 MB / 422 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009183/0.1649, allocations: 319.9 kB / 422.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.166, allocations: 346.6 kB / 422.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.1673, allocations: 450.2 kB / 423.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003851/0.1677, allocations: 48 kB / 423.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005929/0.1683, allocations: 111.9 kB / 423.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.1686, allocations: 147.3 kB / 423.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.1691, allocations: 177.3 kB / 423.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.1704, allocations: 0.8648 MB / 424.5 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.1704, allocations: 4 kB / 424.5 MB, free: 228 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1704, allocations: 0 / 424.5 MB, free: 228 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.279e-05/0.1705, allocations: 0 / 424.5 MB, free: 228 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.3287/0.4992, allocations: 1.161 MB / 425.6 MB, free: 45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4993, allocations: 9.562 kB / 425.6 MB, free: 45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.4995, allocations: 90.84 kB / 425.7 MB, free: 44.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.501, allocations: 0.6248 MB / 426.3 MB, free: 44.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.501, allocations: 57.5 kB / 426.4 MB, free: 44.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.5012, allocations: 74.09 kB / 426.5 MB, free: 44.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.5026, allocations: 0.7807 MB / 427.3 MB, free: 44.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.5026, allocations: 3.516 kB / 427.3 MB, free: 44.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.027e-05/0.5027, allocations: 33.56 kB / 427.3 MB, free: 44.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.5027, allocations: 16.25 kB / 427.3 MB, free: 44.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.504, allocations: 0.6007 MB / 427.9 MB, free: 44.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004088/0.5081, allocations: 2.776 MB / 430.7 MB, free: 43.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.5096, allocations: 0.9081 MB / 431.6 MB, free: 42.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/0.5101, allocations: 246.5 kB / 431.8 MB, free: 42.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.5102, allocations: 93.5 kB / 431.9 MB, free: 42.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000652/0.5109, allocations: 392.3 kB / 432.3 MB, free: 42.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.835e-06/0.5109, allocations: 0 / 432.3 MB, free: 42.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002938/0.5139, allocations: 1.09 MB / 433.4 MB, free: 42.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.514, allocations: 198.4 kB / 433.6 MB, free: 42.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/0.5146, allocations: 459.5 kB / 434 MB, free: 42.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.5147, allocations: 36.95 kB / 434.1 MB, free: 42.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.515, allocations: 370.3 kB / 434.4 MB, free: 41.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.5151, allocations: 179.1 kB / 434.6 MB, free: 41.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.5152, allocations: 15.06 kB / 434.6 MB, free: 41.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5153, allocations: 367.4 kB / 435 MB, free: 41.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.5158, allocations: 222.7 kB / 435.2 MB, free: 41.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.5163, allocations: 374.6 kB / 435.6 MB, free: 40.94 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear) (/*Real*/(PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) Notification: Performance of analyzeInitialSystem (initialization): time 0.009593/0.5259, allocations: 1.864 MB / 437.4 MB, free: 40.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.5259, allocations: 0 / 437.4 MB, free: 40.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001847/0.5278, allocations: 0.83 MB / 438.3 MB, free: 40.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.5279, allocations: 61.5 kB / 438.3 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5279, allocations: 6.344 kB / 438.3 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/0.5283, allocations: 81.12 kB / 438.4 MB, free: 40.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.529, allocations: 171.9 kB / 438.6 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.5303, allocations: 1.464 MB / 440 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006934/0.531, allocations: 78.91 kB / 440.1 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.5311, allocations: 36.98 kB / 440.2 MB, free: 38.54 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.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, 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 ($PRE.irradiance.year,irradiance.year,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$whenCondition2,$whenCondition3,$PRE.mpTracker.vRef,mpTracker.vRef,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005053/0.5316, allocations: 293.2 kB / 440.4 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.981e-05/0.5317, allocations: 63.33 kB / 440.5 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.5334, allocations: 0.9381 MB / 441.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5334, allocations: 5.969 kB / 441.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5335, allocations: 0 / 441.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.5335, allocations: 3.516 kB / 441.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/0.5371, allocations: 1.87 MB / 443.3 MB, free: 36.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.5371, allocations: 3.062 kB / 443.3 MB, free: 36.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.5375, allocations: 102 kB / 443.4 MB, free: 36.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/0.5381, allocations: 267.9 kB / 443.7 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.5381, allocations: 25.14 kB / 443.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008004/0.5389, allocations: 0.829 MB / 444.5 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5389, allocations: 0.875 kB / 444.5 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.5421, allocations: 1.412 MB / 445.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.5424, allocations: 201.5 kB / 446.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.5425, allocations: 16.22 kB / 446.2 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.543, allocations: 51.2 kB / 446.2 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.5431, allocations: 44.59 kB / 446.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.5431, allocations: 23.09 kB / 446.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004002/0.5436, allocations: 320.6 kB / 446.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5436, allocations: 4 kB / 446.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000837/0.5444, allocations: 231.1 kB / 446.8 MB, free: 35.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002636/0.5447, allocations: 147 kB / 447 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.5462, allocations: 0.8221 MB / 447.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5462, allocations: 3.344 kB / 447.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006614/0.5469, allocations: 492.8 kB / 448.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.5476, allocations: 116.1 kB / 448.4 MB, free: 34.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.5502, allocations: 1.765 MB / 450.2 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.5506, allocations: 0.9353 MB / 451.1 MB, free: 32.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.5508, allocations: 70.45 kB / 451.2 MB, free: 32.52 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5508, allocations: 0 / 451.2 MB, free: 32.52 MB / 350.1 MB Notification: Performance of Templates: time 0.0185/0.5693, allocations: 12.21 MB / 463.4 MB, free: 31.42 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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