Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009719/0.0009716, allocations: 92.16 kB / 16.02 MB, free: 80 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.001307/0.001308, allocations: 173.4 kB / 16.92 MB, free: 6.629 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.775/1.775, allocations: 223.2 MB / 241 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.1607/0.1607, allocations: 5.378 MB / 297.5 MB, free: 3.992 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003638, allocations: 12 kB / 363.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 51.59 MB / 414.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005733/0.1347, allocations: 4.011 MB / 418.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.138, allocations: 1.554 MB / 420.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007341/0.1388, allocations: 8 kB / 420.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.1402, allocations: 331.3 kB / 420.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.1413, allocations: 210.6 kB / 421 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.1419, allocations: 195.8 kB / 421.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2782/0.4201, allocations: 23.54 MB / 444.7 MB, free: 32.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009299/0.4295, allocations: 7.222 MB / 451.9 MB, free: 29.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01249/0.442, allocations: 6.261 MB / 458.2 MB, free: 27.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02172/0.4638, allocations: 8.12 MB / 466.3 MB, free: 23.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007119/0.4709, allocations: 0.8141 MB / 467.1 MB, free: 23.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01199/0.483, allocations: 0.8301 MB / 467.9 MB, free: 23.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009563/0.4926, allocations: 2.836 MB / 470.8 MB, free: 22.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03363/0.5263, allocations: 7.205 MB / 478 MB, free: 17.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02996/0.5563, allocations: 22.76 MB / 0.489 GB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5563, allocations: 4 kB / 0.489 GB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5564, allocations: 0 / 0.489 GB, free: 1.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0009882/0.5574, allocations: 0 / 0.489 GB, free: 1.43 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: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.09928/0.6567, allocations: 28 MB / 0.5164 GB, free: 5.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6567, allocations: 8.031 kB / 0.5164 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.6672, allocations: 1.452 MB / 0.5178 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06203/0.7293, allocations: 19.11 MB / 0.5364 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008853/0.7302, allocations: 0.6217 MB / 0.537 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005806/0.7361, allocations: 0.8248 MB / 0.5378 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05661/0.7927, allocations: 15.88 MB / 0.5534 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003733/0.7931, allocations: 19.81 kB / 0.5534 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005243/0.7984, allocations: 355.9 kB / 0.5537 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002286/0.7986, allocations: 212 kB / 0.5539 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05146/0.8501, allocations: 18 MB / 0.5715 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6704/1.521, allocations: 57.91 MB / 0.6281 GB, free: 73.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04524/1.566, allocations: 21.97 MB / 0.6495 GB, free: 62.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01443/1.58, allocations: 7.65 MB / 0.657 GB, free: 60.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/1.581, allocations: 80.5 kB / 0.6571 GB, free: 60.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/1.581, allocations: 73.95 kB / 0.6571 GB, free: 60.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 6.041e-06/1.581, allocations: 0 / 0.6571 GB, free: 60.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1135/1.694, allocations: 37.91 MB / 0.6941 GB, free: 31.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/1.694, allocations: 98.92 kB / 0.6942 GB, free: 31.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03823/1.733, allocations: 15.19 MB / 0.7091 GB, free: 16.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002699/1.735, allocations: 110.5 kB / 0.7092 GB, free: 16.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.01184/1.747, allocations: 6.092 MB / 0.7151 GB, free: 10.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004889/1.752, allocations: 1.573 MB / 0.7167 GB, free: 9.012 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006188/1.758, allocations: 0.7907 MB / 0.7174 GB, free: 8.211 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/1.759, allocations: 305.1 kB / 0.7177 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01844/1.777, allocations: 7.847 MB / 0.7254 GB, free: 52 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02195/1.799, allocations: 9.04 MB / 0.7342 GB, free: 6.672 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03661/1.836, allocations: 14.81 MB / 0.7487 GB, free: 7.461 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.328e-05/1.836, allocations: 8 kB / 0.7487 GB, free: 7.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.4851/2.321, allocations: 41.35 MB / 0.7891 GB, free: 129.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/2.321, allocations: 16.34 kB / 0.7891 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/2.321, allocations: 22.66 kB / 0.7891 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05646/2.377, allocations: 26.41 MB / 0.8149 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007672/2.385, allocations: 1.499 MB / 0.8164 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7532/3.138, allocations: 195.1 MB / 1.007 GB, free: 102.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02291/3.161, allocations: 2.667 MB / 1.009 GB, free: 102.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003698/3.165, allocations: 375.7 kB / 1.01 GB, free: 102.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.01468/3.18, allocations: 4.519 MB / 1.014 GB, free: 101 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004981/3.185, allocations: 1.157 MB / 1.015 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1046/3.289, allocations: 33.21 MB / 1.048 GB, free: 83.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/3.29, allocations: 44 kB / 1.048 GB, free: 83.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/3.29, allocations: 0 / 1.048 GB, free: 83.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001337/3.29, allocations: 19.92 kB / 1.048 GB, free: 83.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1426/3.432, allocations: 48.24 MB / 1.095 GB, free: 35.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.905e-05/3.432, allocations: 4 kB / 1.095 GB, free: 35.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/3.435, allocations: 455.4 kB / 1.095 GB, free: 34.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02656/3.461, allocations: 15.87 MB / 1.111 GB, free: 19.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002066/3.463, allocations: 111.9 kB / 1.111 GB, free: 18.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6614/4.125, allocations: 112.8 MB / 1.221 GB, free: 108.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/4.125, allocations: 3.75 kB / 1.221 GB, free: 108.4 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1041/4.229, allocations: 32.27 MB / 1.253 GB, free: 76.42 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01217/4.241, allocations: 2.704 MB / 1.255 GB, free: 73.75 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00676/4.248, allocations: 75.75 kB / 1.255 GB, free: 73.68 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01421/4.262, allocations: 1.498 MB / 1.257 GB, free: 72.18 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/4.263, allocations: 280.1 kB / 1.257 GB, free: 71.9 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001781/4.265, allocations: 144.4 kB / 1.257 GB, free: 71.76 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02779/4.293, allocations: 10.49 MB / 1.268 GB, free: 61.35 MB / 0.4982 GB Notification: Performance of sort global known variables: time 7.82e-07/4.293, allocations: 0 / 1.268 GB, free: 61.35 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.0306/4.324, allocations: 3.715 MB / 1.271 GB, free: 57.74 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0026/4.326, allocations: 190.2 kB / 1.271 GB, free: 57.57 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.08896/4.415, allocations: 34.06 MB / 1.305 GB, free: 22.76 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/4.415, allocations: 0 / 1.305 GB, free: 22.76 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.3477/4.763, allocations: 18.27 MB / 1.322 GB, free: 128.4 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02781/4.791, allocations: 2.985 MB / 1.325 GB, free: 128.2 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06831/4.859, allocations: 34.31 MB / 1.359 GB, free: 117.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01631/4.876, allocations: 8.66 MB / 1.367 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003535/4.879, allocations: 0.6647 MB / 1.368 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of SimCode: time 1.162e-06/4.879, allocations: 3.406 kB / 1.368 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of Templates: time 6.325/11.2, allocations: 2.013 GB / 3.381 GB, free: 81.07 MB / 0.5607 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModuleCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleCalcHelperMain.o] Error 1