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.0009658/0.0009655, allocations: 99.36 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.0009124/0.0009125, allocations: 179.2 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.56/1.56, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2416/0.2416, allocations: 5.386 MB / 297.1 MB, free: 3.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 11.94 kB / 362.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 51.59 MB / 414.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic): time 0.004608/0.1345, allocations: 3.332 MB / 417.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1372, allocations: 1.395 MB / 418.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005504/0.1378, allocations: 4 kB / 418.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.1386, allocations: 210.8 kB / 419.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007002/0.1393, allocations: 146.9 kB / 419.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.1399, allocations: 143.8 kB / 419.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.1409, allocations: 0.6577 MB / 420 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.1413, allocations: 140.4 kB / 420.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004975/0.1418, allocations: 238.9 kB / 420.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.1424, allocations: 274.8 kB / 420.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.1425, allocations: 28 kB / 420.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.1427, allocations: 40 kB / 420.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1429, allocations: 103.5 kB / 420.8 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.1431, allocations: 117.4 kB / 420.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006129/0.1437, allocations: 0.5221 MB / 421.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1437, allocations: 0 / 421.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1437, allocations: 0 / 421.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.483e-05/0.1437, allocations: 0 / 421.5 MB, free: 3.223 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.002515/0.1463, allocations: 0.9637 MB / 422.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.1463, allocations: 8.031 kB / 422.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.1465, allocations: 59.25 kB / 422.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.1477, allocations: 0.5675 MB / 423.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.133e-05/0.1478, allocations: 36.64 kB / 423.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.1478, allocations: 36 kB / 423.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000924/0.1488, allocations: 471.4 kB / 423.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1488, allocations: 0 / 423.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.1488, allocations: 12 kB / 423.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1489, allocations: 8 kB / 423.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.1499, allocations: 458.3 kB / 424.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3015/0.4515, allocations: 1.586 MB / 425.6 MB, free: 45.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.4531, allocations: 0.6184 MB / 426.3 MB, free: 44.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.4536, allocations: 215.2 kB / 426.5 MB, free: 44.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.4537, allocations: 4.156 kB / 426.5 MB, free: 44.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006034/0.4543, allocations: 282.1 kB / 426.7 MB, free: 44.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.4543, allocations: 0 / 426.7 MB, free: 44.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003423/0.4577, allocations: 1.057 MB / 427.8 MB, free: 44.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.4578, allocations: 80.11 kB / 427.9 MB, free: 44.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.4584, allocations: 455.5 kB / 428.3 MB, free: 44.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.4584, allocations: 36.25 kB / 428.4 MB, free: 44.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.4586, allocations: 264 kB / 428.6 MB, free: 44.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.4587, allocations: 84 kB / 428.7 MB, free: 44.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.4588, allocations: 5.438 kB / 428.7 MB, free: 44.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4589, allocations: 353.7 kB / 429.1 MB, free: 44.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.4594, allocations: 199.8 kB / 429.2 MB, free: 44.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.4599, allocations: 258.5 kB / 429.5 MB, free: 43.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.4604, allocations: 227.5 kB / 429.7 MB, free: 43.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4605, allocations: 3.5 kB / 429.7 MB, free: 43.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002523/0.463, allocations: 0.8445 MB / 430.6 MB, free: 43.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/0.4631, allocations: 146.2 kB / 430.7 MB, free: 43.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4631, allocations: 4.062 kB / 430.7 MB, free: 43.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006862/0.4638, allocations: 254.1 kB / 431 MB, free: 43.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.4641, allocations: 83.64 kB / 431 MB, free: 43.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/0.4686, allocations: 3.513 MB / 434.6 MB, free: 40.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.4693, allocations: 78.78 kB / 434.6 MB, free: 40.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.4693, allocations: 14.64 kB / 434.6 MB, free: 40.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.4694, allocations: 7.062 kB / 434.7 MB, free: 40.89 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002421/0.4718, allocations: 0.7845 MB / 435.4 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4718, allocations: 3.516 kB / 435.4 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.4724, allocations: 247.2 kB / 435.7 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.4728, allocations: 85.7 kB / 435.8 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004049/0.4768, allocations: 3.491 MB / 439.3 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.4774, allocations: 81.53 kB / 439.3 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.4775, allocations: 16.8 kB / 439.4 MB, free: 37.87 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 ($whenCondition1,triangleAndStep.realToInteger.y,$PRE.triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.T_start,$PRE.triangleAndStep.trapezoid.count,triangleAndStep.trapezoid.count) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.4778, allocations: 241 kB / 439.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.4778, allocations: 48.56 kB / 439.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.94e-05/0.4779, allocations: 47.7 kB / 439.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4779, allocations: 0 / 439.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.478, allocations: 7.031 kB / 439.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.478, allocations: 0 / 439.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.4805, allocations: 1.212 MB / 440.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4805, allocations: 0 / 440.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.4807, allocations: 63.52 kB / 441 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.4811, allocations: 179.3 kB / 441.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.4811, allocations: 7.516 kB / 441.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003407/0.4845, allocations: 1.944 MB / 443.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4846, allocations: 0 / 443.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.4874, allocations: 0.7714 MB / 443.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.4877, allocations: 159.4 kB / 444 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.4878, allocations: 7.469 kB / 444 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.4883, allocations: 56.09 kB / 444.1 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4885, allocations: 36.92 kB / 444.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.4885, allocations: 9.859 kB / 444.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000485/0.489, allocations: 311 kB / 444.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.489, allocations: 0 / 444.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001142/0.4902, allocations: 213.8 kB / 444.6 MB, free: 34.79 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 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.4903, allocations: 110.8 kB / 444.7 MB, free: 34.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002836/0.4932, allocations: 1.311 MB / 446.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4932, allocations: 2.625 kB / 446.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.494, allocations: 320.1 kB / 446.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.4948, allocations: 97.45 kB / 446.5 MB, free: 33.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.4968, allocations: 0.9925 MB / 447.5 MB, free: 33.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.4971, allocations: 0.8285 MB / 448.3 MB, free: 32.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.4973, allocations: 42.33 kB / 448.3 MB, free: 32.37 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4973, allocations: 0 / 448.3 MB, free: 32.37 MB / 350.1 MB Notification: Performance of Templates: time 0.01779/0.5151, allocations: 9.746 MB / 458.1 MB, free: 31.58 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.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.SimpleCellIrradianceCharacteristicCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristicCalcHelperMain.o] Error 1