Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007938/0.0007936, allocations: 96.14 kB / 16.03 MB, free: 68 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.0008604/0.0008606, allocations: 185.5 kB / 16.92 MB, free: 6.691 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.448/1.448, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2317/0.2317, allocations: 5.375 MB / 297.5 MB, free: 3.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003582, allocations: 8 kB / 363.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 51.6 MB / 414.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.01037/0.151, allocations: 5.847 MB / 420.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.1581, allocations: 2.508 MB / 423.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.1595, allocations: 16 kB / 423.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.1614, allocations: 406.1 kB / 423.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.165, allocations: 0.6921 MB / 424.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1663, allocations: 317.9 kB / 424.6 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2788/0.4452, allocations: 1.067 MB / 425.7 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.4481, allocations: 1.385 MB / 427.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007539/0.4489, allocations: 371.7 kB / 427.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006086/0.4495, allocations: 496.2 kB / 427.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.674e-05/0.4496, allocations: 52.25 kB / 428 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/0.4502, allocations: 205.9 kB / 428.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.4503, allocations: 177 kB / 428.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003984/0.4507, allocations: 484.7 kB / 428.8 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.4517, allocations: 1.123 MB / 429.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4518, allocations: 0 / 429.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4518, allocations: 0 / 429.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.4518, allocations: 2.062 kB / 429.9 MB, free: 37.06 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003326/0.4551, allocations: 1.36 MB / 431.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4552, allocations: 6.594 kB / 431.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.4572, allocations: 354 kB / 431.7 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.4587, allocations: 0.6958 MB / 432.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/0.4587, allocations: 69.75 kB / 432.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.4589, allocations: 94.44 kB / 432.5 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.4606, allocations: 1.002 MB / 433.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.4607, allocations: 3.188 kB / 433.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.4608, allocations: 36.03 kB / 433.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.4608, allocations: 25.31 kB / 433.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.4624, allocations: 0.8585 MB / 434.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.4678, allocations: 3.897 MB / 438.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.4697, allocations: 1.487 MB / 439.8 MB, free: 33.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.4702, allocations: 261 kB / 440.1 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.791e-05/0.4703, allocations: 97.94 kB / 440.2 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000636/0.471, allocations: 325.8 kB / 440.5 MB, free: 32.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.394e-06/0.471, allocations: 0 / 440.5 MB, free: 32.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00267/0.4737, allocations: 1.003 MB / 441.5 MB, free: 32.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.4737, allocations: 144.9 kB / 441.6 MB, free: 32.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.4744, allocations: 0.4994 MB / 442.1 MB, free: 32.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.4744, allocations: 36.89 kB / 442.2 MB, free: 32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.4748, allocations: 457.4 kB / 442.6 MB, free: 31.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.4749, allocations: 163.5 kB / 442.8 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/0.475, allocations: 66.03 kB / 442.8 MB, free: 31.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4751, allocations: 361.1 kB / 443.2 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.4756, allocations: 245.1 kB / 443.4 MB, free: 31.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.4762, allocations: 443.2 kB / 443.9 MB, free: 30.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.4773, allocations: 0.7195 MB / 444.6 MB, free: 30.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.4773, allocations: 3.281 kB / 444.6 MB, free: 30.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001667/0.479, allocations: 0.8694 MB / 445.5 MB, free: 29.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.479, allocations: 34.98 kB / 445.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.479, allocations: 7.062 kB / 445.5 MB, free: 29.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004737/0.4795, allocations: 84.78 kB / 445.6 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.4802, allocations: 176.7 kB / 445.8 MB, free: 29.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.4814, allocations: 1.463 MB / 447.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/0.4821, allocations: 94.97 kB / 447.3 MB, free: 28.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.4821, allocations: 30.38 kB / 447.3 MB, free: 28.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0004457/0.4826, allocations: 273.8 kB / 447.6 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/0.4827, allocations: 60 kB / 447.7 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.484, allocations: 0.7197 MB / 448.4 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.484, allocations: 6.781 kB / 448.4 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.484, allocations: 0 / 448.4 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.4841, allocations: 7.359 kB / 448.4 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/0.4878, allocations: 1.773 MB / 450.2 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4878, allocations: 0 / 450.2 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.4881, allocations: 75.62 kB / 450.2 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000575/0.4887, allocations: 258.1 kB / 450.5 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.4887, allocations: 18.11 kB / 450.5 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00093/0.4897, allocations: 0.8437 MB / 451.4 MB, free: 26.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4897, allocations: 0 / 451.4 MB, free: 26.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.4927, allocations: 1.222 MB / 452.6 MB, free: 25.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.493, allocations: 179.8 kB / 452.8 MB, free: 25.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.4931, allocations: 17.89 kB / 452.8 MB, free: 25.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.4935, allocations: 38.91 kB / 452.8 MB, free: 25.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.4936, allocations: 31.03 kB / 452.8 MB, free: 25.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.4937, allocations: 16.53 kB / 452.9 MB, free: 25.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004151/0.4941, allocations: 350.9 kB / 453.2 MB, free: 25.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4941, allocations: 0 / 453.2 MB, free: 25.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009611/0.4951, allocations: 233.7 kB / 453.4 MB, free: 25.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_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 (41): * Single equations (assignments): 40 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003212/0.4954, allocations: 154.2 kB / 453.6 MB, free: 25.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.4969, allocations: 0.7671 MB / 454.3 MB, free: 24.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4969, allocations: 320 / 454.3 MB, free: 24.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.4974, allocations: 345.3 kB / 454.7 MB, free: 24.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/0.4981, allocations: 105.7 kB / 454.8 MB, free: 24.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.501, allocations: 1.835 MB / 456.6 MB, free: 23.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.5014, allocations: 0.9328 MB / 457.6 MB, free: 22.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.5016, allocations: 59.14 kB / 457.6 MB, free: 22.75 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5016, allocations: 0 / 457.6 MB, free: 22.75 MB / 350.1 MB Notification: Performance of Templates: time 0.02123/0.5229, allocations: 12.63 MB / 470.2 MB, free: 21.55 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.SimpleModuleMPCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPCalcHelperMain.o] Error 1