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.001089/0.001089, allocations: 96.14 kB / 15.87 MB, free: 16 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.001155/0.001155, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1622/0.1622, allocations: 5.39 MB / 296 MB, free: 3.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 360.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 50.61 MB / 411.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.009446/0.133, allocations: 6.314 MB / 417.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005447/0.1385, allocations: 2.554 MB / 420.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.1398, allocations: 16 kB / 420.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003339/0.1432, allocations: 1.039 MB / 421.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.1458, allocations: 0.7074 MB / 422 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1469, allocations: 311.5 kB / 422.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.225/0.3719, allocations: 1.082 MB / 423.4 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.3742, allocations: 0.8172 MB / 424.2 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.3753, allocations: 419.7 kB / 424.7 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.3763, allocations: 0.5444 MB / 425.2 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003745/0.3767, allocations: 77.03 kB / 425.3 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009025/0.3777, allocations: 227 kB / 425.5 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.378, allocations: 216.4 kB / 425.7 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007553/0.3787, allocations: 0.4911 MB / 426.2 MB, free: 38.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.3799, allocations: 1.144 MB / 427.3 MB, free: 38.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.38, allocations: 0 / 427.3 MB, free: 38.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.38, allocations: 0 / 427.3 MB, free: 38.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.773e-05/0.38, allocations: 0 / 427.3 MB, free: 38.69 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.004417/0.3845, allocations: 1.546 MB / 428.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3845, allocations: 8.938 kB / 428.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.3866, allocations: 356.5 kB / 429.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.3879, allocations: 0.6773 MB / 429.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.388, allocations: 70.59 kB / 430 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.3881, allocations: 98.03 kB / 430.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.3898, allocations: 0.9992 MB / 431.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.3899, allocations: 6.891 kB / 431.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/0.39, allocations: 39.88 kB / 431.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.39, allocations: 23.03 kB / 431.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.3916, allocations: 0.8339 MB / 432 MB, free: 37.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005386/0.397, allocations: 3.883 MB / 435.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.399, allocations: 1.48 MB / 437.3 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/0.3995, allocations: 255.5 kB / 437.6 MB, free: 33.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.837e-05/0.3996, allocations: 90.73 kB / 437.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006831/0.4003, allocations: 319.2 kB / 438 MB, free: 33.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 4.048e-06/0.4003, allocations: 4 kB / 438 MB, free: 33.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002978/0.4033, allocations: 0.946 MB / 438.9 MB, free: 32.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.4034, allocations: 146.3 kB / 439.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.4042, allocations: 0.4979 MB / 439.6 MB, free: 32.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.4043, allocations: 36.95 kB / 439.6 MB, free: 32.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.4047, allocations: 463.4 kB / 440.1 MB, free: 32.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.4048, allocations: 160.9 kB / 440.2 MB, free: 31.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.4051, allocations: 142.5 kB / 440.4 MB, free: 31.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4052, allocations: 364.9 kB / 440.7 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.4057, allocations: 236.9 kB / 441 MB, free: 31.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.4063, allocations: 431.8 kB / 441.4 MB, free: 31.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009955/0.4073, allocations: 0.6985 MB / 442.1 MB, free: 30.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.4073, allocations: 3.312 kB / 442.1 MB, free: 30.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001776/0.4091, allocations: 0.8415 MB / 442.9 MB, free: 30.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.4091, allocations: 39.36 kB / 443 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.4091, allocations: 10.34 kB / 443 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005065/0.4097, allocations: 83 kB / 443.1 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.4103, allocations: 171 kB / 443.2 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.4116, allocations: 1.476 MB / 444.7 MB, free: 28.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007041/0.4123, allocations: 88.03 kB / 444.8 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.4124, allocations: 32.86 kB / 444.8 MB, free: 28.78 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.0003962/0.4128, allocations: 275 kB / 445.1 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4129, allocations: 54.5 kB / 445.1 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.4143, allocations: 0.6935 MB / 445.8 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.4143, allocations: 7.031 kB / 445.8 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4143, allocations: 3 kB / 445.8 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4143, allocations: 3.469 kB / 445.8 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/0.4182, allocations: 1.728 MB / 447.6 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4182, allocations: 0 / 447.6 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.4185, allocations: 74.31 kB / 447.6 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/0.4191, allocations: 259.7 kB / 447.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.4191, allocations: 10.36 kB / 447.9 MB, free: 27.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008729/0.42, allocations: 0.8317 MB / 448.7 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.42, allocations: 3.156 kB / 448.7 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.4231, allocations: 1.17 MB / 449.9 MB, free: 26.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.4234, allocations: 189.6 kB / 450.1 MB, free: 25.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.4235, allocations: 14.12 kB / 450.1 MB, free: 25.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.424, allocations: 39.34 kB / 450.2 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.4241, allocations: 26.48 kB / 450.2 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.4241, allocations: 16.75 kB / 450.2 MB, free: 25.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.4245, allocations: 345.9 kB / 450.5 MB, free: 25.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4245, allocations: 0 / 450.5 MB, free: 25.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007768/0.4253, allocations: 231.6 kB / 450.8 MB, free: 25.69 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.000262/0.4255, allocations: 158.8 kB / 450.9 MB, free: 25.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.427, allocations: 0.7498 MB / 451.7 MB, free: 25.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.427, allocations: 256 / 451.7 MB, free: 25.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005586/0.4275, allocations: 336.4 kB / 452 MB, free: 25.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006529/0.4282, allocations: 92.69 kB / 452.1 MB, free: 25.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.4321, allocations: 1.781 MB / 453.9 MB, free: 23.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/0.4329, allocations: 0.9428 MB / 454.8 MB, free: 23.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.4332, allocations: 48.28 kB / 454.9 MB, free: 23.14 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4332, allocations: 0 / 454.9 MB, free: 23.14 MB / 350.1 MB Notification: Performance of Templates: time 0.02182/0.455, allocations: 12.74 MB / 467.6 MB, free: 21.84 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