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.001115/0.001115, allocations: 103 kB / 15.71 MB, free: 460 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.001803/0.001803, allocations: 173.1 kB / 16.58 MB, free: 6.402 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.52/1.52, allocations: 223.3 MB / 240.6 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2441/0.2441, allocations: 5.385 MB / 297.1 MB, free: 3.988 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 8 kB / 362.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 51.6 MB / 414.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic): time 0.004563/0.1345, allocations: 3.367 MB / 417.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.1373, allocations: 1.395 MB / 418.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.1379, allocations: 8 kB / 418.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.1386, allocations: 218.7 kB / 419.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007112/0.1394, allocations: 146.9 kB / 419.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.1399, allocations: 151.7 kB / 419.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.141, allocations: 0.6732 MB / 420.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.1414, allocations: 150.1 kB / 420.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.1419, allocations: 239 kB / 420.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/0.1425, allocations: 282.8 kB / 420.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.1426, allocations: 28 kB / 420.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.1428, allocations: 43.98 kB / 420.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1429, allocations: 103.4 kB / 420.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.1431, allocations: 125.4 kB / 421 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.1438, allocations: 0.5415 MB / 421.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1438, allocations: 4 kB / 421.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1438, allocations: 0 / 421.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.1438, allocations: 0 / 421.6 MB, free: 3.102 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.002411/0.1462, allocations: 0.9685 MB / 422.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1463, allocations: 8.031 kB / 422.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.1464, allocations: 63.25 kB / 422.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.1476, allocations: 0.5716 MB / 423.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.894e-05/0.1477, allocations: 40.98 kB / 423.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.1478, allocations: 39.98 kB / 423.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.1488, allocations: 478 kB / 423.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1488, allocations: 0 / 423.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.1488, allocations: 19.98 kB / 423.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1489, allocations: 8 kB / 423.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1499, allocations: 467.7 kB / 424.2 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3/0.4499, allocations: 1.598 MB / 425.8 MB, free: 44.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.4514, allocations: 0.579 MB / 426.4 MB, free: 44.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.4519, allocations: 229.8 kB / 426.6 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.452, allocations: 5.094 kB / 426.6 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006938/0.4527, allocations: 303.5 kB / 426.9 MB, free: 44.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.4527, allocations: 0 / 426.9 MB, free: 44.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003523/0.4562, allocations: 1.099 MB / 428 MB, free: 44.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.4563, allocations: 90.97 kB / 428.1 MB, free: 44.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.4568, allocations: 432.1 kB / 428.5 MB, free: 43.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.4569, allocations: 32.33 kB / 428.6 MB, free: 43.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.4571, allocations: 254.8 kB / 428.8 MB, free: 43.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.4571, allocations: 97.22 kB / 428.9 MB, free: 43.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.4572, allocations: 10.16 kB / 428.9 MB, free: 43.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.4573, allocations: 351.7 kB / 429.3 MB, free: 43.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.4577, allocations: 202 kB / 429.5 MB, free: 43.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.4583, allocations: 264.1 kB / 429.7 MB, free: 43.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.4588, allocations: 234.2 kB / 429.9 MB, free: 43.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.4588, allocations: 7 kB / 430 MB, free: 43.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002489/0.4613, allocations: 0.8518 MB / 430.8 MB, free: 43.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.4614, allocations: 147.5 kB / 431 MB, free: 43.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4614, allocations: 3.469 kB / 431 MB, free: 43.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007999/0.4622, allocations: 250.2 kB / 431.2 MB, free: 43.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.4626, allocations: 93.97 kB / 431.3 MB, free: 43.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/0.4672, allocations: 3.5 MB / 434.8 MB, free: 40.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/0.4679, allocations: 82.81 kB / 434.9 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.468, allocations: 17.42 kB / 434.9 MB, free: 40.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.468, allocations: 3.125 kB / 434.9 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002334/0.4703, allocations: 0.7934 MB / 435.7 MB, free: 40.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4704, allocations: 0.6875 kB / 435.7 MB, free: 40.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006728/0.471, allocations: 249.7 kB / 435.9 MB, free: 40.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.4714, allocations: 85.23 kB / 436 MB, free: 40.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.4754, allocations: 3.495 MB / 439.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.476, allocations: 74.97 kB / 439.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.476, allocations: 15.5 kB / 439.6 MB, free: 37.41 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 ($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 (37): * Single equations (assignments): 34 * 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.0003577/0.4764, allocations: 239.3 kB / 439.8 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.4765, allocations: 50.58 kB / 439.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.4787, allocations: 0.7388 MB / 440.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4787, allocations: 3.188 kB / 440.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.4787, allocations: 0 / 440.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4787, allocations: 0 / 440.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.4813, allocations: 1.267 MB / 441.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.4813, allocations: 6.656 kB / 441.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.4816, allocations: 68.41 kB / 442 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003052/0.4819, allocations: 179.1 kB / 442.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.482, allocations: 14.14 kB / 442.2 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.4846, allocations: 1.941 MB / 444.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4846, allocations: 1.203 kB / 444.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.4867, allocations: 0.8124 MB / 444.9 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.4869, allocations: 158.8 kB / 445.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.487, allocations: 7.281 kB / 445.1 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.4874, allocations: 57.39 kB / 445.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4875, allocations: 37.72 kB / 445.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.4875, allocations: 13.59 kB / 445.2 MB, free: 34.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003485/0.4879, allocations: 299.5 kB / 445.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4879, allocations: 0 / 445.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008726/0.4888, allocations: 217.3 kB / 445.7 MB, free: 34.21 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 (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.0001593/0.4889, allocations: 117.2 kB / 445.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00219/0.4911, allocations: 1.333 MB / 447.1 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4912, allocations: 0 / 447.1 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.4917, allocations: 348.8 kB / 447.5 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.4923, allocations: 94.3 kB / 447.6 MB, free: 33.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.4938, allocations: 1.041 MB / 448.6 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.494, allocations: 0.8336 MB / 449.4 MB, free: 31.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.4942, allocations: 40.95 kB / 449.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4942, allocations: 4 kB / 449.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of Templates: time 0.01312/0.5073, allocations: 9.959 MB / 459.4 MB, free: 30.91 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.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.SimpleCellTemperatureCharacteristicCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristicCalcHelperMain.o] Error 1