Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.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.SimpleCellTemperatureCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic") translateModel(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 97.78 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.001474/0.001473, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.547/1.547, allocations: 223.2 MB / 240.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1729/0.1729, allocations: 5.372 MB / 297.5 MB, free: 3.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003503, allocations: 8 kB / 363.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1148, allocations: 51.59 MB / 414.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic): time 0.00483/0.1197, allocations: 3.532 MB / 418.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.1228, allocations: 1.472 MB / 419.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000619/0.1235, allocations: 8 kB / 419.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.1242, allocations: 218.8 kB / 420.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005632/0.1248, allocations: 162.8 kB / 420.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.1253, allocations: 199.8 kB / 420.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007544/0.1261, allocations: 0.7239 MB / 421.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.1264, allocations: 190 kB / 421.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.1267, allocations: 238.9 kB / 421.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.1271, allocations: 298.6 kB / 421.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.1272, allocations: 28 kB / 421.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1273, allocations: 43.98 kB / 421.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1274, allocations: 103.4 kB / 422 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.1277, allocations: 292.1 kB / 422.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.1283, allocations: 0.5493 MB / 422.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1284, allocations: 4 kB / 422.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1284, allocations: 0 / 422.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1284, allocations: 0 / 422.9 MB, free: 2.086 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002495/0.1309, allocations: 0.9646 MB / 423.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1309, allocations: 12.03 kB / 423.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.1311, allocations: 60.19 kB / 423.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.1323, allocations: 0.5923 MB / 424.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.1325, allocations: 49.11 kB / 424.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.1326, allocations: 36 kB / 424.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2524/0.385, allocations: 474 kB / 425 MB, free: 45.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.3851, allocations: 0.75 kB / 425 MB, free: 45.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/0.3852, allocations: 15.81 kB / 425.1 MB, free: 45.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3852, allocations: 8.844 kB / 425.1 MB, free: 45.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3865, allocations: 471 kB / 425.5 MB, free: 45.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.3896, allocations: 1.598 MB / 427.1 MB, free: 44.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.3909, allocations: 0.5822 MB / 427.7 MB, free: 44.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.3914, allocations: 232 kB / 427.9 MB, free: 44.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.3915, allocations: 3.969 kB / 427.9 MB, free: 44.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006976/0.3922, allocations: 300.9 kB / 428.2 MB, free: 44.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.475e-06/0.3922, allocations: 0.75 kB / 428.2 MB, free: 44.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003745/0.396, allocations: 1.105 MB / 429.3 MB, free: 44.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.396, allocations: 83.55 kB / 429.4 MB, free: 44.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.3965, allocations: 433.3 kB / 429.8 MB, free: 43.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.3965, allocations: 35.2 kB / 429.9 MB, free: 43.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.3967, allocations: 263.2 kB / 430.1 MB, free: 43.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/0.3968, allocations: 88.28 kB / 430.2 MB, free: 43.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.3969, allocations: 39.66 kB / 430.3 MB, free: 43.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.397, allocations: 365 kB / 430.6 MB, free: 43.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/0.3975, allocations: 203.7 kB / 430.8 MB, free: 43.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.3981, allocations: 257.4 kB / 431.1 MB, free: 43.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.3992, allocations: 468 kB / 431.5 MB, free: 43.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3992, allocations: 0 / 431.5 MB, free: 43.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002706/0.4019, allocations: 0.8566 MB / 432.4 MB, free: 43.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.253e-05/0.402, allocations: 157.3 kB / 432.5 MB, free: 42.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.402, allocations: 2.656 kB / 432.5 MB, free: 42.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008928/0.4029, allocations: 258.9 kB / 432.8 MB, free: 42.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.4033, allocations: 85.03 kB / 432.9 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004318/0.4077, allocations: 3.496 MB / 436.4 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.4083, allocations: 83.95 kB / 436.5 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.4083, allocations: 12.42 kB / 436.5 MB, free: 40.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.4084, allocations: 3.188 kB / 436.5 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002562/0.4109, allocations: 0.802 MB / 437.3 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4109, allocations: 6.531 kB / 437.3 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.4116, allocations: 253.7 kB / 437.5 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.412, allocations: 85.31 kB / 437.6 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.4161, allocations: 3.495 MB / 441.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.4167, allocations: 81.75 kB / 441.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.4167, allocations: 13.09 kB / 441.2 MB, free: 37.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (37): * Single equations (assignments): 34 * 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.0003586/0.4171, allocations: 250 kB / 441.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.4172, allocations: 49.5 kB / 441.5 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.4196, allocations: 0.7329 MB / 442.2 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.4196, allocations: 4.094 kB / 442.2 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4196, allocations: 0 / 442.2 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4196, allocations: 3.328 kB / 442.2 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.4224, allocations: 1.271 MB / 443.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4225, allocations: 0 / 443.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.4228, allocations: 77.25 kB / 443.6 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.4231, allocations: 186.2 kB / 443.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.4231, allocations: 7.156 kB / 443.8 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.426, allocations: 1.94 MB / 445.7 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.426, allocations: 3.25 kB / 445.7 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.4285, allocations: 0.8083 MB / 446.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.4287, allocations: 164.3 kB / 446.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.4288, allocations: 7.062 kB / 446.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.4292, allocations: 52.66 kB / 446.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.4294, allocations: 45.98 kB / 446.8 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.4294, allocations: 6.25 kB / 446.8 MB, free: 33.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003875/0.4298, allocations: 304.9 kB / 447.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4298, allocations: 0 / 447.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008711/0.4307, allocations: 211.7 kB / 447.3 MB, free: 33.75 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 (29): * Single equations (assignments): 26 * 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.0001776/0.4309, allocations: 113.8 kB / 447.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.4333, allocations: 1.344 MB / 448.7 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4333, allocations: 0 / 448.7 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.4339, allocations: 353.6 kB / 449.1 MB, free: 32.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.4345, allocations: 91.44 kB / 449.2 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.4361, allocations: 1.101 MB / 450.3 MB, free: 31.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.4364, allocations: 0.8336 MB / 451.1 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4365, allocations: 35.97 kB / 451.1 MB, free: 31.21 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4365, allocations: 0 / 451.1 MB, free: 31.21 MB / 350.1 MB Notification: Performance of Templates: time 0.01447/0.451, allocations: 9.931 MB / 461.1 MB, free: 30.41 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.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.SimpleCellTemperatureCharacteristicCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristicCalcHelperMain.o] Error 1