Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.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.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008681/0.0008682, allocations: 92.08 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.0009841/0.000984, allocations: 180.7 kB / 16.92 MB, free: 6.652 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.525/1.525, allocations: 223.2 MB / 241 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1709/0.1709, allocations: 5.382 MB / 297.5 MB, free: 3.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005321/0.0005322, allocations: 11.98 kB / 363.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1548, allocations: 51.59 MB / 414.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01179/0.1666, allocations: 9.38 MB / 424.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2716/0.4383, allocations: 3.43 MB / 427.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.4405, allocations: 63.56 kB / 427.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.4428, allocations: 0.7035 MB / 428.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.447, allocations: 0.9036 MB / 429.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.4497, allocations: 0.8661 MB / 430.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005214/0.4549, allocations: 4.059 MB / 434.3 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01566/0.4706, allocations: 10.46 MB / 444.7 MB, free: 32.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002916/0.4735, allocations: 1.605 MB / 446.3 MB, free: 31.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/0.4763, allocations: 1.963 MB / 448.3 MB, free: 30.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005668/0.4769, allocations: 275.9 kB / 448.6 MB, free: 30.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.4786, allocations: 0.5368 MB / 449.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006338/0.4793, allocations: 0.7846 MB / 449.9 MB, free: 30.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.4814, allocations: 2.024 MB / 451.9 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006873/0.4883, allocations: 7.656 MB / 459.6 MB, free: 27.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4883, allocations: 0 / 459.6 MB, free: 27.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4884, allocations: 0 / 459.6 MB, free: 27.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002895/0.4886, allocations: 0 / 459.6 MB, free: 27.32 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: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01606/0.5047, allocations: 4.382 MB / 463.9 MB, free: 25.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.5048, allocations: 14.34 kB / 464 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.5161, allocations: 1.583 MB / 465.5 MB, free: 24.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009289/0.5254, allocations: 2.872 MB / 468.4 MB, free: 23.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006925/0.5262, allocations: 320.9 kB / 468.7 MB, free: 23.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002511/0.5287, allocations: 417.5 kB / 469.1 MB, free: 23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02583/0.5546, allocations: 6.697 MB / 475.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003218/0.5549, allocations: 8.844 kB / 475.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001957/0.5569, allocations: 179 kB / 476 MB, free: 20.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004397/0.5574, allocations: 210.5 kB / 476.2 MB, free: 20.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.5737, allocations: 5.655 MB / 481.9 MB, free: 17.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03819/0.6119, allocations: 22.79 MB / 0.4928 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007079/0.619, allocations: 4.438 MB / 0.4972 GB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.6208, allocations: 0.8864 MB / 0.498 GB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.621, allocations: 109.6 kB / 0.4981 GB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.6225, allocations: 0.8409 MB / 0.499 GB, free: 5.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 4.369e-06/0.6225, allocations: 7.938 kB / 0.499 GB, free: 5.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=112): time 0.005568/0.6281, allocations: 2.419 MB / 0.5013 GB, free: 2.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.011e-05/0.6282, allocations: 148.2 kB / 0.5015 GB, free: 2.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.6322, allocations: 1.814 MB / 0.5032 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.6324, allocations: 45.7 kB / 0.5033 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002103/0.6345, allocations: 1.959 MB / 0.5052 GB, free: 14.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/0.635, allocations: 411.2 kB / 0.5056 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.6355, allocations: 206.8 kB / 0.5058 GB, free: 14.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6356, allocations: 305.1 kB / 0.5061 GB, free: 14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.6378, allocations: 1.129 MB / 0.5072 GB, free: 12.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/0.6408, allocations: 2.236 MB / 0.5094 GB, free: 10.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004963/0.6458, allocations: 3.47 MB / 0.5127 GB, free: 6.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-05/0.6458, allocations: 12 kB / 0.5128 GB, free: 6.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.007573/0.6534, allocations: 3.576 MB / 0.5163 GB, free: 2.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-05/0.6535, allocations: 55.25 kB / 0.5163 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.132e-05/0.6536, allocations: 40 kB / 0.5163 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/0.6542, allocations: 124.9 kB / 0.5165 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.6565, allocations: 0.6044 MB / 0.5171 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.6582, allocations: 1.545 MB / 0.5186 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.6609, allocations: 372.8 kB / 0.5189 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/0.6613, allocations: 136 kB / 0.519 GB, free: 15.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.003548/0.6648, allocations: 1.708 MB / 0.5207 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/0.6653, allocations: 161.9 kB / 0.5209 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003932/0.6693, allocations: 1.887 MB / 0.5227 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002784/0.6721, allocations: 1.536 MB / 0.5242 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.6721, allocations: 3.938 kB / 0.5242 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/0.6722, allocations: 7.969 kB / 0.5242 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.6845, allocations: 5.325 MB / 0.5294 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.6845, allocations: 4.156 kB / 0.5294 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/0.6854, allocations: 207.7 kB / 0.5296 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006133/0.686, allocations: 270.4 kB / 0.5299 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/0.6861, allocations: 31.98 kB / 0.5299 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.6872, allocations: 0.8428 MB / 0.5307 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6872, allocations: 7.938 kB / 0.5307 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005717/0.6929, allocations: 2.929 MB / 0.5336 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009294/0.6939, allocations: 389.2 kB / 0.534 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/0.6943, allocations: 24 kB / 0.534 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/0.6952, allocations: 95.97 kB / 0.5341 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.6954, allocations: 68.84 kB / 0.5342 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.6955, allocations: 43.98 kB / 0.5342 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001884/0.6973, allocations: 1.233 MB / 0.5354 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6974, allocations: 0 / 0.5354 GB, free: 14.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002899/0.7003, allocations: 0.9522 MB / 0.5363 GB, free: 13.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004079/0.7007, allocations: 192.7 kB / 0.5365 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00444/0.7051, allocations: 2.573 MB / 0.539 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7052, allocations: 0 / 0.539 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.7066, allocations: 0.8414 MB / 0.5398 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.7092, allocations: 339.3 kB / 0.5402 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.7241, allocations: 8.189 MB / 0.5482 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/0.7277, allocations: 2.95 MB / 0.5511 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000805/0.7285, allocations: 159.4 kB / 0.5512 GB, free: 14.21 MB / 430.1 MB Notification: Performance of SimCode: time 1.282e-06/0.7285, allocations: 0 / 0.5512 GB, free: 14.21 MB / 430.1 MB Notification: Performance of Templates: time 0.3723/1.101, allocations: 78.65 MB / 0.628 GB, free: 107.7 MB / 446.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.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.SimpleModuleMP3CalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.o] Error 1