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.0008747/0.0008747, allocations: 99.75 kB / 15.71 MB, free: 452 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.001007/0.001007, allocations: 175 kB / 16.58 MB, free: 6.422 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.595/1.595, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1725/0.1725, allocations: 5.381 MB / 297.1 MB, free: 3.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004493, allocations: 8 kB / 362.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 51.6 MB / 414.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.007456/0.1634, allocations: 5.509 MB / 419.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005599/0.169, allocations: 2.357 MB / 422 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.1705, allocations: 16 kB / 422 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.1721, allocations: 350.2 kB / 422.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.1748, allocations: 0.6143 MB / 423 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.1758, allocations: 251.5 kB / 423.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.1778, allocations: 1.02 MB / 424.2 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3057/0.4836, allocations: 1.216 MB / 425.5 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007808/0.4844, allocations: 361.1 kB / 425.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.4851, allocations: 470.3 kB / 426.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.4852, allocations: 54.81 kB / 426.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006894/0.4859, allocations: 193.9 kB / 426.5 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.4861, allocations: 169.1 kB / 426.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.4863, allocations: 197 kB / 426.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.4873, allocations: 1.119 MB / 428 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4873, allocations: 0 / 428 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4873, allocations: 1.094 kB / 428 MB, free: 37.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.4874, allocations: 0 / 428 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.003186/0.4906, allocations: 1.373 MB / 429.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4906, allocations: 10.09 kB / 429.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.4926, allocations: 354.5 kB / 429.7 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.4941, allocations: 0.6665 MB / 430.4 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.4942, allocations: 71.78 kB / 430.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.4943, allocations: 94.61 kB / 430.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.4962, allocations: 0.9944 MB / 431.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.4963, allocations: 0 / 431.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.635e-05/0.4964, allocations: 40.81 kB / 431.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.4964, allocations: 25.16 kB / 431.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.498, allocations: 0.8499 MB / 432.5 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00579/0.5038, allocations: 3.9 MB / 436.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.5057, allocations: 1.495 MB / 437.9 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.5062, allocations: 259.4 kB / 438.1 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.5063, allocations: 93 kB / 438.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006021/0.5069, allocations: 324.2 kB / 438.5 MB, free: 32.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.785e-06/0.5069, allocations: 0 / 438.5 MB, free: 32.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.0026/0.5095, allocations: 1.002 MB / 439.5 MB, free: 32.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.5096, allocations: 137.2 kB / 439.6 MB, free: 32.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/0.5102, allocations: 0.4947 MB / 440.1 MB, free: 32.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.5103, allocations: 35.42 kB / 440.2 MB, free: 32.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.5106, allocations: 463.3 kB / 440.6 MB, free: 32.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.5107, allocations: 162.7 kB / 440.8 MB, free: 32.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.5108, allocations: 14.94 kB / 440.8 MB, free: 32.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.5109, allocations: 367.4 kB / 441.2 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.5113, allocations: 237.2 kB / 441.4 MB, free: 31.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/0.5119, allocations: 436.5 kB / 441.8 MB, free: 31.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.5125, allocations: 326.9 kB / 442.1 MB, free: 31.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.5125, allocations: 0 / 442.1 MB, free: 31.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001597/0.5141, allocations: 0.8681 MB / 443 MB, free: 31.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.5142, allocations: 34.89 kB / 443 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.5142, allocations: 6.219 kB / 443 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.5147, allocations: 86.98 kB / 443.1 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.5153, allocations: 174.4 kB / 443.3 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.5167, allocations: 1.466 MB / 444.8 MB, free: 29.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006232/0.5174, allocations: 99.88 kB / 444.9 MB, free: 29.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.5174, allocations: 35.61 kB / 444.9 MB, free: 29.88 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 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0004213/0.5179, allocations: 270.3 kB / 445.2 MB, free: 29.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.518, allocations: 60.67 kB / 445.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.5192, allocations: 0.7137 MB / 445.9 MB, free: 29.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.5193, allocations: 7.047 kB / 445.9 MB, free: 29.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5193, allocations: 0 / 445.9 MB, free: 29.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.5193, allocations: 2.844 kB / 445.9 MB, free: 29.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/0.5229, allocations: 1.758 MB / 447.7 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5229, allocations: 6.547 kB / 447.7 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.5232, allocations: 79.98 kB / 447.8 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005454/0.5238, allocations: 266.2 kB / 448.1 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.5238, allocations: 12.31 kB / 448.1 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008487/0.5247, allocations: 0.8478 MB / 448.9 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.5247, allocations: 0 / 448.9 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.5276, allocations: 1.209 MB / 450.1 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.5279, allocations: 188.9 kB / 450.3 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.528, allocations: 14.22 kB / 450.3 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.5284, allocations: 38.73 kB / 450.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.5285, allocations: 30.86 kB / 450.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.5286, allocations: 23.58 kB / 450.4 MB, free: 27.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004228/0.529, allocations: 339.5 kB / 450.7 MB, free: 27.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.529, allocations: 0 / 450.7 MB, free: 27.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009315/0.5299, allocations: 239.1 kB / 451 MB, free: 27.53 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 (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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002869/0.5302, allocations: 138.7 kB / 451.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.5317, allocations: 0.7664 MB / 451.9 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5317, allocations: 2.406 kB / 451.9 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005501/0.5323, allocations: 349.8 kB / 452.2 MB, free: 26.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.5329, allocations: 96.81 kB / 452.3 MB, free: 26.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.5356, allocations: 1.737 MB / 454.1 MB, free: 25.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.5362, allocations: 0.9401 MB / 455 MB, free: 25.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.5364, allocations: 52.62 kB / 455 MB, free: 25.07 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5364, allocations: 4 kB / 455 MB, free: 25.07 MB / 350.1 MB Notification: Performance of Templates: time 0.02149/0.5579, allocations: 12.66 MB / 467.7 MB, free: 23.86 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.SimpleModuleMPCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPCalcHelperMain.o] Error 1