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.001273/0.001274, allocations: 102.6 kB / 15.71 MB, free: 460 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.002299/0.002299, allocations: 176.3 kB / 16.58 MB, free: 6.863 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.539/1.539, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2354/0.2354, allocations: 5.38 MB / 297.1 MB, free: 3.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004323, allocations: 11.94 kB / 362.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1291, allocations: 51.6 MB / 414.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01173/0.1409, allocations: 8.758 MB / 422.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3028/0.4437, allocations: 3.213 MB / 426.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.4457, allocations: 62.84 kB / 426.2 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.4476, allocations: 0.5463 MB / 426.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.4511, allocations: 0.8094 MB / 427.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.4531, allocations: 0.7033 MB / 428.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005062/0.4582, allocations: 3.853 MB / 432.1 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01475/0.473, allocations: 8.55 MB / 440.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/0.4769, allocations: 1.592 MB / 442.2 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004334/0.4813, allocations: 1.878 MB / 444.1 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009612/0.4823, allocations: 277.1 kB / 444.4 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.4847, allocations: 0.5298 MB / 444.9 MB, free: 33.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007257/0.4854, allocations: 0.7739 MB / 445.7 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.4871, allocations: 0.8784 MB / 446.6 MB, free: 32.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008041/0.4952, allocations: 7.645 MB / 454.2 MB, free: 31.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.85e-06/0.4952, allocations: 4 kB / 454.2 MB, free: 31.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4952, allocations: 0 / 454.2 MB, free: 31.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002599/0.4955, allocations: 0 / 454.2 MB, free: 31.48 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.01375/0.5093, allocations: 4.416 MB / 458.6 MB, free: 29.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5093, allocations: 12.91 kB / 458.6 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.5196, allocations: 1.598 MB / 460.2 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007826/0.5275, allocations: 2.825 MB / 463.1 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004963/0.528, allocations: 322.6 kB / 463.4 MB, free: 27.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002304/0.5304, allocations: 416 kB / 463.8 MB, free: 27.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/0.5538, allocations: 6.664 MB / 470.4 MB, free: 24.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/0.554, allocations: 13.23 kB / 470.4 MB, free: 24.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008838/0.5549, allocations: 174.8 kB / 470.6 MB, free: 24.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002923/0.5552, allocations: 203.3 kB / 470.8 MB, free: 24.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.5729, allocations: 5.625 MB / 476.4 MB, free: 21.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03922/0.6122, allocations: 22.78 MB / 499.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005079/0.6173, allocations: 4.435 MB / 0.4919 GB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.6189, allocations: 0.8825 MB / 0.4927 GB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.619, allocations: 112.4 kB / 0.4928 GB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.6204, allocations: 0.837 MB / 0.4936 GB, free: 11.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 2.675e-06/0.6204, allocations: 4 kB / 0.4936 GB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=112): time 0.005157/0.6256, allocations: 2.404 MB / 0.496 GB, free: 9.219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.6257, allocations: 146.7 kB / 0.4961 GB, free: 9.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003449/0.6292, allocations: 1.807 MB / 0.4979 GB, free: 7.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.6293, allocations: 41.7 kB / 0.4979 GB, free: 7.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002327/0.6316, allocations: 1.96 MB / 0.4998 GB, free: 5.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/0.632, allocations: 412.6 kB / 0.5002 GB, free: 4.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.6322, allocations: 52 kB / 0.5003 GB, free: 4.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.6324, allocations: 403.1 kB / 0.5007 GB, free: 4.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/0.6343, allocations: 1.125 MB / 0.5018 GB, free: 3.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.637, allocations: 2.22 MB / 0.5039 GB, free: 500 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/0.6395, allocations: 1.672 MB / 0.5056 GB, free: 14.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.417e-05/0.6395, allocations: 12 kB / 0.5056 GB, free: 14.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.006371/0.6459, allocations: 3.56 MB / 0.5091 GB, free: 11.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/0.646, allocations: 53.69 kB / 0.5091 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.975e-05/0.6461, allocations: 36 kB / 0.5091 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.6467, allocations: 132.9 kB / 0.5093 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/0.6488, allocations: 0.6122 MB / 0.5099 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.6507, allocations: 1.53 MB / 0.5114 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.6533, allocations: 372.9 kB / 0.5117 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/0.6535, allocations: 143.8 kB / 0.5119 GB, free: 8.207 MB / 382.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 ($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 (316): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.003824/0.6574, allocations: 1.705 MB / 0.5135 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/0.6578, allocations: 161.9 kB / 0.5137 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.6612, allocations: 1.895 MB / 0.5155 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00245/0.6637, allocations: 1.527 MB / 0.517 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6637, allocations: 4 kB / 0.517 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.6637, allocations: 7.969 kB / 0.517 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.6746, allocations: 5.319 MB / 0.5222 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6746, allocations: 4 kB / 0.5222 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000823/0.6755, allocations: 211.8 kB / 0.5224 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006161/0.6761, allocations: 262.4 kB / 0.5227 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.6762, allocations: 31.98 kB / 0.5227 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.6773, allocations: 0.835 MB / 0.5235 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6773, allocations: 4 kB / 0.5235 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005601/0.6829, allocations: 2.918 MB / 0.5264 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/0.6839, allocations: 394.5 kB / 0.5268 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.6841, allocations: 28 kB / 0.5268 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/0.6848, allocations: 91.97 kB / 0.5269 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.685, allocations: 72.86 kB / 0.5269 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/0.6851, allocations: 39.98 kB / 0.527 GB, free: 8.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002105/0.6872, allocations: 1.221 MB / 0.5282 GB, free: 7.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6872, allocations: 0 / 0.5282 GB, free: 7.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004037/0.6913, allocations: 0.9521 MB / 0.5291 GB, free: 6.312 MB / 398.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 (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.0007325/0.692, allocations: 202 kB / 0.5293 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005805/0.6978, allocations: 2.549 MB / 0.5318 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.6979, allocations: 0 / 0.5318 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.6994, allocations: 0.8412 MB / 0.5326 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.7016, allocations: 359.5 kB / 0.5329 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.715, allocations: 7.786 MB / 0.5406 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/0.7178, allocations: 2.95 MB / 0.5434 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007678/0.7186, allocations: 159.4 kB / 0.5436 GB, free: 7.371 MB / 414.1 MB Notification: Performance of SimCode: time 1.843e-06/0.7186, allocations: 3.938 kB / 0.5436 GB, free: 7.367 MB / 414.1 MB Notification: Performance of Templates: time 0.3974/1.116, allocations: 78.79 MB / 0.6205 GB, free: 118.1 MB / 446.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.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.SimpleModuleMP3CalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.o] Error 1